This post demonstrates how to identify and list the differences between two objects using a set of classes and interfaces from Apache Commons Lang. Classes, Intefaces, and pom.xml The classes and interfaces to be used for this post are as
Kotlin – Using Java 8 Date and Time API
This post shows sample Kotlin codes that use the Java 8 Date and Time API (java.time). Requirements These are Software applications used for this post. IntelliJ IDEA Ultimate 2016.3 The Community Edition may be enough but we have not tried
EJB2.0 with OpenEJB: Session Bean and the Remote Client
This is the second part of the blog I wrote about EJB2.0 with OpenEJB. On the first part, we created a stateless session bean and deployed it in OpenEJB. On this part, we write, and test a simple Java class that remotely uses the deployed session bean.
MD5 Digest in Solaris 5.10
MD5 Digest in Solaris 5.10
Group List items into Several Lists using Stream in Java 8
Group List items into Several Lists using Stream in Java 8 is easy. We have a list of Persons and we want to group them into Female, Male, Unknown list using Stream and Collectors in Java 8. PersonBean Below is
Understanding How Java Works With Files
The Java java.io.File (File class for short) connects Java and the Operating System to read from and write to files. It can represent either a file or a directory. How files and directories are organized in the file system depends
How to connect Java to PostgreSQL using JDBC
This is a simple post that shows how to connect Java to PostgreSQL using JDBC. Although most Java developers do not use this technique anymore, frameworks still do, and the codes are abstracted away from us. Meanwhile, some may still
Spring Boot Call Stored Procedure With Spring Data @Procedure
Although most applications use SQL statements, we may need to call stored procedures instead. For instance, we could reuse existing stored procedures instead of crafting new codes. As a result, we do not need to create new test cases, and
PostgreSQL – Create superusers If You Don’t Have Them
During the initial phase of our application development, we need superusers for our database, especially when we are starting with greenfield projects and no prior databases exist. Most of the time, we use this type of user to run DDL
Check out from a specific branch from Git in IntelliJ IDEA
Moving to a new tool is always tricky in the beginning. However, as we get familiar with the tool, it becomes easier and easier to use every day. For instance, suppose you are used to working with git on the