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

 

 

JSF JPA CRUD Tutorial

Hello, in this tutorial I would like to show the usage of JPA (Java Persistence API’s) in a simple jsf application and will demonstrate the following: Schools List Performing database operations using JPA framework Sending & retrieving data to & from a managed bean This example will show the implementation of basic CRUD (Create, Read, Update, Delete) operations and lets ...

Read More »

Java Nio HeapByteBuffer Example

This example demonstrates the usage of the Java Nio HeapByteBuffer. The Java Nio HeapByteBuffer is an odd class, one you will never reference directly and for good reason, it’s package private. Although it’s use is almost guaranteed when working with ByteBuffers unless you opt for a DirectByteBuffer (off heap). By virtue of extending ByteBuffer, it also happens to extend Buffer and implement Comparable. 1. ...

Read More »

XPath Like Operator Example

In this example we will learn about XPath like operator. We will see how we can perform a ‘like’ operation using XPath. We will make use of IDEA IntelliJ to show some examples. 1. Introduction XPath is a W3C recommendation. It stands for XML Path Language and uses “path like” syntax to identify and navigate nodes in an XML document. XPath is ...

Read More »

JSF Hibernate CRUD Example

Hello, in this tutorial I would like to show the usage of Hibernate framework in a simple jsf application and will demonstrate the following: Student form Performing database operations Sending & retrieving data to & from a managed bean This example will show how to develop a simple CRUD (Create, Read, Update, Delete) application and lets you manage student’s database ...

Read More »

Java 9 Modules Tutorial

1. Introduction In this example, I would like to show you how to get started with Java 9 modules. Oracle JSR site has details of the features. Java 9 is a major release. At the time of writing this article, JDK 9 is currently available for early access download on the oracle site and is expected to be released on ...

Read More »

JUnit Run Tests in Parallel

In this example, we will show you the usage of JUnit while running test in parallel. We have seen lots of cases where we need to run our test cases in parallel. There might be multiple reasons for that like to run test cases in a small time or take advantage of the multi-core CPU so that all your test ...

Read More »

JSF Hidden Input Example

Hello, in this tutorial I would like to show the usage of the jsf inputHidden value tag. The tag can be used to pass temporary data or information provided by the user that should be used again and will demonstrate the following: Form page having hidden field Sending & receiving data to & from a managed bean Displaying the result ...

Read More »

Jax-Ws LogicalHandler Example

In this example, we will show you how to implement a JAX-WS Logical Handler. 1. Introduction When you send a request to a web service, the SOAP message may require verification. The SOAP message response may also require verification. For these requirements, you can use a SOAP message handler to intercept the SOAP message for further processing. SOAP message handlers ...

Read More »

JSF Ajax Render Example

Hello, in this tutorial I would like to describe how to send AJAX request to the server, receive the response and update the page accordingly and will demonstrate the following: Ajax enabled input form Sending & receiving data to & from a managed bean Output page to display the result This example will show the implementation of ajax in jsf. ...

Read 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 »

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