October 26, 2012

Java Preferences API - An Introduction



In this Java Tutorial we are going to discuss about a somewhat old but not so famous API of the Java Programing Language. It has been a long time since the Java Preferences API has been introduced to Java SE (JDK). Java Preferences API is extremely lightweight and a cross platform persistent API. Being a persistent API, it does not deal with the database engines but uses OS specific backend to store and retrieve data. 

October 3, 2012

Java Collections API Enhancements: Thanks to Closures – Lambda Expressions



Friends, in the last tutorial we had a detailed introduction to Java 8’s Feature of Closures – Lambda Expressions. During the discussion, we understood the issues with the plain old Anonymous Inner Classes, learnt the Java Closures (Lamba Expressions) Syntax, and also practiced some of our own Java Lambda Expression examples along with the conceptual and practical understanding of Functional Interfaces, Method References, Constructor References and Default Methods.

August 14, 2012

‘At First Sight’ With Closures in Java



The intent of this Online Tutorial on Java is to give a high level overview of the upcoming Lambda Project, which is being developed upon JSR-335 (Second Early Draft Review of JSR-335 is closed in June, 2012). The Lambda Project is going to be a part of Java SE 8 (Java 1.8), which is set to be released in 2013.

August 9, 2012

Introduction to Fork Join Framework

Over the years of evolutions on the hardware fronts, finally we are in the era of multicore processors, which have been capturing its place in our day-to-day devices. Multicore processors are able to perform multiple parallel tasks in separate cores. This has made the programmers and developers to think about doing Parallel Programming or Multi Core Programming and making maximum benefits out of the hardware potentials.

Servlet 3.0 Web Fragments and other Features

This article covers a very exciting feature of Servlets 3.0 and that is support for Web Fragments. The Java Servlets have come up with lots of cool features to bring up Ease of Development, Plug-ability and Asynchronous Request Processing. In this article we will have a detailed discussion on Web Fragments with examples, but to start with, lets have a brief overview of other features of Servlets 3.0.