Building Simple HTML Server Using JavaFX & Undertow
A simple javafx project that let you build a simple web server to server static content
A simple javafx project that let you build a simple web server to server static content
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. … Read more
Keycloak is quite a nice tool to handle user authentication and authorization. Both Keycloak and HAProxy are free so you can easily setup an authenication & authorization server very quickly and free (hosting is not free though :)). With the help of Docker, it will take a few minutes (less than 10) for you to … Read more
Using events to pass messages in EJB can be a useful tool to simplify your business logic. Let’s learn how to fire and listen to events in EJB with an example. Create and listen to simple EJB events Let’s imagine that we have just opened a store and when someone visits our shop, we will … Read more
So recently I set up a Quarkus project to build some APIs on my new computer, which had JDK 8 installed. When I ran the command: I got the following error: Just a note, you may see this error happen to other jdk version such as 17, 10, … 19 The fix is similar. In … Read more
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. … Read more