Synopses & Reviews
-- Completely updated for JDK 1.4 and enterprise Java development -- servlets, RMI, even a complete OOD/UML case study!
-- Learn from thousands of lines of code in hundreds of complete working programs!
-- Contains hundreds of real-world tips identifying good programming practices, common errors, performance optimization techniques, and debugging/reliability solutions.
The Deitels' best-selling introductory Java book has been fully revised and updated to Java 2 Standard Edition (J2SE) 1.4. Like every How to Program book, "Java How to Program, Fifth Edition" features the Deitels' signature "Live-Code" "TM" approach to teaching programming languages with thousands of lines of live code, explained with exceptional clarity by the renowned programming trainers at Deitel and Associates. The Deitels cover all facets of the Java language, including object-orientation, multithreading, exception handling, the Java event programming model, GUI with Swing and AWT, graphics, and much more. You'll find all new coverage of JDBC, SQL, n-tier, Web-application development with servlets and JSP, plus an introduction to XML processing with the Java XML library. The book also provides an optional, start-to-finish case study introducing Java object-oriented analysis and design with UML. It contains hundreds of tips, recommended practices and cautions (all marked with icons) for writing code that is portable, reusable and optimized for performance.
Synopsis
This book provides an optional, start-to-finish case study introducing Java object-oriented analysis and design with UML. It contains hundreds of tips, recommended practices and cautions for writing code that is portable, reusable and optimized for performance.
Synopsis
This special edition of Java How to Program is up-to-date with the Java 2 Platform Standard Edition 1.5. It covers fundamental programming topics and provides several extra chapters so readers can include or omit material as needed. Includes Recursion and Searching and Sorting chapters. Provides extensive complete programming exercises plus "What does this program do?", "What's wrong with this program?", "Complete the program" and "Modify the program" exercises. Covers text-file processing. Features coverage of special topics, such as pre- and postconditions, invariants, testing and debugging, ethics and software engineering. Includes a CD-ROM with every copy of the book that contains: (subject to change) Java™ 2 Platform, Standard Edition 1.5; Netbeans; JCreator LE; jEdit; jGRASP; BlueJ; Source code for all the book's examples; Hyperlinks to valuable Java™ demos and Internet resources. A useful brief reference for programmers or anyone who wants to learn more about the Java programming language.
Synopsis
The Deitels' groundbreaking How to Program series offers unparalleled breadth and depth of programming concepts and intermediate-level topics for further study. The books in this series feature hundreds of complete, working programs with thousands of lines of code. This edition is completely up-to-date with The Java 2 Platform Standard Edition (J2SE) 1.5. Now includes topics such as autoboxing, enumerations, enhanced for loops, static import statements, variable-length argument lists, and much more. Presents each new concept in the context of a complete, working program, immediately followed by one or more windows showing the program's input/output dialog. Enhances the Live-Code Approach with syntax coloring. Provides Helpful Programming Tips, all marked by icons: Good Programming Practices, Common Programming Errors, Error-Prevention Tips, Performance Tips, Portability Tips, Software Engineering Observations, Look and Feel Observations. Includes CD-ROM with every book that contains JavaTM 2 Platform, Standard Edition 1.5, Netbeans, Apache Tomcat, JCreator LE version, jEdit, jGRASP, BlueJ, MySQL, source code for all the book's examples, and Hyperlinks to valuable Java demos and Internet resources. A valuable reference for programmers and anyone interested in learning the Java programming language.
About the Author
Dr. Harvey Deitel is one of the world's leading computer science instructors and seminar presenters, and author of more than a dozen books. He worked on the pioneering operating system teams in industry and academia that developed many of the techniques at the heart of operating systems like UNIX®, Windows NT™ and OS/2™.Paul Deitel has taught Visual Basic, Java, C and C++ at numerous hardware and software companies, including Sun Microsystems, Digital Equipment Corporation, IBM, Open Environment Corporation, Adra Systems, and Cambridge Technology Partners, and is himself an expert developer.
The Deitels are principals of Deitel & Associates, Inc., an international training organization specializing in Visual Basic, Java, C and C++, and object technologies.
Table of Contents
1. Introduction to Computers, the Internet and the Web
2. Introduction to Java Applications
3. Introduction to Classes and Objects
4. Control Statements: Part 1
5. Control Statements: Part 2
6. Methods
7. Arrays
8. Classes and Objects - A Deeper Look
9. Object-Oriented Programming: Inheritance
10. Object-Oriented Programming: Polymorphism
11. GUI Components: Part I
12. Graphics and Java2D
13. Exception Handling
14. Files and Streams
15. Recursion
16. Searching and Sorting
17. Data Structures
18. Generics
19. Collections
20. Introduction to Java Applets
21. Multimedia: Applets and Applications
22. GUI Components: Part 2
23. Multithreading
24. Networking
25. Manipulating Databases with JDBC
26. Servlets
27. JavaServer Pages (JSP)
28. Formatted Output
29. Strings, Characters and Regular Expressions
Appendices
A. Operator Precedence Chart
B. ASCII Character Set
C. Keywords and Reserved Words
D. Primitive Types
E. Number Systems
F. Unicode®
G. Using the Java API Documentation
H. Documenting Classes with Javadoc
I. Bit Manipulation
J. Case Study Code
K. Labeled Break and Continue Statements
Bibliography
Index