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 Singleton 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 Singleton bean that returns a single bean instance per IOC container. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to ...

Read More »

Java Composite Design Pattern Example

1. Introduction In this post, we feature a comprehensive Example on Java Composite Design Pattern. In a large scale Java application built for enterprises, there are certain pre-defined coding standards and structures to be followed. These standards and structures assist in development of a code that is organised and easily manageable. This also ensures that the code is structured in ...

Read More »

Git Orphan Branch Example

In this post, we present a Git Orphan Branch Example. 1. Introduction In general, when you create a new branch off branch “master” you inherit its commit history. The exception is an orphan (or disconnected) branch. An orphan branch does not have a parent-child relationship to the master branches’ commits. Most commits have one parent commit, one obvious exception being ...

Read More »

Spring Boot SOAP Service with Hibernate Example

1. Introduction Java Persistence API (JPA) is Java’s standard API specification for object-relational mapping. Hibernate is a JPA provider and provides a framework for mapping an object-oriented domain model to a relational database. Spring Boot defines a list of starter projects, in which each project includes a set of default component dependencies and an automatic configuration of components. The Spring Web Service starter project enables developers to ...

Read More »

MySQL Replication 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 »

JBoss WildfFly Logging Configuration Example

1. Introduction In this example we will review the WildFly logging subsystems. We will apply the configuration to a Web application to generate a separate log files for our application instead of writing it to default server log file. 1.1 WildFly WildFly is an application server written in Java that implements Java EE specification. It’s a fast and lightweight server. ...

Read More »

Spring Security Angular 6 Basic Authentication Example

1. Introduction In this post, we feature a comprehensive Example on Spring Security, Spring Boot and Angular to demonstrate how you can secure your Angular application using Basic Authentication via Spring Security. You will learn to use Spring Boot for quickly building a Java backend layer and then adding a maven dependency for making it secure. We will use Angular ...

Read More »

Spring @ResponseBody Annotation Example

Welcome readers, in this tutorial we will show how to implement the Spring @ResponseBody Annotation to return a Json response from a Spring Mvc Controller. 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 Spring framework is its layered architecture, which allows ...

Read More »

Spring @RequestBody Annotation Example

Welcome readers, in this tutorial we will show how to implement the Spring @RequestBody Annotation to convert the incoming Json request to a Model object. 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 Spring framework is its layered architecture, which allows a ...

Read More »

Java Facade Design Pattern Example

1. Introduction In an enterprise application, it is extremely important to manage the code base so that the redundancy is reduced. Moreover, in order to make code manageable, we also need to take care that the classes are structured and connected  so that the generic code is not repeated in multiple classes. In Java, we use the features like implementing ...

Read More »