Core Java
-
Facade Design Pattern In Java
Here I am with another article on design patterns – Facade Design Pattern. A Facade object is use to provide a simple…
Read More » -
How to create PDF File in Java – iText Example
Hello guys, generating PDF files in today’s enterprise applications is quite common. Doing this with Java is not an easy…
Read More » -
Java Based Akka application Part 2: Adding tests
On the previous blog we focused on spinning up our first Akka project. Now it’s time to add a test…
Read More » -
State Pattern
Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.…
Read More » -
Memento Pattern
Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state…
Read More » -
Inline array definition in Java
There are occasion when it is more convenient to create an array inline. Here are several way to declare and…
Read More » -
Java Based Akka application Part 1: Your base Project
Akka is a free, open-source toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM.…
Read More » -
Start a Java app without installing it
This article describes how you can use JShell to download and execute a Java application. It will eliminate the need…
Read More » -
Java 15: Sealed Classes
Java 15 introduces Sealed Classes, a preview language feature, that allows classes/interfaces to restrict which other classes/interfaces may extend or…
Read More »