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

 

JUnit HttpServletRequest Example

In this tutorial, we shall show users the way to test the HttpServletRequest using the JUnit. JUnit HttpServletRequest Example will help you to understand, how we can test the servlet part of the web application. We have seen in previous tutorials how we can use JUnit for testing our applications. It is the main testing framework that is used by ...

Read More »

JSF ELResolver Example

Hello, in this tutorial we will create a custom ELResolver in a jsf application and will demonstrate the following: Displaying a list by creating our own implicit variables in jsf This example will show the implementation of ELResolver.             1. Introduction JSF allows defining Custom EL resolvers through a pluggable resolver mechanism. These resolvers are ...

Read More »

JUnit DbUnit Example

In this tutorial, we shall show users the usage of the DbUnit framework. JUnit DbUnit example will lead you to the details of testing with the DbUnit. There are other tutorials on JUnit if you want to learn more about the JUnit. Click here to view the tutorials related to JUnit on Java Code Geeks.           ...

Read More »

JSF EntityManager Example

Hello, in this tutorial we will study about EntityManager in a jsf application and we will demonstrate the following: Login Form Performing database operation’s & validating the user credentials Sending & receiving data to & from a managed bean This example will show the implementation of JPA EntityManager in JSF with EclipseLink & MySQL.       Table Of Contents ...

Read More »

Java Spring and Hibernate Tutorial for Beginners

Hello, in this tutorial, we will go over the fundamentals of setting up a Spring project integrated with Hibernate. Next we will perform CRUD operations against an Oracle database. Table Of Contents 1. Introduction 2. Setting up Project 2.1. Create Maven project in Eclipse 2.2. Adding POM dependencies 3. Building Project 3.1. Create Application Configurations 3.2. Create Entity 3.3. Create ...

Read More »

Java Nio ByteBuffer Example

Bipartite Graph

This article is a tutorial on demonstrating the usage of the Java Nio ByteBuffer. All examples are done in the form of unit tests to easily prove the expectations of the API.                 1. Introduction The ByteBuffer class is an abstract class which also happens to extend Buffer and implement Comparable. A Buffer is simply a ...

Read More »

Apache ActiveMQ BrokerService Example

Using this example, we will be learning about Apache ActiveMQ BrokerService and various other ways in which a broker in ActiveMQ can be started and configured. But before we begin with our example, it is expected that we have a basic understanding of JMS concepts, ActiveMQ and Java/J2EE. JMS stands for Java Messaging API and Apache ActiveMQ is an open source message broker written in ...

Read More »

JSF Autocomplete Example

Hello, in this tutorial we will study about the autocomplete component in a jsf enabled application and will demonstrate the following: Autocomplete Page Retrieving the dummy countries list from the managed bean This example will show the implementation of this module.           1. Introduction JSF primefaces provides an incredible amount of new components that adhered the ...

Read More »

Java 9 Repl Tutorial

Bipartite Graph

In this example, I would like to show you how to get started with Java 9 REPL (The Java Shell: Read-Eval-Print Loop). Oracle site has excellent details of the features. Here, I present some examples and details to get started along with some of the important features and commands of this useful feature added in Java 9. Jshell is a ...

Read More »

JSF Event Queue Example

Hello, in this tutorial we will study about Event Queue listener in a jsf enabled application and will demonstrate the following: Validating the user’s role in current session Access Denied page in case of an error This example will show the integration and implementation of event queue listener.       1. Introduction The model that JSF implements for handling ...

Read More »