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



Java Nio Async HTTP Client Example

This article is an example of how to build a simple asynchronous Http client using Java Nio. This example will make use of the httpbin service for much of it’s test cases, which can also be verified via postman or curl. Although the examples work, this is by no means a production ready. The exhaustive Http client implementation was merely an ...

Read More »

Apache Camel Routing Tutorial

Table Of Contents 1. Introduction 2. What is Enterprise Integration Patterns 3. Basic concepts about Apache Camel 3.1. The Architecture of Apache Camel 3.2. What is CamelContext 3.3. What are Routes 3.3. What are Components 4. Technology Stack 5. Apache Camel Routing Examples 5.1. Dependencies 5.2. XML Request 5.3. Spring XML-Based Configuration 5.4. Java DSL-Based Configuration 6. Summary 7. References ...

Read More »

SNMPv3 Set Example using SNMP4J

This article presents a simple example of an SNMPv3 Set request using the SNMP4J library. SNMP is used in managing and monitoring network devices. It is an Internet standard protocol for managing devices on IP networks. 1. Tools and Prerequisites SNMP4J library Mars Eclipse 2. Create the Project You may skip this process because this is a fairly small example ...

Read More »

JSF Guess Number Example

Hello, in this tutorial we will be building the Guess Number in a bootstrap enabled jsf application and will demonstrate the following: Application presents user with a page that asks you to guess a number Output page that tells whether the number is guessed correctly or not This example will show the implementation of Guess Number. 1. Introduction JSF allows ...

Read More »

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 then used when looking up properties, ...

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. 1. Introduction DbUnit is a ...

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 1. Introduction 1.1 ...

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

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 linear finite sized container for data of a ...

Read More »