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

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

Struts2 Action Mapping Example

Apache Struts2 is an elegant, extensible framework for creating the enterprise-ready Java web applications. The framework is designed to streamline the development cycle i.e. from building to deploying and to maintaining the applications over time. In this tutorial, we will show developers how to create a simple action mapping example in Struts2. 1. Introduction 1.1 Struts Framework Struts is a ...

Read More »

Struts JSP Example

Apache Struts2 is an elegant, extensible framework for creating the enterprise-ready Java web applications. The framework is designed to streamline the development cycle i.e. from building to deploying and to maintaining the applications over time. In this example, we will show developers how to create a simple Hello World example in Struts2. 1. Introduction 1.1 Struts Framework Struts framework is ...

Read More »

Java 9 Reactive Streams Example

Bipartite Graph

Spurred on by an abundance of non-standardized Reactive Stream implementations for the JVM (Akka streams, RxJava) and an increasing need to handle stream related problems in a reactive manner, JEP 266 was augmented with the need for an interoperable publish-subscribe framework that sought to standardize reactive streams solutions for the JVM. This way library implementations now have a standard that ...

Read More »

Hibernate Session byId Example

Hibernate Session provide different methods to fetch the data (or a single record) from the database. In this tutorial, we will demonstrate the use of Session.byId() method in Hibernate using the annotation based configuration.                 1. Introduction 1.1 Hibernate Object-Relational Mapping or ORM is the programming technique to map application domain model objects ...

Read More »

Struts Tiles Plugin in Eclipse Example

Struts Tiles framework is a layout framework, which allows users to maintain a standard look of the header, footer, and menu across all of the web pages efficiently. It is used for both page decorating and componentization. In this part, we will discuss the Tiles Framework and its integration with Struts2. Table Of Contents 1. Introduction 1.1 Struts Tiles Framework ...

Read More »

Hibernate Load Example

Hibernate Session provide different methods to fetch the data (or a single record) from the database. Two of them are – get() and load(). The functionality is similar but there is a difference between the ways they work. In this tutorial, we will demonstrate the use of load() method in Hibernate using the annotation based configuration.         ...

Read More »

Spring Caching Tutorial

In this article, we will show you the Spring caching through examples. Caching is crucial for today’s high-performance hungry applications. Adding Caching in a spring-based application is rather trivial. In this tutorial, we will show you how to enable data caching in a spring application by integrating the application with the popular EhCache framework. Table Of Contents 1. Introduction 1.1 ...

Read More »

Java 9 Annotations Example

Bipartite Graph

In this article we will cover the topic of annotations by way of some theory and a brief example using Java 9. We will cover what they are, their properties, their purpose and different types. The example code will demonstrate the application of an annotation processor using custom annotations on an interface to automatically generate a stub implementation of said interface. ...

Read More »

Spring Setter Injection Example

One of the most important development principles of the modern software design is the Dependency Injection (DI) which quite naturally flows out of another critically important principle called Modularity. This tutorial will explore a specific type of DI technique within the spring framework called Setter-Based Dependency Injection which simply injects the dependent objects into the client using a setter method. ...

Read More »

Reactive Java (RxJava) Tutorial: Advanced

Bipartite Graph

Reactive Java or RxJava is an implementation and enhancement of the observer pattern. It was intended for use in event driven schemes where nesting synchronous or asynchronous callback methods becomes overly complex. It abstracts some of the more complex tasks associated with asynchronous operations including threading and concurrency. This example builds on the basics described in Part One of this ...

Read More »