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 do pagination in Node.js

Hello. In this tutorial, we will explain the concept of pagination in a node.js application. 1. Introduction Pagination is a concept of adding numbers to identify the sequence of pages. In pagination, we use the skip and limit key for reducing the size of data retrieved from the database. In this tutorial, we will implement pagination in the simplest terms ...

Read More »

Unit Testing vs. Integration Testing: Key Characteristics and Benefits

Accurate testing of an application determines its performance, usability, and reliability. While testing is an integral part of the software development life cycle, there is no simple way to get it done in one go. Every software product goes through a series of testing by developers and a dedicated team of testers. These tests are carried out to determine how ...

Read More »

Get logged-in user info in Jakarta EE – the simplest way

java-interview-questions-answers

The security before Java EE 8 / Jakarta EE 8 used to be a bit complicated and confusing. Every specification provided its own way to retrieve information about the logged-in user. The situation greatly improved with the introduction of the Security API that provides a unified way to do that – simply inject the SecurityContext CDI bean. There’s still a small catch ...

Read More »

Mockito when-then vs do-when

Writing unit test is very important for better software quality. For unit tests Mockito is one of the most common choices of developers. Mockito providers different way to mock methods, like do…when and when..then. Most of the time we face the question to use when-then vs do-when. We will see all the differences in detail. In Mockito we can mock ...

Read More »

The 2021 Ultimate AWS Certified Solutions Architect Associate Exam Prep Bundle

Move Into a Higher-Level IT Engineer or Entry-Level Architect Role with 74 Hours of Hands-On Content on AWS Cloud Essentials, Cloud Migration, Technologies, & Exam Prep Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 97% off on The 2021 Ultimate AWS Certified Solutions Architect Associate Exam Prep Bundle. ...

Read More »

Java Math pow() method Example (Recursive and Loop Iterative)

A quick guide to Math.pow() method in java. Custom implementation of Math pow() using iterative and recursive approaches. 1. Overview In this post, You will learn how to calculate the power of a number using the Math pow() method in java.  In other words, in Some interviews, these questions are asked as writing a program to find/calculate the power of ...

Read More »