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

 

 

Spring MVC ModelMap Example

In spring mvc, the org.springframework.ui.ModelMap object is used to pass the multiple values from the spring controller to the view. In this tutorial, we will show how to implement the org.springframework.ui.ModelMap object with the spring mvc framework. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development One of the ...

Read More »

MySQL Full-text Search Tutorial

1. Introduction MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL is so popular is due to the easiness it provides for its usage and its related commands. In the open source web application ...

Read More »

Logback OutputStreamAppender Example

This article discusses the OutputStreamAppender of logback, a logging framework for the Java application. 1. Introduction to Logback and Appender Logback is designed to be the successor for Log4j. It has been developed by the same development community. These are some of the advantages logback has over log4j Faster implementation – ~10x faster on some critical areas Automatic Reloading of ...

Read More »

Spring vs Spring Boot Example

1. Spring vs Spring Boot Welcome to the Spring vs Spring Boot example. First and foremost, this is not Spring MVC vs Spring Boot. So you won’t find any discussion relating to web. The example that will be shown here is the simplest thing that could possibly work to show the difference between Spring and Spring Boot. When we speak ...

Read More »

Spring RowMapper Example

Spring Jdbc framework provides a mechanism to fetch the records from a database using the query() method. This tutorial will explore the Spring Jdbc connectivity to fetch the records from the relational database. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development One of the chief advantages of the ...

Read More »

Java 8 Display all ZoneId and its UTC offset Example

In this article we will see how to display all ZoneId and its UTC offset. A ZoneId is used to identify the rules used to convert between an Instant and a LocalDateTime. 1. Introduction The java.time package contains the main APIs for dates, times, instants and duration. The classes defined here represent the principle date-time concepts, including instants, durations, dates, times, ...

Read More »

MongoDB Connection String URI Format Example

1. Introduction MongoDB is the most famous and widely used NoSQL database. It has been used in almost every programming language today and hence it is important to setup a standard way of connecting to the database. In this article, we discuss one such common item which needs to be understood and used while establishing a database connection to MongoDB ...

Read More »

Logback Kafka Appender Example

This article discusses Kafka as a logging destination for a Java application. In this tutorial, We will use logback as the logging framework. 1. Logback Kafka Appender – Introduction Logback is designed to be the successor for Log4j. It has been developed by the same development community. These are some of the advantages logback has over log4j Faster implementation – ...

Read More »

Spring Prototype Bean Scope Example

In the spring framework, developers can create beans using the in-built spring bean scopes. Out of five in-built scopes, Singleton and Prototype are primary and available in any type of IOC containers. This tutorial will explore the Prototype bean that returns a new bean instance for each and every request. 1. Introduction 1.1 Spring Framework Spring is an open-source framework ...

Read More »

Spring @Primary Annotation Example

Spring framework provides a mechanism to automatically inject the multiple dependencies of the same data-type. During the process, NoUniqueBeanDefinitionException is thrown indicating that only one candidate bean can be injected. This tutorial will explore the Spring-specific @Primary annotation that automatically gives a higher preference to a particular bean definition. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created ...

Read More »