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 ....

Exceptional Happenstances

Happenstance testing is a test smell where you are asserting something more specifically than relevant to what you’re testing. For example, trying to assert the order of items in a set can lead to disappointment when your runtime changes its algorithm for arranging sets. Similarly, asserting the exact test of an error message, unless it’s the construction of the message ...

Read More »

We Won’t Return to Normal; We Will Discover Normal

Many people talk about “going back to normal.” We aren’t going to return to normal. That old normal is gone, at least for a year, if not longer. (I suspect we will cycle between remote work and office work for the foreseeable future.) What we can do is discover a new normal. Discovery requires different skills than delivery. Discovery requires ...

Read More »

Qute Templates with Quarkus

java-interview-questions-answers

Quarkus ships with its own templating engine, Qute, which already includes an interesting set of features. In the following video, I’m showing the basic usage of action-based MVC with JAX-RS that forwards our requests to HTML templates. To try out Qute yourself, have a look at the following resources: Example projectQute Templating Engine GuideQute Reference Guide Published on Java Code ...

Read More »

How to Add Dynamic Code Analysis to Your Pipeline

Most of us are very familiar with the famous Mark Zuckerberg declaration to “move fast and break things.” That was a very bold statement back in 2014, and, as Zuckerberg quickly realized, probably too bold. He later retracted it, stating his new desire to move fast, yet stay stable. To better address code quality (without compromising speed) many organizations are ...

Read More »

RTFE – Read The Flaming Error

It’s a common issue when trying to start up your application. Something goes wrong, there’s a load of trace on the console, and you need to try to work out what could be the problem. There’s are various cognitive biases that affects our ability to resolve these problems. We often expect the thing we last did to be the cause ...

Read More »

[MEGA DEAL] Integrity Training: Online Workforce Courses Lifetime Membership (95%)

Become the Ultimate Employee or Job Candidate with Lifetime Access to Over 600 Expert-Led Courses on PMI, ITIL, CompTIA, Microsoft & Other In-Demand Skill Sets Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 95% off on Integrity Training: Online Workforce Courses: Lifetime Membership. Get it now with only ...

Read More »

Quarkus on OpenJ9 JVM & resource consumption

java-interview-questions-answers

Besides the native mode, Quarkus also runs well in JVM mode which comes with its own advantages. You can use an alternative JVM, such as OpenJ9 which gives you better resource consumption. In the following video I’ll show how easy it is to swap the JVM. In the video, I’m using the Docker image adoptopenjdk/openjdk14-openj9 in one of the latest ...

Read More »

Quickly creating URIs with UriBuilder

java-interview-questions-answers

If you have access to the JAX-RS API and an implementation in your projects (many do), then you can use JAX-RS’ UriBuilder to conveniently create URIs via builder pattern using resolvable placeholder. Have a look at the following example: 1 2 3 4 5 6 7 String host = System.getProperty("host", "localhost"); String port = System.getProperty("port", "8080");   URI uri = ...

Read More »

Quarkus’ additional (non-standard) CDI features

java-interview-questions-answers

Quarkus supports CDI (Contexts and Dependency Injection) 2.0, but not all of it, only the most common features. However, Quarkus does include some non-standard features that can come in quite handy to developers which I want to show in the following video. Whether or not you’re familiar with CDI, if you use Quarkus you should have a look at the ...

Read More »