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 2.0 Tree Selection Example

jsf-logo

Hi there! Today we ‘re gonna see how we could let the user select multiple tree elements, according to JSF 2.0. We all know that JSF is here to ease the server-side user interfaces development, but when it comes to trees, things are getting somehow complicated: JSF does not have a default tree component, so we have to “extend” the ...

Read More »

Spring data tutorial for beginners

spring-logo

In this example, we shall demonstrate how to configure Spring Framework to communicate with database using JPA and Hibernate as the JPA vendor. The benefits of using Spring Data is that it removes a lot of boiler-plate code and provides a cleaner and more readable implementation of DAO layer. Also, it helps make the code loosely coupled and as such ...

Read More »

Apache Camel Timer Example

java-logo

You can use Camel’s timer component to schedule tasks to occur either at a specified time or at regular intervals. Timer comes as Camel’s core component. Its URI scheme is timer: A timer component generates events which in turn triggers the endpoint that follows and generate messages. It uses uses the JRE’s built-in timer mechanism to generate message exchanges at regular ...

Read More »

JAX-RS Client Example

java-logo

1. Introduction In this article we are going to present an example code of writing a JAX-RS Client. As the reader would be aware JAX-RS API is a standard to simplify the writing of RESTful Web Services and their clients in Java. This will be a Jersey Client and we will assume that we have a Server already set-up that ...

Read More »

GWT Datagrid Example

google-gwt-logo

In this example we will learn about GWT Datagrid. Tools and technologies used in this example are Java 1.8, Eclipse Lune 4.4.2, Eclipse GWT Plugin 2.6. 1. GWT GWT is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, ...

Read More »

Logback Encoder Example

logback-logo

In this example, we are going to discuss the Encoders in the Logback. In a few words, Encoders are responsible to convert the events into byte array. Logback, as a successor of the popular Log4j project, is designed to be the next generation logging framework with many advantages over other logging frameworks. If you don’t have overall knowledge about the ...

Read More »

JSON with JAX-RS Example

java-logo

Introduction This article presents an example of using JSON with the JAX-RS API. Well, this a simple introductory statement that carries a lot of weight as it assumes that the reader is familiar with JAX-RS, Jersey and JSON; terms that we are going to frequent in this example. For those unfamiliar but still interested in the adventure we will skim ...

Read More »

Java JList Example

java-logo

In this example we are going to demonstrate how to use Java Swing JList, JList is a Swing component with which we can display a list of elements. This component also allows the user to select one or more elements visually. This article shows how to work with JList features using a simple example where we build a GUI with a JList to ...

Read More »

Apache Camel Exchange Example

enterprise-java-logo

Camel Exchange represents an abstraction for an exchange of messages which involves a request message and its corresponding reply or an exception message. It consists of the below components: Exchange ID – A unique ID that identifies the exchange. MEP – A pattern that denotes whether you’re using the InOnly or InOut messaging. InOnly message – Contains only a one-way ...

Read More »

Java JPanel example

java-logo

Introduction JPanel is basically a virtual container that can be used to group certain components to create a user interface for Java Desktop Application. It is usually being attached to a layout (for example: GridLayout) and have it act as a consolidator of components that sticks together to form a union of programmable user interface objects. For this post, I’ll ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close