Java 7 New Features Cookbook

( 1 )
Other sellers (Paperback)
  • All (10) from $20.54   
  • New (6) from $25.92   
  • Used (4) from $20.54   
Sending request ...

More About This Book

Product Details

  • ISBN-13: 9781849685627
  • Publisher: Packt Publishing
  • Publication date: 2/2/2012
  • Pages: 384
  • Product dimensions: 7.50 (w) x 9.25 (h) x 0.79 (d)

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted April 4, 2012

    more from this reviewer

    mostly filesystem improvements

    Remember when java came out in 95-6? During next 10 years, it rapidly improved, both with the intrinsic language and with the available default set of libraries that came with the standard distributions. So what is there to say about java 7? The overall impression of this book is that you get a lot of useful fine tuning. Many incremental improvements that can make your code more concise, and thus more understandable and less error prone.

    A large set of changes deals with paths of files in a filesystem. You have probably had to do grungy futzing around with and related classes within to get out of the jvm and access and manipulate the filesystem. Java 7 offers java.nio.file.*, with a plentitude of nifty classes. One immediate point is that these treat both the unix and Microsoft Windows cases of how filesystems are represented. Indeed, the code snippets cover these cases.

    Reassuringly, there is backward compatibility with the classes. But programmers are encouraged by the text to migrate to the next versions.

    One cool convenience function is the ability to normalise a path, which might have redundant cases of '.' and '..' embedded in their strings. Making a standard form enables more robust comparisons and other manipulations.

    But maybe the biggest new thing with paths is the ability to use symbolic links. These have been a part of unix for over 25 years. So it is a little puzzling why we had to wait till 2011-2 to get them handled properly by the 7th [!] major release of the language. Better late than never, no doubt.

    An entire chapter is devoted to improved handling of file management and security, including integrating the use of Access Control Lists.

    Roughly half the book deals with the filesystem. While the GUI changes are relatively limited. Now you can vary the opacity of a window, or control its shape. Another related feature is the means to vary the gradient of a partially translucent window. It does seem that GUI changes are saturating, unless there is some conceptual breakthrough for a future java.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)