The String Pool is a location in the Java Virtual Machine (JVM) that collects all the literal Strings from your codes. Java keeps unique Strings for reuse.
Java – Get a directory’s size
There’s a few ways to get a directory’s size.
Spring Boot + Spring Security with Multiple Login Forms and User Types
I’m working on some personal project that handles 4 different user types (e.g., students, instructors, registrar employees, security personnel). Each user type are stored in a separate user table. With this, I require four (4) login forms.
Understanding Java Security Manager in 5 minutes or less
General Idea The general idea of Java Security Manager is to restrict what an application can do. This is important as it provides a separate environment for programs to do whatever they do without affecting the host system or other
Java – convert InputStream to InputStreamReader
This post demonstrates how to convert a file to InputStreamReader.
Create JSF2 application with Eclipse Mars
Create a JSF2 application with the new Eclipse Mars and Java 8.
Java Primitive Float And Double – What’s the difference?
Any floating-point literal in Java is by default of a double type.
Java Numeric Promotion Rules
Java Primitive Types Consider the following Java primitive types and take note of the type’s size, e.g., 8-bit. For this post, we can ignore boolean, and char as they are not numeric types. [wp_ad_camp_1] Given the following table of Java
Create Your Own Functional Interface in Java 8
What is a Functional Interface? [wp_ad_camp_1] Java 8 offers Lambda expressions to help us write better, and concise codes. Lambda expressions revolve around Functional Interfaces. So, what are Functional Interfaces? The simplest definition is: Functional Interfaces are Java Interfaces with
Converting Between array and List in Java
Converting Between array and List in Java.