List/Grid Java Subscribe to the RSS feed of category Java

Arrays.sort versus Arrays.parallelSort
We all have used Arrays.sort to sort objects and primitive arrays. This API used merge sort OR Tim Sort underneath to sort the contents as shown below: public ...

Spring MVC – Easy REST-Based JSON Services with @ResponseBody
Spring 3 makes JSON REST services really easy. This tutorial will show you how in just a few steps. You can grab the code on GitHub. Prerequisites You should have a working Spring ...

MOXy’s Object Graphs & Dynamic JAXB
JAXB (JSR-222) makes it easy for you to convert instances of your domain classes to/from XML. The EclipseLink MOXy implementation offers an extension called Dynamic JAXB where instead ...

Introducing EclipseLink JPA-RS
In a previous series of posts I covered how to create a JAX-RS service that leveraged JPA for the persistence layer. EclipseLink contains a component called JPA-RS that can be used ...

Java EE CDI ConversationScoped example
1. Introduction As we have seen previously on Java EE CDI bean scopes CDI provides a set of available built-in bean scopes. One of these scopes is the Conversation scope. In this tutorial ...

On Java 8′s introduction of Optional
I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid NullPointerException, as API consumers that get Optional return values from ...

Spring JpaRepository Example (In-Memory)
This post describes a simple Spring JpaRepository example using an in memory HSQL database. The code example is available from GitHub in the Spring-JpaRepository directory. It is based ...

SuperMan bound by Java Monitors
Its a dark time in the life of Super Man. Jor-El wants him to go on a voyage to prepare him for his ultimate destiny. Yet the Earth is faced with dooms-day and the Justice League needs ...

How Hadoop Works? HDFS case study
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed ...

There is no application server
We have recently posted data about application server market share we gathered from the free Plumbr deployments. And it resonated well – via different channels we got hundreds of ...


