-
Core Java
How To Deep Clone An Object Using Java In Memory Serialization
In my previous articles, I had explained the difference between deep and shallow cloning and how copy-constructors and defensive copy…
Read More » -
Core Java
How to Customize Serialization In Java By Using Externalizable Interface
In a previous article Everything About Java Serialization Explained With Example, I explained how we can serialize/deserialize one object usingSerializable…
Read More » -
Core Java
What is Serialization? Everything You Need to Know About Java Serialization Explained With Example
In a previous article, we looked at 5 different ways to create objects in java, I have explained how deserialising…
Read More » -
Core Java
Java: An Optional Implementation of Optional
The class java.util.Optional is implemented as a single immutable concrete class that internally handles two cases; one with an element…
Read More » -
Core Java
Java: Benefit from Inline Class Properties Starting from Java 8
In some years, Java will hopefully have an “inline class” feature which solves many challenges with the current state of…
Read More » -
Core Java
Why Declarative Coding Makes You a Better Programmer
Declarative solutions with functional composition provide superior code metrics over legacy imperative code in many cases. Read this article and…
Read More » -
Enterprise Java
Dockerizing a Spring Boot Application
Hello Friends, In this tutorial,we will see how we can dockerize our Spring Boot Application.By dockerizing ,we mean that we…
Read More » -
Core Java
java.lang.Record: Draft Specification
Work on proposed Java Records continues to proceed. Brian Goetz started three new threads on the OpenJDK amber-spec-experts mailing list…
Read More » -
Core Java
Draft JEP to Remove Deprecated CMS Garbage Collector
In the 10 April 2017 post “Java Garbage Collectors: When Will G1GC Force CMS Out?,” I discussed JEP 291 (“Deprecate…
Read More »