JavaFX Starter Project – Quickly create and run

JavaFX is a great tool to quickly deploy desktop applications. However, the setup is always a pain for me, especially after JDK8, you need to download JavaFX SDK separately. I create this JavaFX starter project to help myself and people who want to start working with JavaFX without going through the pain of setting up.… Continue reading JavaFX Starter Project – Quickly create and run

Using SecondaryTable For Flexible Database Design (With example)

Let’s consider an example. You have been working on a website selling phones since 2000. In early 2000, there wasn’t any smartphone so you may created an object Phone like this: I’m using lombok (in case you find @Data strange). So, back in 2000s, phones were simple like that. However, with the appearance of smartphone.… Continue reading Using SecondaryTable For Flexible Database Design (With example)

Setting and Getting Custom Properties In Quarkus

Often time, when creating web application, you need to set some values in application settings and later, pull such values to display to users. One of the most prevalent examples is the application’s name and/or application’s version. I’ll show you how to set such values in the app and later, display them in an example… Continue reading Setting and Getting Custom Properties In Quarkus

How To Return File Download In JAX-RS Application

When developing JAX-RS applications, most of the time, you return JSON to the client. However, there are times you need to return file download. For example, your client may require that when an user access a certain URL, the application must prompt a save file dialog. If you have trouble with this requirement, look no… Continue reading How To Return File Download In JAX-RS Application

Create Quarkus Project Under 5 Minutes With Live Reloading

Creating Quarkus project is quite simple. You can get started in just a few minutes. In this post, I’m going to show you how you can do that. My assumption is you have maven installed. If you don’t, please follow the guide to install it here. After you have maven installed, it very easy to… Continue reading Create Quarkus Project Under 5 Minutes With Live Reloading