Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

Default methods in Java 8, and what it changes in API design

Java 8 introduced default methods in interfaces. This post describes what they are, and how they can change the design of APIs. A nominal design Earlier, in Java, interfaces could only have contracts – method signatures with no implementation. In order to add some implementation, a class was required, whether abstract or not. Hence, traditional API design then followed this hierarchy: The root interface defines the ...

Read More »

WTF Connection pools

java-interview-questions-answers

Let’s talk about connection pools. I claim that: Default settings of most popular connection pools are poor! For you, it means: Go review your connection pool settings. You might have a problem if you rely on default settings. You may have memory leaks and unresponsive application (even if load is not high at all). Below I will show some of ...

Read More »

Java vs Kotlin for Android Development

Mobile technology is one of the most disruptive innovations in the world today. Google’s Android and Apple’s iOS, are the operating systems used primarily in mobile technology, such as smart-phones and tablets. For almost two decades, Java was the prime language to build Android applications. This language was ruling the world of Android until the birth of a new language Kotlin. A ...

Read More »

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 sourced recently along with Java Mission Control, everyone using OpenJDK 11 can now troubleshoot their Java apps with this excellent tool for free of charge. JFR, being a proprietary solution formerly, might be lesser known for those relying on previous versions of ...

Read More »

Integration Key to Customer Experience – Container Platform Essentials

In my previous article from this series we looked in to details that determine how your integration becomes the key to transforming your customer experience.       It started with laying out the process of how I’ve approached the use case by researching successful customer portfolio solutions as the basis for a generic architectural blueprint. Now it’s time to cover ...

Read More »

Exploring the Spline Data Tracker and Visualization tool for Apache Spark (Part 2)

In part 1 we have learned how to test data lineage info collection with Spline from a Spark shell. The same can be done in any Scala or Java Spark application. The same dependencies for the Spark shell need to be registered in your build tool of choice (Maven, Gradle or sbt): groupId: za.co.absa.spline artifactId: spline-core version: 0.3.5 groupId: za.co.absa.spline artifactId: spline-persistence-mongo ...

Read More »

Dropping Raw String Literals from JDK 12

It has been proposed that raw string literals (preview) be dropped from JDK 12 (which enters Rampdown Phase One on December 13). Brian Goetz has written a detailed description of the motivations for dropping this preview feature (JEP 326). There is also discussion on this on the Java subreddit. In the post “JSR 386 (Java SE 12) JEP Propose to ...

Read More »