All of java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. java provides many different kinds of streams, each with its own applicatio...
详细信息
ISBN:
(纸本)9781565924857
All of java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output streams, for reading and writing binary data; and readers and writers, for reading and writing textual (character) data. You're almost certainly familiar with the basic kinds of streams--but did you know that there's a CipherInputStream for reading encrypted data? And a ZipOutputStream for automatically compressing data? Do you know how to use buffered streams effectively to make your I/O operations more efficient? java I/O tells you all you ever need to know about streams--and probably more.A discussion of I/O wouldn't be complete without treatment of character sets and formatting. java supports the UNICODE standard, which provides definitions for the character sets of most written languages. Consequently, java is the first programming language that lets you do I/O in virtually any language. java also provides a sophisticated model for formatting textual and numeric data. java I/O shows you how to control number formatting, use characters aside from the standard (but outdated) ASCII character set, and get a head start on writing truly multilingual *** I/O includes:Coverage of all I/O classes and related classes In-depth coverage of java's number formatting facilities and its support for International character sets
From the Publisher: Follow your own path to expertise with this self-guided tour of the java(TM) programming language. Written by two members of the javaSoft team at Sun Microsystems, the book employs a hands-on inter...
From the Publisher: Follow your own path to expertise with this self-guided tour of the java(TM) programming language. Written by two members of the javaSoft team at Sun Microsystems, the book employs a hands-on interactive approach to teaching java basics, object-oriented concepts, applet programming, and everything else you need to know to become a proficient java programmer. Through a task-oriented, example-driven approach, The java Tutorial introduces you to fundamental concepts and applications. Designed so that you can customize your own path through the specific information you need, the book explains the nuts and bolts of the language, applet construction, and the fundamental java classes. You will also learn about more advanced topics such as creating a graphical user interface (GUI), using multiple threads, and working with java's networking capabilities. This Second Edition has been extensively updated to cover API changes in java 1.1 regarding UI, networking, and I/O, and to include the latest java language developments. New and updated material includes: broadcasting to other applications via a multicast socket new I/O features, including character streams and object serialization the latest developments in applet tags using the 1.1 AWT event system new language features, such as nested classes tips for writing 100% Pure java programs updating 1.0 programs to use the 1.1 API In addition, the Second Edition has been revised and reorganized to offer a stronger and more cohesive presentation, making this best-selling and award-winning book even better. The Tutorial now starts with a new lesson that introduces you to the java phenomenon and provides a foundation for understanding the rest of the book. The accompanying CD-ROM contains the Tutorial and all its code samples, versions of the java Development Kit(TM) (JDK) and the JDK documentation for each major platform, a 1.1-compatible version of the Swing/JFC package of GUI components, and the Hotjava(TM) B
A few years ago, the hype surrounding applets put java on the map as a programming language for the Web. Today, java servlets stand poised to take java to the next level as a Web development language. The main reason ...
详细信息
ISBN:
(纸本)9781565923911
A few years ago, the hype surrounding applets put java on the map as a programming language for the Web. Today, java servlets stand poised to take java to the next level as a Web development language. The main reason is that servlets offer a fast, powerful, portable replacement for CGI *** java Servlet API, introduced as the first standard extension to java, provides a generic mechanism to extend the functionality of any kind of server. Servlets are most commonly used, however, to extend Web servers, performing tasks traditionally handled by CGI programs. Web servers that can support servlets include: Apache, Netscape's FastTrack and Enterprise Servers, Microsoft's IIS, O'Reilly's WebSite, and javaSoft's java Web *** beauty of servlets is that they execute within the Web server's process space and they persist between invocations. This gives servlets tremendous performance benefits over CGI programs. Yet because they're written in java, servlets are far less likely to crash a Web server than a C-based NSAPI or ISAPI extension. Servlets have full access to the various java APIs and to third-party component classes, making them ideal for use in communicating with applets, databases, and RMI servers. Plus, servlets are portable between operating systems and between servers -- with servlets you can "write once, serve everywhere."java Servlet Programming covers everything you need to know to write effective servlets and includes numerous examples that you can use as the basis for your own servlets. The book explains the servlet life cycle, showing how you can use servlets to maintain state information effortlessly. It also describes how to serve dynamic Web content, including both HTML pages and multimedia data. Finally, it explores more advanced topics like integrated session tracking, efficient database connectivity using JDBC, applet-servlet communication, inter-servlet communication, and internationalization
From the Publisher: From the creators of the JDBC API at javaSoft, here is the definitive guide to this vital new technology. Appropriate for java programmers of all skill levels, this book provides explanations of JD...
ISBN:
(纸本)0201309955;9780201309959
From the Publisher: From the creators of the JDBC API at javaSoft, here is the definitive guide to this vital new technology. Appropriate for java programmers of all skill levels, this book provides explanations of JDBC and java fundamentals, a step-by-step tutorial to bring you up to speed, and an extensively annotated reference to all JDBC classes and interfaces.
From the Publisher: The java Fundamental Classes Reference provides complete reference documentation on the core java 1.1 classes. These classes contain architecture-independent methods that serve as java's gatewa...
From the Publisher: The java Fundamental Classes Reference provides complete reference documentation on the core java 1.1 classes. These classes contain architecture-independent methods that serve as java's gateway to the real world by providing access to resources such as the network and the host filesystem. The core classes also include utilities for working with strings, I/O streams, mathematical functions, vectors, and hashtables. The java Fundamental Classes Reference covers the classes that comprise the ***, ***, ***, ***, ***, ***, ***, and *** packages. These classes provide general-purpose functionality that is fundamental to every java application. This edition of the java Fundamental Classes Reference describes Version 1.1 of the java Development Kit.
From the Publisher: Follow you own path to expertise with this self-guided tour for the java programming language. Written by two members of the javaSoft team at Sun, the book employs a hands-on interactive approach t...
ISBN:
(纸本)0201634546;9780201634549
From the Publisher: Follow you own path to expertise with this self-guided tour for the java programming language. Written by two members of the javaSoft team at Sun, the book employs a hands-on interactive approach to teaching java basics, object-oriented concepts, applet programming and everything else you need to know to become a proficient java programmer. Through plentiful examples and skill-building exercises, The java Tutorial introduces you to fundamental concepts and applications. Designed so that you can customize your own path through the specific information you need to learn, the book explains the nuts and bolts of the language, applet construction, and the core java classes. You will also learn about more advanced topics such as creating a user interface with java, threads programming, working with java's networking and security capabilities, and adding non-java libraries to java applications. The accompanying CD-ROM contains the tutorial and all its code samples, the java Developers Kit (JDK), and code for all the winning applets in the java International Programming Contest as well as developer tools from MetroWerks, SunSoft, Symantec, and others.
暂无评论