Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

 

Java Unit Testing Tutorial

This is a tutorial for Java unit testing. In this tutorial, I will create a spring boot application which includes test cases written with Junit, Mockito, and Spring test. The overall unit tests cover 90 percent of the application. You can also check this tutorial in the following video: Unit Testing Tutorial – video Table Of Contents 1. Introduction 2. ...

Read More »

Java.util.Dictionary Class – Java Dictionary Example

1. Introduction In this example, we will learn about java.util.Dictionary class. The Dictionary class is the abstract parent of any class which maps keys to values e.g. Hashtable. In a Dictionary object, every key is associated with at most one value. Using the Dictionary object and the key we can lookup for the respective element. Any non-null object can be ...

Read More »

How to get the Docker container IP address

Welcome readers, in this tutorial, we will discuss how to get an IP address assigned to a running docker container. 1. Introduction to Docker In the present world, Docker is an important term, Often used in CI/CD platform that packages and runs the application with its dependencies inside a container Is a standard for Linux Containers A Container is a ...

Read More »

Spring Boot Interview Questions and Answers

In this article, we are going to discuss some of the Spring Boot interview questions and answers. This is a summary of some of the most important questions concerning the Spring Boot Framework, that you may be asked to answer in an interview! There is no need to worry about your next interview test because Java Code Geeks are here ...

Read More »

Integer Java Class Example

In this article, we will learn about the Integer Java class. We will discuss some of the important methods, like the integer.parseint method (Java parseint method), the toString(), the intValue(), the toUnsignedString(), the toHexString(), the toOctalString(), the toBinaryString(), the valueOf(), and the decode(). 1. Introduction The Integer Java class wraps a value of the primitive type int in an object. ...

Read More »

Docker Update Image Example

Welcome readers, in this tutorial, we will see how to update a docker image. 1. Introduction to Docker In the present world, Docker is an important term, Often used in CI/CD platform that packages and runs the application with its dependencies inside a container Is a standard for Linux Containers A Container is a runtime that runs under any Linux ...

Read More »

Instance Variable Java Example

In this article, we will show Instance Variable Java Examples. Firstly we will talk about what instance variables are in general and the reason that we use them. After that, we will analyze the difference between instance, local and static variables. Last but not least we will demonstrate some examples. 1. Introduction First of all, we need to know that ...

Read More »

Spring Boot Framework Annotations Tutorial

In this post, we feature a tutorial on the annotations of Spring Boot Framework. When Spring was initially introduced, developers were mostly using XML-based configuration. With the introduction of the revolutionary Spring Boot framework now developers have completely moved away from XML-based configuration and it is hard to imagine development without using annotations. We are going to discuss the basic ...

Read More »

Docker Basic Commands

Welcome readers, in this tutorial, we will learn some Docker basic commands. 1. Introduction to Docker In the present world, Docker is an important term, Often used in CI/CD platform that packages and runs the application with its dependencies inside a container Is a standard for Linux Containers A Container is a runtime that runs under any Linux kernel and ...

Read More »

Java File Class Example

1. Introduction In Java, File io is a class residing in java.io package, which provides an abstract representation of file and directory pathname. The pathname can be of either an absolute or a relative manner. The File io class in Java provides functionalities such as creating, deleting, renaming, searching and identifying common attributes in files and directories, listing the contents ...

Read More »