Muutke küpsiste eelistusi

E-raamat: Java NIO: Regular Expressions and High-Performance I/O

  • Formaat: 304 pages
  • Ilmumisaeg: 27-Aug-2002
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9780596516611
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 26,90 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 304 pages
  • Ilmumisaeg: 27-Aug-2002
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9780596516611
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

This title provides a complete introduction to this major improvement in the new 1.4 version of Java, the new Java.Nio package. It includes information missing from previous editions of Java that are critical to writing high-performance applications.

Many serious Java programmers, especially enterprise Java programmers, consider the new I/O API--called NIO for New Input/Output--the most important feature in the 1.4 version of the Java 2 Standard Edition. The NIO package includes many things that have been missing from previous editions of Java that are critical to writing high-performance, large-scale applications: improvements in the areas of buffer management, scalable network and file I/O, character-set support, and regular expression matching. Most of all, it boosts performance and speed dramatically.Java NIO explores the new I/O capabilities of version 1.4 in detail and shows you how to put these features to work to greatly improve the efficiency of the Java code you write. This compact volume examines the typical challenges that Java programmers face with I/O and shows you how to take advantage of the capabilities of the new I/O features. You ll learn how to put these tools to work using examples of common, real-world I/O problems and see how the new features have a direct impact on responsiveness, scalability, and reliability. The book includes:

  • A rundown of the new features in NIO
  • Basic and advanced I/O Concepts
  • Binary I/O and the new buffer classes
  • Memory mapped files and file locking
  • Character I/O: encoding, decoding and transforming character data
  • Regular Expressions and the new java.util.regex package
  • Muliplexing with java.nio
Because the NIO APIs supplement the I/O features of version 1.3, rather than replace them, you'll also learn when to use new APIs and when the older 1.3 I/O APIs are better suited to your particular application.Java NIO is for any Java programmer who is interested in learning how to boost I/O performance, but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf. With the NIO APIs, Java no longer takes a backseat to any language when it comes to performance. Java NIO will help you realize the benefits of these exciting new features.


This title provides a complete introduction to this major improvement in the new 1.4 version of Java, the new Java.Nio package. It includes information missing from previous editions of Java that are critical to writing high-performance applications.
Preface ix
Introduction
1(14)
I/O Versus CPU Time
1(1)
No Longer CPU Bound
2(1)
Getting to the Good Stuff
3(1)
I/O Concepts
4(10)
Summary
14(1)
Buffers
15(35)
Buffer Basics
16(14)
Creating Buffers
30(3)
Duplicating Buffers
33(2)
Byte Buffers
35(14)
Summary
49(1)
Channels
50(70)
Channel Basics
51(9)
Scatter/Gather
60(5)
File Channels
65(15)
Memory-Mapped Files
80(12)
Socket Channels
92(20)
Pipes
112(5)
The Channels Utility Class
117(2)
Summary
119(1)
Selectors
120(31)
Selector Basics
121(8)
Using Selection Keys
129(3)
Using Selectors
132(11)
Asynchronous Closability
143(1)
Selection Scaling
143(6)
Summary
149(2)
Regular Expressions
151(39)
Regular Expression Basics
152(2)
The Java Regular Expression API
154(23)
Regular Expression Methods of the String Class
177(1)
Java Regular Expression Syntax
178(4)
An Object-Oriented File Grep
182(7)
Summary
189(1)
Character Sets
190(41)
Character Set Basics
190(2)
Charsets
192(23)
The Charset Service Provider Interface
215(14)
Summary
229(2)
A. NIO and the JNI 231(3)
B. Selectable Channels SPI 234(4)
C. NIO Quick Reference 238(31)
Index 269
Ron Hitchens is a California based computer consultant and educator whose career dates back to the disco era. His first exposure to computers was operating mainframes in the Air Force. His first programming language was COBOL, learned from a friend's borrowed textbook. Since that time Ron has used just about every computer system and programming language you can imagine: from 6502 assembler to XSLT. Ron spent much of the 1980s at the University of Texas at Austin, as student and staffer, where he burrowed deep into the Unix kernel and assisted with many interesting research projects. Ron spent the next several years doing kernel work for clients such as IBM and Unisys. Ron has also developed and taught professional development courses for the same clientele. Following a brief flirtation with C++, Ron fell in love with Java and has spent the last several years employing server-side Java technologies to build Web applications for clients ranging from start-ups to Fortune 500 companies. Ron is Founder and President of Ronsoft Technologies (www.ronsoft.com). Ron lives in California with his wife and co-pilot, Karen, and a dog named Boomer. When Ron isn't working (hah!) he and Karen enjoy snorkeling, bicycling and walking the dog.