書誌事項

Core JAVA 2

Cay S. Horstmann, Gary Cornell

(Java series)

Sun Microsystems Press, c2000-2001

  • v. 1
  • v. 2

大学図書館所蔵 件 / 6

この図書・雑誌をさがす

注記

v. 1. Fundamentals -- v. 2. Advanced features

Includes index

内容説明・目次

巻冊次

v. 2 ISBN 9780130819345

内容説明

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.

目次

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.
巻冊次

v. 1 ISBN 9780130894687

内容説明

Ask any experienced Java programmer: Core Java delivers the real-world guidance you need to accomplish even the most challenging tasks. That's why it's been an international best seller for five straight years. Now thoroughly updated to cover Sun's brand-new JDK 1.3, Core Java 2, Volume 1: Fundamentals offers revamped discussions of object-oriented Java development, JDK 1.3's enhanced Swing user interface components, and much more. It delivers even more of the robust programs previous editions are famous for -- updated wherever appropriate to reflect JDK 1.3's deployment and performance enhancements, and to utilize improved Swing classes. It includes thorough explanations of JDK 1.3 dynamic proxy classes; inner classes; exception handling; debugging; the current Java event model; Input/Output; file management; and much more. The CD-ROM contains complete source code examples, the JDK 1.3, and a large library of valuable software, including Forte for Java, Community Edition.

目次

