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



Selenium Best Practices Tutorial

This article explores best practices and use cases for Selenium. For our purpose, We will be utilizing Selenium with Java. 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and tests. It can be used for end to end ...

Read More »

Spring MVC @PathVariable dot(.) get truncated Example

In spring, the @PathVariable annotation is used to bind the uri template variables in the spring mvc framework. But there is one issue i.e. if the passed parameter has a value with a dot in it (for e.g. xxx.xx) then the portion after the last dot (.), including dot, gets truncated. In this tutorial, we will explore a way to ...

Read More »

Java Template Design Pattern Example

1. Introduction to Java Template Design Pattern In this post, we will discuss and elobarate the java template design pattern in detail. Java Template design pattern is one of the important behavioral design pattern. Template design pattern describes algorithm steps and can provide default implementations common to most or all of the subclasses. Let’s get an example to understand and ...

Read More »

Spring MVC and Angular 6 Example

Welcome readers, in this tutorial, we will show the Angular 6 Http Client module and Spring MVC example to fetch the model data. Here, we are using Angular 6 as a front-end technology to make a request and receive the response. 1. Introduction Refer below diagram to understand the spring mvc and angular 6 applications. The two different applications interact ...

Read More »

Java 8 Functional Programming Tutorial

Java 8 supports functional programming via the lambda expression and Stream API. In this tutorial, I will demonstrate how Java 8 supports functional programming via common pre-defined functional interfaces, Collections, and Stream API. Table Of Contents 1. Introduction 2. Technologies Used 2.1 Maven Project 3. Java 8 Predefined Functional Interfaces 3.1 Function 3.2 Predicate 3.3 Supplier 3.4 Consumer 3.5 UnaryOperator ...

Read More »

Java Memento Design Pattern Example

1. Introduction to Java Memento Design Pattern In this article, we will discuss about one of the java design pattern – Java Memento Design Pattern. Memento design pattern is one of behavioural design patterns. Memento design pattern is mostly used when we like to save an object’s condition so that we can restore it later. Let us look deeply into ...

Read More »

Spring Security via Database Authentication Tutorial

Welcome readers, in spring, the security module is considered important. It enables the developers to integrate the security features in a managed way. In this tutorial, we will explore how to design a custom login form and perform the user’s authentication using a database in the spring security. Table Of Contents 1. Introduction 1.1 Spring Mvc Architecture and Flow 1.2 ...

Read More »

Scala Web Development Example

1. Introduction In this lesson, we will cover the basics of Web Development using Scala. We will make use of Play framework to construct RESTful APIs which can be used in any web application to perform various actions on resources of your application. We will make sure that the project can be run as is and we will start from ...

Read More »

Spring Bean Life-Cycle Example

Sometimes when the spring beans are created developers need to perform the initialization and the cleanup operations before the bean is destroyed. To achieve this, we can use the InitializingBean and the DisposableBean interfaces in the spring model classes. This tutorial will explore these callback interfaces to briefly understand the initialization and destruction process in the spring framework. 1. Introduction ...

Read More »

Spring c-namespace Example

Spring framework provides several namespaces to simplify the xml configuration. In spring, developers can use the c-namespace to inject the constructor-based dependency and an alternative to using the <constructor-arg> tag. 1. Introduction 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, ...

Read More »