For courses in intermediate Java programming or object-oriented programming.
Core Java, Volume II has been completely revised to reflect new Java 2 capabilities with three completely new chapters and thousands of lines of new code. Core Java, Volume 2 is the source for expert guidance on Java 2 multithreading, networking, database connectivity, remote objects, JavaBeans, CORBA support, security, native methods, drag-and-drop, pluggable look-and-feel, and much more.
"synopsis" may belong to another edition of this title.
Picking up where the authors' first volume on Java left off, Core Java 2, Volume 2 covers the more advanced features of the Java 2 platform that can add polish and power to your Java programs. The authors' accessible--yet thorough--coverage of essential Java APIs helps make this book an attractive choice for any working Java developer.
Several chapters here are especially useful for getting control of new and important Java 2 features. Sections on the new Java 2 collection classes and using advanced Swing classes (like tables and trees) are particularly good. (While many other books just list Swing APIs, this volume provides short examples and effective commentary, which will let you master these complex Swing controls.) When it comes to Java2D graphics, the authors do a nice job of comparing the old AWT to the new Java2D, including drawing basic shapes and doing text output. (These operations are surprisingly tricky in this new API). A section on the new JDBC 2 standard shows off new features like ResultSets and scrollable cursors to good effect.
More advanced topics include multithreading, internationalisation and security. Throughout, this text introduces important concepts illustrated with comprehensible examples. The APIs for individual classes are listed too, making it possible to use this book as a reference, but it is the tutorial sections that stand out here. (The authors also aren't afraid to point out where Java 2 is lacking--for example, in its printing support.)
Readers of the first volume will naturally want the second volume of Core Java 2 too. It's also a great choice for any Java developer with JDK 1.1 experience who wants a tour of new Java 2 features that are essential for serious corporate development. --Richard Dragan, Amazon.com
Table of contents
CONTENTS
1. Multithreading.
What Are Threads? Using Threads to Give Other Tasks a Chance. Running and Starting Threads. Running Multiple Threads. Thread Properties. Thread States. Moving Out of a Blocked State. Dead Threads. Interrupting Threads. Thread Priorities. Selfish Threads. Thread Groups. Synchronization. Thread Communication Without Synchronization. Synchronizing Access to Shared Resources. Object Locks. The wait and notify methods. Deadlocks. Why the stop and suspend Methods Are Deprecated. Animation. The Runnable Interface. Loading and Displaying Frames. Using a Thread to Control the Animation. Timers. Daemon Threads. Threads and Swing. Using Pipes for Communication Between Threads.
2. Collections.
Collection Interfaces. Separating Collection Interfaces and Implementation. Collection and Iterator Interfaces in the Java Library. Concrete Collections. Linked Lists. Array Lists. Hash Sets. Tree Sets. Maps. The Collections Framework. Views and Wrappers. Bulk Operations. Interfacing with Legacy APIs. Algorithms. Sorting and Shuffling. Binary Search. Simple Algorithms. Writing Your Own Algorithms. Legacy Collections. The Hashtable Class. Enumerations. Property Sets. Bit Sets.
3. Networking.
Connecting to a Server. Implementing Servers. Serving Multiple Clients. Sending E-mail. URL Connections. Retrieving Information from a Remote Site. Posting Form Data. CGI Scripts and Servlets. Sending Data to a Web Server. Harvesting Information from the Web. Applet Security. Proxy Servers. Testing the WeatherReport Applet.
4. Database Connectivity: JDBC.
The Design of JDBC. Typical Uses of JDBC. The Structured Query Language. Installing JDBC. Basic JDBC Programming Concepts. Database URLs. Making the Connection. Executing Action Commands. Querying with JDBC. Advanced SQL Types (JDBC 2). Populating a Database. Batch Updates (JDBC 2). Executing Queries. Metadata. Scrollable and Updatable Result Sets. Scrollable Result Sets (JDBC 2). Updatable Result Sets (JDBC 2).
5. Remote Objects.
Introduction to Remote Objects: The Roles of Client and Server. Remote Method Invocations. Stubs and Parameter Marshalling. Dynamic Class Loading. Setting Up Remote Method Invocation. Interfaces and Implementations. Locating Server Objects. The Client Side. Preparing for Deployment. Deploying the Program. Parameter Passing in Remote Methods. Passing Nonremote Objects. Passing Remote Objects. Using Remote Objects in Sets. Cloning Remote Objects. Inappropriate Remote Parameters. Using RMI with Applets. Java IDL and CORBA. The Interface Definition Language. A CORBA example. Implementing CORBA Servers.
6. Advanced Swing.
Trees. Tables. A Simple Table. Table Models. Cell Rendering and Editing. Working with Rows and Columns. Styled Text Components. Sliders and Progress Meters. Sliders. Progress Bars. Progress Monitors. Monitoring the Progress of Input Streams. Tool Bars and Tool Tips. Tool Tips. Component Organizers. Split Panes. Tabbed Panes. Desktop Panes and Internal Frames.
7. Advanced AWT.
The Rendering Pipeline. Shapes. Areas. Strokes. Paint. Coordinate Transformations. Clipping. Transparency and Composition. Rendering Hints. Image Manipulation. Accessing Image Data. Filtering Images. Printing. Printing Single Sheets. Printing Multiple Pages. Print Preview. The Clipboard. Classes and Interfaces for Data Transfer. Transferring Text. Building a Transferable. Building an Image Transferable. Using the ImageSelection Class. Transferring Java Objects via the System Clipboard. Drag and Drop. Drop Targets. Drag Sources.
8. JavaBeans?
Why Beans? The Bean-Writing Process. The BDK and the BeanBox. Using the BeanBox. Building an Image Viewer Application via Beans. Naming Patterns for Bean Properties and Events. Bean Property Types. Simple Properties. Indexed Properties. Bound Properties. Constrained Properties. Adding Custom Bean Events. Property Editors. Writing a Property Editor. Going Beyond Naming Patterns-Building a BeanInfo Class. FeatureDescriptor Objects. Customizers. Writing a Customizer Class. The Bean Context. Advanced Uses of Introspection. Finding Sibling Beans. Using Bean Context Services.
9. Security.
Class Loaders. Writing Your Own Class Loader. Bytecode Verification. Security Managers and Permissions. Java 2 Platform Security. Security Policy Files. Custom Permissions. Implementing a Permissions Class. A Custom Security Manager. The java.security Package. Message Digests. Digital Signatures. Authentication. The X.509 Certificate Format. Generating Certificates. Signing Certificates. Code Signing. Signing JAR Files. Deployment Tips. Software Developer Certificates.
10. Internationalization.
Locales. Numbers and Currencies. Date and Time. Text. Collation (Ordering). Text Boundaries. Message Formatting. Choice Formats. Character Set Conversion. International Issues and Source Files. Resource Bundles. Locating Resources. Placing Resources into Bundles. Graphical User Interface Localization. Localizing an Applet.
11. Native Methods.
Calling a C Function from the Java Programming Language. Working with the printf Function. Numeric Parameters and Return Values. Using printf for Formatting Numbers. String Parameters. Calling sprintf in a Native Method. Accessing Object Fields. Accessing Static Fields. Signatures. Calling Java Methods. Nonstatic Methods. Static Methods. Constructors. Alternative Method Invocations. Arrays. Error Handling. The Invocation API. A Complete Example: Accessing the Windows Registry. An Overview of the Windows Registry. A Java Platform Interface for Accessing the Registry. Implementing the Registry Access Functions as Native Methods.
Index.
© 2000,
"About this title" may belong to another edition of this title.
FREE shipping within U.S.A.
Destination, rates & speedsSeller: SecondSale, Montgomery, IL, U.S.A.
Condition: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00071634728
Quantity: 2 available
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Hardcover. Condition: Fair. No Jacket. Readable copy. Pages may have considerable notes/highlighting. ~ ThriftBooks: Read More, Spend Less 4.05. Seller Inventory # G0130819344I5N00
Quantity: 1 available
Seller: Goodwill Books, Hillsboro, OR, U.S.A.
paperback. Condition: Acceptable. Fairly worn, but readable and intact. If applicable: Dust jacket, disc or access code may not be included. Seller Inventory # 3IIJZF001IV3
Quantity: 2 available
Seller: Better World Books, Mishawaka, IN, U.S.A.
Condition: Good. Bk&CD-Rom. Used book that is in clean, average condition without any missing pages. Seller Inventory # 4589379-75
Quantity: 1 available
Seller: Wonder Book, Frederick, MD, U.S.A.
Condition: Very Good. Very Good condition. With CD! Volume 2. 4th edition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. NOT AVAILABLE FOR SHIPMENT OUTSIDE OF THE UNITED STATES. Seller Inventory # R05S-01280
Quantity: 2 available
Seller: Bookbot, Prague, Czech Republic
Softcover. Condition: Fine. Seller Inventory # 58f5a3dc-5de0-42b8-819a-5c43bda15421
Quantity: 1 available
Seller: Books@Ruawai, Kaipara District, New Zealand
Soft cover. Condition: Very Good. First Edition. Includes CD-ROM. A very heavy book - estra postage will apply. Seller Inventory # 020798
Quantity: 1 available
Seller: Basi6 International, Irving, TX, U.S.A.
Condition: Brand New. New. US edition. Expediting shipping for all USA and Europe orders excluding PO Box. Excellent Customer Service. Seller Inventory # ABEJUNE24-59754
Quantity: 1 available
Seller: Majestic Books, Hounslow, United Kingdom
Condition: New. pp. 952. Seller Inventory # 7577009
Quantity: 1 available
Seller: Books Puddle, New York, NY, U.S.A.
Condition: New. pp. 952 4th Edition. Seller Inventory # 26270958
Quantity: 1 available