1. IntroductionIn this article, we will depict Java Abstract Factory Design Pattern in detail. …
Category: Home
Consuming Twitter Streaming API with Spring Integration
1. OverviewSpring Integration has been known to have a myriad of connectors for interacting with ex…
Security Enhancements in JDK 9, 10 and 11
One of reasons for shorter release cycles of the JDK is possibility to rollout faster security bugf…
Java IoT Device Management – DZone IoT
This short demonstration explains the interesting features of Java SMQ for IoT development, making device management easier and more efficient.
Mergesort in Java – Algorithm Example and Tutorial
The Merge sort algorithm is a divide and conquers algorithm. In the divide and conquer paradigm, a problem is broken into small problems wh…
Default methods in Java 8, and what it changes in API design
Interested to learn about Default methods? Check our article introduci default methods in interfaces, describining what they are.
Java 8 Map of Collections remove element for collection and remove entry if empty
I have a map for which the values are a collection. Given a key, I want to remove an element of the collection and return it, but I also want to remove the entry if the collection is empty. Is ther…
Java vs Kotlin for Android Development
Mobile technology is one of the most disruptive innovations in the world today. Google’s Android and…
Top 5 Amazing Gifts for Programmers, Coders, and Software Developers
If you are planning for a surprise gift to your programmer boyfriend and husband on this holiday season e.g. Black Friday, on Christmas, or…
WTF Connection pools
Let’s talk about connection pools.I claim that:Default settings of most popular connection pools …
Log Aggregation using ELK Stack
1. IntroductionWith the use of microservices, it has become easy to create stable distributed appl…
Hands on Java 11’s constantdynamic
With the intention of making the JVM more appealing to dynamic languages, the seventh version of the platform had introduced invokedynamic …
Using Java Flight Recorder with OpenJDK 11
Java Flight Recorder (JFR) used to be a commercial add-on of the Oracle JDK. As it’s been open sour…
Static analysis of Java via the Checkstyle plugin for Eclipse
In this step-by-step tutorial, we showed developers how to install the Checkstyle plugin for Eclipse. The plugin lets them take advantage of static code analysis integration in the early stages of the software development lifecycle.
Get source code of any class from within a Java program
I’m attempting to retrieve the source code of any class (if available) from within a Java program for debugging purposes. Let’s say I have the Class[_]’s reference to which I would like to retrieve…