Core Java
-
Don’t Parse, Use Parsing Objects
The traditional way of integrating object-oriented back-end with an external system is through data transfer objects, which are serialized into…
Read More » -
Java May Use UTF-8 as Its Default Charset
Because Java-based applications are often used in a wide variety of operating systems and environments, it is not uncommon for…
Read More » -
Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java
JDK 7 introduced a new method on the java.lang.System class called lineSeparator(). This method does not expect any arguments and…
Read More » -
Solid Principles: Dependency inversion principle
Up until now we had a look on the single responsibility, open/closed, liskov substitution and interface segregation principles. Dependency Inversion…
Read More » -
Solid Principles: Interface segregation principle
Previously we examined the liskov substitution principle. Next principle is the interface-segregation. The interface-segregation principle (ISP) states that no client…
Read More » -
Solid Principles: Liskov substitution principle
Previously we took a dive into solid principles including the single responsibility and the open/closed principle. The Liskov substitution principle…
Read More » -
Solid Principles: Open/closed principle
Previously we talked about the single responsibility principle. The open/closed principle is the second principle in the row regarding the…
Read More » -
Solid Principles: Single responsibility principle
The single responsibility principle is the first principle from the solid acronym. “A class should have only one reason to…
Read More » -
Java 9: Enhancements to the Process API
Java 9 brings various improvements to the Process API, used for controlling and managing operating system processes. Getting information about…
Read More »