Jakarta Servlets Quick Start Tutorial
Jakarta servlet quick start tutorial for beginners to get started building web applications using servlets technologies
Jakarta servlet quick start tutorial for beginners to get started building web applications using servlets technologies
In this tutorial, I’m going to create a simple WebSocket server with Java EE that I can use Javascript Websocket API to connect and send/receive messages. I’m going to use Eclipse as the IDE. You can try with another IDE/text editor. However, I would recommend you use Eclipse since I didn’t have much luck with … Read more
Recently, I upgraded Elasticsearch from 7.15.2 to 8.0.1. The setup was quick and simple. However, when making a request to save an entity to the database and in turn make an update to elastic, I got this error. The error message is long, however, the main message is this: “unable to parse response body for … Read more
Since I spent countless hours finding the correct setup for Cucumber, TestContainers and Junit5 (Jupiter) for my Spring Boot project, I hope this tutorial can somehow save you time and help you avoid needless pain. Before you begin, I hope you already know what Cucumber, TestContainers, and Junit5 (and of course Spring Boot) are. If … 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
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 … Read more