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

How to build Graal-enabled JDK8 on CircleCI?

Citation: feature image on the blog can be found on flickr and created by Luca Galli. The image in one of the below sections can be also found on flickr and created by fklv (Obsolete hipster). The GraalVM compiler is a replacement to HotSpot’s server-side JIT compiler widely known as the C2 compiler. It is written in Java with the ...

Read More »

It’s a Bad Solution to a Problem We Don’t Have

What’s the worst sort of code? Don’t say JavaScript. It’ll grow on you. Nope, not Perl either. Ok, so Perl is quite irritating. The Worst Sort of Code… It’s code we don’t need… followed by code that almost works, and then code that doesn’t work. Code that almost works is very annoying, because you won’t realise it doesn’t work at ...

Read More »

ForEach vs Splitter in mule

This example app will show the difference between Foreach and splitter in Mule version 3.x. Collection splitter splits the incoming collection object and then you have to put a aggregator to collect the resultant objects. For each scope is a scope which does not change the payload and you get the same collection object once for each loop completes. <?xml ...

Read More »

Jakarta EE Contribution – Getting Started

java-interview-questions-answers

Are you interested in helping out with moving Jakarta EE forward?  So am I, and I wanted to provide a few details that can be used to help those who are interested in getting started. Step 1: The first step to begin contributing is to sign the Eclipse Foundation Committer and Contributor Agreement (ECA): https://www.eclipse.org/legal/committer_process/re-sign/. The ECA must be signed ...

Read More »

Measuring Time: From Java to Kernel and back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: through the OpenJDK source code, glibc, all the way down to the Linux kernel. ...

Read More »

A beginner’s guide to Java agents

While Java beginners quickly learn typing public static void main to run their applications, even seasoned developers often do not know about the JVM’s support of two additional entry points to a Java process: the premain and the agentmain methods. Both methods allow so-called Java agents to contribute to an existing Java program while residing in their own jar file ...

Read More »

The Universal Coding Standard

Warning: there’s no way the following can live up to the title Your implementation should be: ClearDistinctWell-Organised Clear The implementation should have a clarity of purpose and should express itself in a way which helps the reader understand that purpose. Distinct There should be one of everything that’s needed, not a collection of overlapping duplicates. Well-Organised A place for everything ...

Read More »

GitHub on the command line

hub is a command line client for GitHub. You can use it to view or create issues, pull requests, conveniently fork or check-out repositories, and much more. I frequently use the following commands: hub clone <org>/<repo>hub browse and hub browse -- issues which opens in the browserhub pull-requesthub issue create Hub is repository- and branch-aware and the commands usually work ...

Read More »

A Disk-Backed arraylist

It sometimes happens that your list can become too big to fit in memory and you have to do something in order to avoid running out of memory. The proper way to do that is streaming – instead of fitting everything in memory, you should stream data from the source and discard the entries that are already processed. However, there ...

Read More »