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

 

 

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 »

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 different aspect of Ajax. One ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns