Archive | Java 7.0 RSS feed for this section

Simple introduction to Fork-Join Framework in Java 7

June 12, 2012

3 Comments

Fork-Join Framework was added as part of Java 7 which makes use of the ExecutorService interface to distribute tasks to the worker threads in the thread pool. The difference in Fork-Join is that the ideal worker threads can steal queued subtasks from the other tasks and execute them. There are a few important classes you [...]

email

java.util.Objects- A static utility for objects introduced in Java 7

June 6, 2012

6 Comments

A lot of you would be unaware of this new static utility for objects introduced in Java 7- its the java.util.Objects class. I came across this usage of class while I was browsing through the updated Java 8 collections API. The static utility methods added as part of java.util.Objects class allow us to perform null-safe [...]

Whats new in Java 7 – try-with-resource construct in Project Coin

May 4, 2012

3 Comments

In our previous post we looked at different features added as part of Project Coin, in this post we will look at another language construct added as part of Java 7 and Project Coin in particular. It is the try-with-resource construct also called as Automatic Resource Management. Before getting into the details of the construct, [...]

What's new in Java 7- Features as part of Project Coin

May 2, 2012

7 Comments

As part of the Project Coin, there were quite a few language enhancements were added to the Language. The last time Java language changed was in the Java 5 release when Generics were added. The changes in introduced in the Java 7 were welcomed by java community around the world. This was seen as a stepping [...]

Dealing with Directories and Directory Trees in Java 7.0

April 21, 2011

2 Comments

This article is based on The Well-Grounded Java Developer, to be published Summer-2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) eBooks and pBooks. MEAPs are sold exclusively through Manning.com. All pBook purchases include free PDF, mobi and epub. When mobile formats become available all customers [...]

New Features in Java 7.0 – Part 1

February 23, 2009

0 Comments

Introduction This article discusses the new features that are available in Java 7.0. Java 7.0 comes with bunch of new features – language level changes as well as API level changes and this article concentrates on the new API features such as Cache API, New Date and Time API and New IO 2 as well [...]

Introduction to Java Module System in Java 7.0

January 16, 2009

0 Comments

Introduction This article explains the new Java Module System that will be included in the Java 7.0 release. Modules are new to the java language and they provide a standard for developing and deploying applications. The article will explain the various sub components that are available as part of the Java Module System’s architecture. The [...]