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

Surprisingly High Cost of Java Variables with Capitalized Names

I’ve read hundreds of thousands or perhaps even millions of lines of Java code during my career as I’ve worked with my projects’ baselines; read code from open source libraries I use; and read code examples in blogs, articles, and books. I’ve seen numerous different conventions and styles represented in the wide variety of Java code that I’ve read. However, ...

Read More »

How much faster is Java 17?

Java 17 (released yesterday) comes with many new features and enhancements. However, most of those require code changes to benefit from. Except for performance. Simply switch your JDK installation and you get a free performance boost. But how much? Is it worth it? Let’s find out by comparing the benchmarks of JDK 17, JDK 16 and JDK 11. Benchmark methodology ...

Read More »

KivaKit resources

java-interview-questions-answers

A resource is a stream of data that can be opened, read from or written to, and then closed. KivaKit provides a resource mini-framework that allows easy and consistent access to many types of resources, and it makes it easy to create new resources. Examples of KivaKit resources include: FilesSocketsZip or JAR file entriesS3 objectsPackage resourcesHDFS filesHTTP responsesInput streamsOutput streams ...

Read More »

KivaKit command line parsing

java-interview-questions-answers

The kivakit-commandline module provides the switch and argument parsing used by kivakit-application. Let’s take a look at how this works. When an Application starts up (see KivaKit applications), the Application.run(String[] arguments) method uses the kivakit-commandline module to parse the argument array passed to main(). Conceptually, this code looks like this: public final void run(String[] arguments) { onRunning(); [...] commandLine = ...

Read More »

Kubernetes pod as a Bastion Host

In Cloud Native apps private networks, databases and services are a reality. An infrastructure can be fully private and only a limited number of entry points can be available. Obviously the more restricted the better. Still there are cases where there has not been any infrastructure setup for the private services and ways to link towards them. however if there ...

Read More »

Receive Pub/Sub messages to your Spring Application

spring-interview-questions-answers

Pub/Sub is a messaging solution provided by GCP Before we dive into the actual configuration we need to be aware that Spring Cloud for GCP is now managed by the Google Cloud Team. Therefore the latest code can be found here. Our application will receive messages from Pub/Sub and expose them using an endpoint.Let’s go for the imports first <?xml ...

Read More »

Replacing Docker Desktop with hyperkit + minikube

MacOS is a Unix but it isn’t a Linux so, unfortunately, if/when we need to use linux-y things like docker we need to install a VM just like in the Windows world. That’s of course also true for docker. Like most people I’ve been using Docker Desktop for a lot of years to get my fix for container. It works ...

Read More »

Session Management in Node.js

Hello. This tutorial will explain session management in the node.js application. 1. Introduction Session management is an important part of any application that helps the application track the users and their activities. To understand this we will be using a cookie which is key-value pair stored in the browser. The browser then attaches the cookies to every HTTP request sent ...

Read More »

Whizlabs Online Certifications: Lifetime Membership

Get Lifetime Access to Affordable World-Class Certification Training Courses & Gain New, Essential Industry Skills Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 94% off on Whizlabs Online Certifications: Lifetime Membership. Get it now with only $239,99, instead of the original price of $4499. When you’re on the ...

Read More »