• Complain

Anghel Leonard - Pro Java 7 NIO.2

Here you can read online Anghel Leonard - Pro Java 7 NIO.2 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2011, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Anghel Leonard Pro Java 7 NIO.2
  • Book:
    Pro Java 7 NIO.2
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2011
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Pro Java 7 NIO.2: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Pro Java 7 NIO.2" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Pro Java 7 NIO.2 addresses the three primary elements that offer new input/output (I/O) APIs in Java 7, giving you the skills to write robust, scalable Java applications: An extensive file I/O API system addresses feature requests that developers have sought since the inception of the JDK A socket channel API addresses multicasting, socket binding associated with channels, and related issues An asynchronous I/O API enables mapping to I/O facilities, completion ports, and various I/O event port mechanisms to enhance scalability NIO.2 for the Java platform, known as JSR 203, is a major feature of the new Java JDK 7 under the leadership of Alan Bateman as an OpenJDK project. Take advantage of these exciting new developments with Pro Java 7 NIO.2. What youll learn How to carry out Path class operations How to get/set file metadata through the java.nio file attribute API (including POSIX) How to manage symbolic and hard links (including create, delete, and find target) How to deal with files and directories through the new java.nio.file.Files API How to use the FileVisitor API to develop file recursive operations How to explore the Watch Service API and file change notification How to use the new SeekableByteChannel API for Random Access File How to develop blocking/non-blocking socket-based applications How to explore the jewel of NIO.2: the Asynchronous Channel API How to use the Zip File System Provider and write a custom file system provider How to refactor java.io.File code Who this book is for This book is for experienced Java programmers new to Java 7 and those with some experience with Java 7. Table of Contents Working with the Path Class Metadate File Attributes Symbolic Links Files and Directories The FileVisitor Class: Recursive Operations Watch Service API Two Security Models SPI Package Mapping java.io.file Functionality to java.nio.file General Methods

Pro Java 7 NIO.2 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Pro Java 7 NIO.2" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Pro Java 7 NIO2 Copyright 2011 by Anghel Leonard This work is subject to - photo 1

Pro Java 7 NIO.2

Copyright 2011 by Anghel Leonard

This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher's location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law.

ISBN-13 (pbk): 978-1-4302-4011-2

ISBN-13 (electronic): 978-1-4302-4012-9

Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.

While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.

President and Publisher: Paul Manning
Lead Editor: Matthew Moodie
Technical Reviewer: Michael Turner
Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Morgan Ertel, Jonathan Gennick,
Jonathan Hassell, Robert Hutchinson, Michelle Lowman, James Markham, Matthew Moodie, Jeff Olson,
Jeffrey Pepper, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Gwenan Spearing, Matt Wade,
Tom Welsh
Coordinating Editor: Corbin Collins
Copy Editor: Bill McManus, Damon Larson
Compositor: Apress Production (Christine Ricketts)
Indexer: SPI Global
Artist: SPI Global
Cover Designer: Anna Ishchenko

Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail .

For information on translations, please e-mail .

Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Special Bulk SaleseBook Licensing web page at www.apress.com/bulk-sales.

Any source code or other supplementary materials referenced by the author in this text is available to readers at www.apress.com. For detailed information about how to locate your book's source code, go to www.apress.com/source-code/.

Contents at a Glance
Contents

What You Need to Use This Book

About the Author

Anghel Leonard is a senior Java developer with more than 12 years of experience - photo 2Anghel Leonard is a senior Java developer with more than 12 years of experience in Java SE, Java EE, and related frameworks. He has written and published more than 30 articles about Java technologies and more than 200 tips and tricks for JavaBoutique, O'Reilly, DevX, Developer and InformIT. In addition, he wrote two books about XML and Java (one for beginners and one for advanced developers) for Albastra, a Romanian publisher, and three books for Packt: Jboss Tools 3 Developer Guide, JSF 2.0 Cookbook and JSF 2.0 Cookbook LITE. Currently, he is developing web applications using the latest Java technologies on the market (EJB 3.0, CDI, Spring, JSF, Struts, Hibernate, and more). In the past two years, he has focused on developing rich Internet applications for geographic information systems. He can be contacted at .

About the Technical Reviewer

Boris Minkin is a Senior Technical Architect at a major financial corporation - photo 3Boris Minkin is a Senior Technical Architect at a major financial corporation. He has more than 20 years of experience working in various areas of information technology and financial services. Boris achieved his Master's Degree in Information Systems at Stevens Institute of Technology, New Jersey. His professional interests are in Internet technology, service-oriented architecture, enterprise application architecture, multi-platform distributed applications, cloud, distributed caching, Java, grid, and high performance computing. You can contact Boris at .

Acknowledgments

Thank You, God, because without You nothing is possible. Thank you to the Java 7 Project team for developing NIO.2. Thank you to the Apress team for trust in me to write this book and for the hard work you put in this project. And thank you, Octavia, my dear wife, for your love, patience, and for being next to me all the time.

Preface

This book covers all the important aspects involved in developing NIO.2-based applications. It provides clear instructions for getting the most out of NIO.2 and offers many exercises and case studies to spice up your Java 7 applications with the new I/O capabilities. You will learn to develop NIO.2 applications, beginning with simple but essential stuff and gradually moving on to complex features such as sockets and asynchronous channels.

Who This Book Is For

This book is for both experienced Java programmers who are new to Java 7 and for those who have some experience with Java 7. For the opening chapters (Chapters ), having some knowledge about a few fundamental programming concepts such as recursion, multi-threading and concurrency, Internet protocols, and network applications is essential.

What This Book Covers

This section contains a brief summary of what is covered in each chapter.

Carry out Path class operations

: Here you meet the new API for manipulating file paths; you now use the java.nio.file.Path class to manipulate a file in any file system. In this chapter I cover such important topics as declaring Path instances and syntactic operations.

Get/set file metadata through the new java.nio.file.attribute API (including POSIX)

deeply explores each of these categories.

Manage symbolic and hard links

: An unexplored territory of Java is now revealed in NIO.2. This chapter shows you how to create, follow, and manipulate symbolic and hard links.

Deal with files and directories through the new java.nio.file.Files API

: Here you learn the most common tasks that involve files/directories, such as create, read, write, update, and more. You learn how to check file status and loop file stores, how to work with temporary files, and how to delete, copy, and move files and directories.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Pro Java 7 NIO.2»

Look at similar books to Pro Java 7 NIO.2. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Pro Java 7 NIO.2»

Discussion, reviews of the book Pro Java 7 NIO.2 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.