Core Java
-
Creational Design Patterns: Abstract Factory Pattern
The Abstract Factory Pattern is a creational pattern and is one of the most popular patterns along with the builder…
Read More » -
Lombok, AutoValue and Immutables, or How to write less and better code returns
In the previous post about Lombok library, I have described a library that helps to deal with boilerplate code in…
Read More » -
Understanding Java Buffer Pool
Understanding Java Buffer Pool The buffer pool space is located outside of the garbage collector-managed memory. It’s a way to…
Read More » -
Forward-Looking with Java’s @Deprecated
I have occasionally run into a situation in which I have needed to introduce a new API or construct for…
Read More » -
Java 8 Date and Time
Nowadays, several applications still use the java.util.Date and java.util.Calendar API’s, including libraries to make our lives easier working with these…
Read More » -
Getters and Setters Considered Harmful
Java programmers habitually pepper their classes with “getters” and “setters,” and this practice is so ingrained that probably few ever…
Read More » -
Raw String Literals Coming to Java
It appears likely that “raw string literals” are coming to Java. JEP 326 (“Raw String Literals”) started as Issue JDK-8196004…
Read More » -
Understanding Cloneable interface in Java
What is Object Cloning? Object Cloning is a process of generating the exact field-to-field copy of object with the different…
Read More » -
AES Encryption in Javascript and Decryption in Java
AES stands for Advanced Encryption System and it’s a symmetric encryption algorithm.Many times we require to encrypt some plain-text such…
Read More »