Learning Java provides an accessible yet comprehensive introduction to the programming language that has changed the way we think about computing. Java has become the language of choice for a wide variety of applications: web services, secure network systems, XML-based tools, reusable components, and mission-critical enterprise systems. Learning Java is filled with easy-to-follow code examples that guide you through Java's many features, APIs, and facilities. This new edition of Learning Java has been expanded and updated for Java 2 Standard Edition SDK 1.4. It comprehensively addresses important topics such as web applications, servlets, and XML that are increasingly driving enterprise applications. This edition provides full coverage of all Java 1.4 language features including assertions and exception chaining as well as new APIs such as regular expressions and NIO, the new I/O package. New Swing features and components are described along with updated coverage of the JavaBeans component architecture using the open source NetBeans IDE the latest information about Applets and the Java Plug-in for all major web browsers. The accompanying CD-ROM provides all you need to start working with Java immediately. In addition to the many example programs from the book, the CD includes the complete J2SE SDK 1.4, the NetBeans IDE, the Jakarta Project's Ant make utility and Tomcat application server as well as BeanShell, a simple open source Java scripting language developed by author Pat Niemeyer.