Java Advanced How to Program
Welcome to the world of advanced Java 2 Platform programming! We have worked hard
to create what we hope will be an informative, entertaining and challenging learning experience
The Java technologies you will learn are intended for developers and software engineers.
Advanced Java 2 Platform How to Program presumes knowledge of either Java How
to Program: Fourth Edition (ISBN: 0-13-034151-7) or The Complete Java Training
Course, Fourth Edition (ISBN: 0-13-064931-7), which teach the fundamentals of Java and
object-oriented programming. Advanced Java 2 Platform How to Program presents many
advanced Java topics and introduces many new topics, using almost 40,000 lines of complete,
working code and numerous illustrations to demonstrate the concepts.
We integrate these technologies into substantial applications and enterprise systems that demonstrate
how the pieces fit together. We call this our Live-Code™ approach.
We introduce technologies from the three Java editions—Java 2 Standard Edition
(J2SE), Java 2 Enterprise Edition (J2EE) and Java 2 Micro Edition (J2ME). The beginning
chapters of this book demonstrate several high-end concepts from J2SE (Java How to Program,
Fourth Edition presents J2SE through the intermediate level). Advanced Java 2 Platform
How to Program highlights many advanced features of J2EE, providing enterprise
applications as examples. Finally, we introduce the exciting, leading-edge technologies of
J2ME and wireless applications programming.
Object-oriented programming and design patterns are essential for building applications
using the many technologies introduced in this book. These tools encourage modularity,
allowing programmers to design classes and programs effectively. Design patterns
in particular have proven critical to producing the substantial programs we present in this
Many of the book’s applications integrate the Extensible Markup Language (XML), the
standard for creating markup languages that describe structured data in a platform-independent
manner. Everything from common Web pages to complex order-tracking and business-
to-business (B2B) systems can use XML. XML’s data portability complements the
portability of programs built for the Java 2 Platform. XML’s capabilities for describing data
enable systems built with disparate technologies to share data without concerns for binary
compatibility, which is key to developing interoperable distributed systems in Java. We
assume knowledge of XML and Java’s XML APIs. However, Appendices A–D also provide
an introduction to XML and Java’s XML APIs for those of you who are not yet
familiar with these topics. It is highly recommended that you read these appendices first, if
you are not already familiar with XML.