1. Trang chủ
  2. » Công Nghệ Thông Tin

Prentice hall just java 2 6th edition jul 2004 ISBN 0131482114

1,9K 144 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1.869
Dung lượng 9,49 MB

Nội dung

• • Table of Contents Index Just Java™ 2 SIXTH EDITION By PETER van der LINDEN Publisher : Addison Wesley Pub Date : June 21, 2004 ISBN : 0-13-148211-4 Pages : 848 The #1 introduction to J2SE 1.5 and enterprise/server-side development! An international bestseller for eight years, Just Java(TM) 2 is the complete, accessible Java tutorial for working programmers at all levels Fully updated and revised, this sixth edition is more than an engaging overview of Java 2 Standard Edition (J2SE 1.5) and its libraries: it's also a practical introduction to today's best enterprise and server-side programming techniques Just Java(TM) 2, Sixth Edition, reflects both J2SE 1.5 and the latest Tomcat and servlet specifications Extensive new coverage includes: New chapters on generics and enumerated types New coverage of Web services, with practical examples using Google and Amazon Web services Simplified interactive I/O with printf() Autoboxing and unboxing of primitive types Static imports, foreach loop construct, and other new language features Peter van der Linden delivers expert advice, clear explanations, and crisp sample programs throughoutincluding dozens new to this edition Along the way, he introduces: The core language: syntax, objects, interfaces, nested classes, compiler secrets, and much more Key libraries: date and calendar, pattern matching, network software, mapped I/O, utilities and generic collections Server-side technology: network server systems, a complete tiny HTML Web server, and XML in Java Enterprise J2EE: Sql and JDBC(TM) tutorial, servlets and JSP and much more Client-side Java: fundamentals of JFC/Swing GUI development, new class data sharing details Companion Web Site All the book's examples and sample programs are available at http://afu.com • • Table of Contents Index Just Java™ 2 SIXTH EDITION By PETER van der LINDEN Publisher : Addison Wesley Pub Date : June 21, 2004 ISBN : 0-13-148211-4 Pages : 848 Copyright Preface Acknowledgments Part 1 Language Chapter 1 What Can Java Do for Me? What Java Does for You: Software Portability Why Portability Matters One Size Doesn't Fit All Language and Libraries Some Light ReliefA Java Desktop Application Chapter 2 Introducing Objects Downloading and Compiling Java What Is a Class? Java Digital Clock Program Exercises What Is an Object? Summary Some Light ReliefNapster and LimeWire Chapter 3 Primitive Types, Wrappers, and Boxing Literal Values char long short double Object Wrappers for Primitives Performance Implications of Autoboxing java.lang.String String Comparison boolean int byte Limited Accuracy of Floating Point Types float Autoboxing and Unboxing java.lang.Object Language Support for String Concatenation Some Light ReliefHatless Atlas Chapter 4 Statements and Comments Organizing Statements Expression Statements Looping Statements Comments Exercises Selection Statements Transfer of Control Statements Reading the Java API Some Light ReliefMiniScribe: The Hard Luck Hard Disk Chapter 5 OOP Part IIConstructors and Visibility Polymorphism Is a Long Word for a Short Topic Creating New Objects: Constructors Variable-Arity Methods How the JDK Finds Classes Exercises More About Methods Packages Access Modifiers Some Light ReliefIt's Not Your Father's IBM Chapter 6 Static, Final, and Enumerated Types What Field Modifier static Means What Field Modifier final Means Statements Updated for Enumerations Some Light ReliefThe Haunted Zen Garden of Apple Why Enumerate a Type? More Complicated Enumerated Types Chapter 7 Names, Operators, and Accuracy Keywords Names Expressions Operators How Accurate Are Calculations? What Happens on Overflow? Punctuation Terminology Identifiers Arrays Associativity Widening and Narrowing Conversions Some Light ReliefFurby's Brain Transplant Chapter 8 More OOPExtending Classes Inheritance Polymorphism Exercises The Class Whose Name Is Class Some Light ReliefThe Nerd Detection System Chapter 9 Arrays Understanding and Creating Arrays Arrays of Arrays The Math Package Have Array Brackets, Will Travel Some Light ReliefThink Big (and Small) Chapter 10 Exceptions Run-time Internals: The Heap Garbage Collection Exceptions Further Reading Run-time Internals: The Stack The Assert Statement Some Light ReliefMaking an Exception for You Chapter 11 Interfaces What Problem Does an Interface Solve? Interfaces Versus Abstract Classes What Protected Really Means The Class Double Some Light ReliefThe Java-Powered Toaster Interface java.lang.Comparable Granting Permission Through an InterfaceCloneable Using Interface Callbacks for GUI Event Handlers Exercises Chapter 12 Nested Classes Introduction to Nested Classes Inner Member Classes Inner Anonymous Classes The Class Character Nested Static Classes Inner Local Classes How Inner Classes Are Compiled Exercises Some Light ReliefThe Domestic Obfuscated Java Code Non-Competition Part 2 Key Libraries Chapter 13 Doing Several Things at Once: Threads What Are Threads? The Lifecycle of a Thread Four Kinds of Threads Programming Chapter 14 Advanced Thread Topics Two Ways to Obtain a New Thread Thread Groups Some Light ReliefThe Motion Sensor Solution Mutually Exclusive Threads Communicating Mutually Exclusive Threads Thread Local Storage An Aside on Design Patterns Exercises Piped I/O for Threads Package java.util.concurrent Further Reading Some Light ReliefAre You Certifiable? I Am Chapter 15 Explanation Terminology Refresher: Parameters Versus Arguments What Generic Code Looks Like The Problem that Generic Code Addresses Generic Interfaces BoundsRequiring a Type Parameter to Implement an Interface or Extend a Parent Class Some Light ReliefOn Computable Numbers with an Application to the Entscheidungsproblem Part 3 Server-side Java Chapter 16 Collections Collection API Set, HashSet, and SortedSet Wildcard Parameters and Generic Methods Generic Methods Map, HashMap, and TreeMap Some Light ReliefEarly Names for Java List, LinkedList, and ArrayList The Collections Helper Class Wildcarding a Generic Parameter Summary of Collection Exercises Chapter 17 Simple Input Output Getting to Know Java I/O The Class java.io.File Output Input Inputting ASCII Characters and Binary Values Further Reading Some Light ReliefThe Illegal Prime Number! Design Philosophy Keyboard I/O Wrapping Additional Output Classes Reader Wrappers Input Stream Wrappers Exercises Chapter 18 Advanced Input Output Random Access File Running Commands and Getting Output From Them Formatted String Output Writing Objects to Disk New I/O Package File Locking Exercises Memory Mapped I/O Charsets and Endian-ness Some Light ReliefThe Illegal T-shirt! Part 4 Client Java Chapter 19 Regular Expressions Regular Expressions And Pattern Matching Calendar Utilities Further Reading Some Light ReliefExchanging Apples And Crays Other Utility Classes Exercises Chapter 20 GUI Basics and Event Handling All About Event Handling Summary of Event Handling Some Light ReliefThe Mouse That Roared Tips for Slimming Down Handler Code Exercises Chapter 21 JFC and the Swing Package Java Foundation Classes Swing ThreadsA Caution! More About Swing Components Exercises All About Controls (JComponents) Swing Components Further Reading Some Light ReliefThe Bible Code Chapter 22 Containers, Layouts, and AWT Loose Ends Pluggable Look and Feel All About Containers Tying up the Loose Ends Some Light ReliefSky View Cafe: A High Quality Applet Layout in a Container Exercises Part 5 Enterprise Java Chapter 23 Relational Databases and SQL Introduction to Relational Databases Primary and Foreign Keys Normal Forms Download and Install Mckoi Creating and Populating Tables Subquery Selections Updating Values SQL Prepared Statements and Stored Procedures Some Light ReliefReading the Docs Relationships Relational Database Glossary Basic SQL Primer Querying and Retrieving Data Result Set of a SELECT Query Deleting Records and Tables Exercises Chapter 24 JDBC Introduction to JDBC Running the Example Code Executing SQL Statements Batching SQL Statements and Transactions Complete Example Further Reading Heavy Light ReliefIn Which "I" Spam Myself Installing the Mckoi Database Software Connecting to the Database Result Sets Prepared Statements and Stored Procedures Database and Result Set Metadata Exercises Chapter 25 Networking in Java Everything You Need To Know about TCP/IP but Failed to Learn in Kindergarten Sending Email by Java A Client Socket in Java A Server Socket in Java ... name using two sets of numbers, like "Java 2 Mega -edition v1.5 fab-o-lux" Whatever they call it, think of Java 1.5 as "Java 3" Table 2 shows some of the substantial language additions Table 2 Java 2 v1.5 Release Java 2 Date Content Jun 20 04... set forth in DFARS 25 2 .22 7-7013 (c)(1)(ii) and FAR 52. 227 -19 The products described may be protected by one or more U.S patents, foreign patents, or pending applications TRADEMARKSHotJava, Java, Java Development Kit, J2EE, JPS,... are available at http://afu.com • • Table of Contents Index Just Java 2 SIXTH EDITION By PETER van der LINDEN Publisher : Addison Wesley Pub Date : June 21 , 20 04 ISBN : 0-13-14 821 1-4 Pages : 848 Copyright Preface

Ngày đăng: 26/03/2019, 16:10