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

Parameterized Tests in JUnit 5

A parameterized test allows you to run a test against a varying set of data. If you find yourself calling the same test but with different inputs, over and over again, a parameterized test would help make your code cleaner. To create one in JUnit 5 you need to: Annotate the test method with @ParameterizedTest Annotate the test method with ...

Read More »

A tale of two migrations

Within an enterprise, there are services (systems really) which are widely popular, offer just what you need and are easy to use. There are also systems, which for years the organization tries to decommission but they have so many applications depending on them, so many strings attached, it seems impossible. Often, it’s the same system, at different points in time. ...

Read More »

How to Round Numbers in Python

Hello in this tutorial, we will understand the round() method to round the numbers while working with decimal numbers in python programming. 1. Introduction The round() method in python is used to round the numbers while working with decimal numbers. It is represented with the following syntax – 1 round(number, digits) Where, number is a required param for the number ...

Read More »

[MEGA DEAL] Babbel Language Learning: Lifetime Subscription (All Languages)(50%)

Learn 14 Languages & Access More Than 10,000 Hours of High-Quality Language Education Online Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer.We are offering a massive 50% off on Babbel Language Learning: Lifetime Subscription (All Languages). Get it now with only $199 instead of the original price of $399. Learn Spanish, French, Italian, ...

Read More »

Discover Our Range of Geocoding Functionality API Service Capabilities

Helping You Find Your Way with Geocode’s API The Company Behind Geocodeapi SaaS Industries back Geocodeapi. SaaS Industries is an Austrian tech company that develops and supports APIs and SaaS applications. All products are designed and maintained by our team in Vienna. We believe in user-centric development, always aiming to create direct and straightforward solutions. We are continuously improving our ...

Read More »

Introduction to GraalVM (Community Edition): Revolution or Evolution?

1. Introduction Over the last couple of years we have witnessed the astonishing pace and scale of the innovations in the JVM ecosystem. Not only the new JDK release is coming out every 6 months, research and development are accelerating without any signs of lacking directions and features. Table Of Contents 1. Introduction 2. What Is GraalVM? 3. Evolution or ...

Read More »

ThreadLocal in Java – Example Program and Tutorial

ThreadLocal in Java is another way to achieve thread-safety apart from writing immutable classes. If you have been writing multi-threaded or concurrent code in Java then you must be familiar with the cost of synchronization or locking which can greatly affect the Scalability of application, but there is no choice other than synchronizing if you are sharing objects between multiple ...

Read More »

All Your Tests Belong to You: Maintaining Mixed JUnit 4/JUnit 5 and Testng/JUnit 5 Test Suites

If you are seasoned Java developer who practices test-driven development (hopefully, everyone does it), it is very likely JUnit 4 has been your one-stop-shop testing toolbox. Personally, I truly loved it and still love: simple, minimal, non-intrusive and intuitive. Along with terrific libraries like Assertj and Hamcrest it makes writing test cases a pleasure. But time passes by, Java has ...

Read More »

Java Extension Methods

Whither Extension Methods? Apparently, there’s a java dialect called XTend which does this, but there’s no obvious equivalent of extension methods in Java. An extension method, as I recall from C#, allows you to define something like this: 01 02 03 04 05 06 07 08 09 10 11 int myExtensionMethod(SomeClass theExtendee, Object input) {    return ...; } SomeClass myExtendable ...

Read More »