Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

[Upcoming Webinar] Troubleshooting Kubernetes: The 7 Key Components You Need to Have

In case you haven’t heard, containers are eating the world. This shift is transforming everything we’ve ever known about developing, delivering and maintaining our applications – particularly when it comes to resolving errors. With so many moving pieces, getting to the bottom of critical issues lurking in your Kubernetes-based apps can feel impossible. Traditional methods of troubleshooting – like sifting ...

Read More »

Become a Master of Java Streams – Part 4: Database Streams

SQL has always been a declarative language whereas Java for a long time has been imperative. Java streams have changed the game. Code your way through this hands-on-lab article and learn how Java streams can be used to perform declarative queries to an RDBMS database, without writing a single line of SQL code. You will discover, there is a remarkable ...

Read More »

The First and Last Rites

Let’s look at another test smell. Consider the following tests: @Test public void connectionWorks() { database = openDatabase(); database.healthCheck(); database.close(); } @Test public void countRows() { database = openDatabase(); assertThat(database.countAll()) .isEqualTo(0); database.close(); } In the above code we’ve written two tests for some fictional database. It looks like both those tests start and end with the same code. On top ...

Read More »

Tell us what you want and we will make it so: consumer-driven contract testing for messaging

java-interview-questions-answers

Quite some time ago we have talked about consumer-driven contract testing from the perspective of the REST(ful) web APIs in general and their projection into Java (JAX-RS 2.0 specification) in particular. It would be fair to say that REST still dominates the web API landscape, at least with respect to public APIs, however the shift towards microservices or/and service-based architecture ...

Read More »

5 Job Fields that Value Java Coding Skills

In this post, we feature a comprehensive article on 5 Job Fields that Value Java Coding Skills. It’s often said that Java is a dying language because its worldwide usage has been steadily dropping in recent years. However, a decrease in usage does not necessarily equate to a loss in value for Java programmers. There are still quite a few ...

Read More »

Elastic Stack Introduction

java-interview-questions-answers

When you are running software that is critical for your company you can’t have logs just for analysing things that happened some time ago, having the client tell you that your application is broken while you didn’t even know what was happening is a real problem. One of the ways to deal with that is using monitoring and logging. Most ...

Read More »

Better NPE Messages in JDK 14

My March 2019 blog post “Better Default NullPointerException Messages Coming to Java?” was written when the draft JEP for better NullPointerException messages had not yet been targeted to a particular JDK release. Since then, that draft JEP became JEP 358 (“Helpful NullPointerExceptions”), which has been targeted for JDK 14. Even better, the initial implementation (JDK-8218628) is already in the JDK ...

Read More »

JMetro Version 11.5.11 And 8.5.11 Released

Hi there again. One more version with new JMetro styles (dark and light versions): Split Menu ButtonSplit PanePill Button / Segmented Button Tweaks to existing styles and bug fixes. Keep on reading for details. Split Menu Button Following is an animation showing the new Split Menu Button JMetro light and dark style: Pill Button / Segmented Button Segmented Button is ...

Read More »

Java 13: Text Blocks

Java 13 has delivered the long-awaited multiline strings or Text Blocks. You no longer need to concatenate strings that span multiple lines or escape special characters, which really improves the readability of your code. Text blocks are a preview language feature, which means that they must be explicitly enabled in the Java compiler and runtime using the --enable-preview flag. Here ...

Read More »