1. An Introduction to Java. Java as a Programming Tool. Advantages of Java. The Java "White Paper" Buzzwords. Simple. Object Oriented. Distributed. Robust. Secure. Architecture Neutral. Portable. Interpreted. High Performance. Multithreaded. Dynamic. Java and the Internet. Applets at Work. Server-side Java. A Short History of Java. Common Misconceptions About Java. 2.The Java Programming Environment. Installing the Java Software Development Kit. Setting the Execution Path. Installing the Library Source and Documentation. Installing the Core Java Program Examples. Navigating the Java Directories. Development Environments. Using the Command Line Tools. Troubleshooting Hints. Using an Integrated Development Environment. Locating Compilation Errors. Compiling and Running Programs from a Text Editor. Graphical Applications. Applets. 3. Fundamental Programming Structures in Java. A Simple Java Program. Comments. Data Types. Integers. Floating-Point Types. The Character Type. The boolean Type. Variables. Assignments and Initializations. Constants. Operators. Increment and Decrement Operators. Relational and boolean Operators. Bitwise Operators. Mathematical Functions and Constants. Conversions Between Numeric Types. Casts. Parentheses and Operator Hierarchy. Strings. Concatenation. Substrings. String Editing. Testing Strings for Equality. Reading the On-line API Documentation. Reading Input. Formatting Output. Control Flow. Block Scope. Conditional Statements. Indeterminate Loops. Determinate Loops. Multiple Selections-the switch Statement. Breaking Control Flow. Big Numbers. Arrays. Array Initializers and Anonymous Arrays. Copying Arrays. Command Line Parameters. Sorting an Array. Multidimensional Arrays. Ragged Arrays. 4. Objects and Classes. Introduction to Object-Oriented Programming. The Vocabulary of OOP. Objects. Relationships Between Classes. Contrasting OOP with Traditional Procedural Programming Techniques. Using Existing Classes. Objects and Object Variables. The Gregorian Calendar Class of the Java Library. Building Your Own Classes. An Employee Class. Using Multiple Source Files. Analyzing the Employee Class. First Steps with Constructors. The Methods of the Employee Class. Method Access to Private Data. Private Methods. Final Instance Fields. Static Fields and Methods. Static Fields. Constants. Static Methods. Factory Methods. The main Method. Method Parameters. Object Construction. Overloading. Default Field Initialization. Default Constructors. Explicit Field Initialization. Parameter Names. Calling Another Constructor. Initialization Blocks. Object Destruction and the finalize Method. Packages. Using Packages. Documentation Comments. How to Insert Comments. Class Comments. Method Comments. Field Comments. General Comments. Package and Overview Comments. How to Extract Comments. Class Design Hints. 5. Inheritance. Extending Classes. Inheritance Hierarchies. Polymorphism. Dynamic Binding. Preventing Inheritance: Final Classes and Methods. Casting. Abstract Classes. Protected Access. Object: The Cosmic Superclass. The equals and toString methods. Generic Programming. Array Lists. Object Wrappers. The Class Class. Reflection. Using Reflection to Analyze the Capabilities of Classes. Using Reflection to Analyze Objects at Run Time. Using Reflection to Write Generic Array Code. Method Pointers! Design Hints for Inheritance. 6. Interfaces and Inner Classes. Interfaces. Properties of Interfaces. Interfaces and Abstract Classes. Interfaces and Callbacks. Object Cloning. Inner Classes. Using an Inner Class to Access Object State. Special Syntax Rules for Inner Classes. Are Inner Classes Useful? Are They Actually Necessary? Are They Secure? Local Inner Classes. Static Inner Classes. Proxies. Properties of Proxy Classes. 7. Graphics Programming. Introduction to Swing. Creating a Frame. Frame Positioning. Displaying Information in a Panel. 2D Shapes. Colors. Filling Shapes. Text and Fonts. Images. 8. Event Handling. Basics of Event Handling. Example: Handling a button click. Selecting Event Listeners. Example: Changing the Look and Feel. Example: Capturing Window Events. The AWT Event Hierarchy. Semantic and Low-Level Events in the AWT. Event Handling Summary. Low-Level Events. Focus Events. Keyboard Events. Consuming Events. Mouse Events. Actions. Multicasting. The Event Queue. Adding Custom Events. 9. User Interface Components With Swing. The Model-View-Controller Design Pattern. A Model-View-Controller Analysis of Swing Buttons. An Introduction to Layout Management. Border Layout. Panels. Text Input. Text Fields. Input Validation. Password Fields. Text Areas. Labels and Labeling Components. Selecting Text. Editing Text. Making Choices. Check Boxes. Radio Buttons. Borders. Combo Boxes. Sliders. Menus. Building Menus. Icons in Menu Items. Check Box and Radio Button Menu Items. Pop-up Menus. Keyboard Mnemonics and Accelerators. Enabling and Disabling Menu Items. Tool Bars. Tool Tips. Sophisticated Layout Management. Grid Layout. Box Layout. Grid Bag Layout. The gridx, gridy, gridwidth, and gridheight Parameters. Weight Fields. The fill and anchor Parameters. Padding. An Alternative Method to Specify the gridx, gridy, gridwidth, and gridheight Parameters. Using No Layout Manager. Custom Layout Managers. Traversal Order. Dialog Boxes. Option Dialogs. Creating Dialogs. Data Exchange. File Dialogs. Color Choosers. 10. Applets. Applet Basics. A Simple Applet. Running the Applet Viewer. Viewing an Applet in a Browser. Converting Applications to Applets. Life Cycle of an Applet. Security Basics. Pop-Up Windows in Applets. The Applet HTML Tags and Attributes. Applet Attributes for Positioning. Applet Attributes for Code. Applet Attributes for Java-Challenged Viewers. The OBJECT Tag. Java Plug-In Tags. Passing Information to Applets. Multimedia. URLs. Obtaining Multimedia Files. The Applet Context. Inter-Applet Communication. Displaying Items in the Browser. A Bookmark Applet. It's an Applet. It's an Application. It's Both! JAR Files. The Manifest. Jar Caching. Self-Running JAR files. Resources. Optional Packages. Sealing. 11. Exceptions and Debugging. Dealing with Errors. The Classification of Exceptions. Advertising the Exceptions That a Method Throws. How to Throw an Exception. Creating Exception Classes. Catching Exceptions. Catching Multiple Exceptions. Rethrowing Exceptions. A Final Look at Java Error- and Exception-Handling. Some Tips on Using Exceptions. Debugging Techniques. Useful Tricks for Debugging. Assertions. Using a Console Window. Tracing AWT Events. The AWT Robot. Profiling. Coverage Testing. Using a Debugger. The JDB Debugger. The Forte Debugger. 12. Streams and Files. Streams. Reading and Writing Bytes. The Complete Stream Zoo. Layering Stream Filters. Data Streams. Random-Access File Streams. ZIP File Streams. Putting Streams to Use. Writing Delimited Output. String Tokenizers and Delimited Text. Reading Delimited Input. Random-Access Streams. Object Streams. Storing Objects of Variable Type. Object Serialization File Format. The Problem of Saving Object References. Output Format for Object References. Security. Versioning. Using Serialization for Cloning. File Management. Appendix. Index.

「Nielsen BookData」 より

関連文献: 1件中  1-1を表示

詳細情報

  • NII書誌ID(NCID)
    BA51124591
  • ISBN
    • 0130894680
    • 0130819344
  • 出版国コード
    us
  • タイトル言語コード
    eng
  • 本文言語コード
    eng
  • 出版地
    San Antonio, Calif.
  • ページ数/冊数
    2 v.
  • 大きさ
    24 cm.
  • 付属資料
    2 computer laser optical discs (4 3/4 in.)
  • 分類
  • 件名
  • 親書誌ID
ページトップへ