The book is a practical, hands-on experience in building web applications based on XML and Java technologies. This book is unique because it teaches the technologies by using them to build a web chat project throughout the book. The project is explained in great detail, after the reader is shown how to get and install the necessary tools to be able to customize this project and build other web applications. Of particular interest to readers will be the author's use in of XML in the book project as a language to express the architecture and design of the application itself, and not only the data content as is the usual case with "XML-based" applications. The book also contains some new and provocative techniques for XML storage using Java objects. The CD-ROM contains the web application project discussed in the book, which is a web chat called "bonForum." The complete source code is also provided. The files in the project consist of Java source and class files, HTML, JSP, XML, XSL, TLD, and image files.
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Für höhere Schule und Studium
Maße
Höhe: 227 mm
Breite: 177 mm
Dicke: 40 mm
Gewicht
ISBN-13
978-0-7357-1089-4 (9780735710894)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Klassifikation
Westy Rockwell considers himself a world citizen. Currently he is a senior developer at tarent GmbH, a Web development company in Bonn, Germany. His greatest pleasure is enjoying the company of his wife, Zamina, and their two daughters, Joaquina and Jennifer. Somehow, they tolerate his intense involvement with computers. Westy has more than 15 years of experience as a professional software developer, but his involvement with computers dates back longer yet. In 1965, he programmed the Pythagorean theorem into an IBM 1620 with punched cards. His faculty adviser told him to stop spending so much time on programming, which had no career future. In 1970, while studying IBM 360 programming, he was considered too radical for saying that computers would one day play chess. It was not until the early 1980s, with the arrival of microcomputers, that his career and his passion could merge. His real software education came from deeply hacking many microcomputers, including the ZX80, the Osborne, the Vic20, the C64, various Amigas, and, of course, IBM PCs. His career, meanwhile, involved him with more respectable software and hardware, including UNIX, workstations, minicomputers, mainframes, and, of course, IBM PCs. Interest in hardware design, along with C and assembly languages, culminated in 1994 when he built the prototype for an extremely successful dual-processor alcohol analyser, including the PCB design, operating system, and application software. Soon afterward, while developing man-machine interfaces, the pre-release version of Borland Delphi turned Westy into a Windows developer. He went on to work on three-tier systems based on Windows NT, including corporate asset management, document imaging, and work management systems. For more than a year now he has refused to touch SQL or Visual tools, and he is enthusiastically pursuing Web browser- and server-based applications using Java, Tomcat, Xerces, and Xalan.
1. Introduction and Requirements. The Goal of This Book. Why Use This Book? How to Use This Book. Some Choices Facing Web Application Developers. Development Choices Made for This Book. A Note About Platform Independence. 2. An Environment for Java Software Development. Java 2 Platform, Standard Edition. Compiling Java Programs. Running Java Programs. Debugging Java Programs. Other Features of ElixirIDE. 3. Java Servlets and JavaServer Pages: Jakarta Tomcat. Apache Software Foundation. Jakarta Tomcat. Installing Tomcat. Running Tomcat. Tomcat Examples of Servlets and JSPs. Adding Your Tomcat Web Application. Java Servlets and JSPs. The ServletConfig and ServletContext Classes. Web Application Scopes. 4. XML and XSLT: Xerces and Xalan. Apache XML Project. Installing Xerces. Xerces Parses XML. SAX Sees XML as Events. Installing Xalan. Xalan Transforms XML Using XSLT. Using Beanshell with Xalan. Using Xalan from the Command Line. Zvon XSL Tutorial. Xerces and Xalan versus XT and XP. JSP and XML Synergy. 5. bonForum Chat Application: Use and Design. Installing and Running bonForum. Changing the bonForum Web Application. Using XML to Design Web Applications. XML Data Flows in Web Applications. 6. bonForum Chat Application: Implementation. Building the bonForum Web Chat. Displaying and Selecting Chat Subjects. Displaying Chat Messages. Finding the Chat Element. Displaying and Selecting Chats. Displaying Guests in Chat. Outputting the bonForum Data as XML. Future of bonForum Project. 7. JavaServer Pages: The Browseable User Interface. JSP-Based Web Applications. Viewing bonForum from Its JSP Documents. Further Discussion About the JSP in bonForum. 8. Java Servlet and Java Bean: BonForumEngine and BonForumStore. The BonForumEngine Servlet. The BonForumStore Class. 9. Java Applet Plugged In: BonForumRobot. Hands-on with Java Applets XSLTProcessor Applet. BonForumRobot. 10. JSP Taglib: The bonForum Custom Tags. Java Servlets, JSP, and Tag Libraries. The bonForum Tag Library. The OutputDebugInfoTag Class The OutputPathNamesTag Class. The OutputChatMessagesTag Class. XSLT and the TransformTag Class Displaying the Available Chats. Displaying the Available bonForums. Displaying the Guests in a Chat. 11. XML Data Storage Class: ForestHashtable. Overview of bonForum Data Storage. The NodeKey Class. The BonNode Class. ForestHashtable Maps Data Trees. Caching Keys for Fast Node Access. Adding ForestHashtable Nodes. Deleting ForestHashtable Nodes. Editing ForestHashtable Nodes. Getting ForestHashtable as XML. More Public ForestHashtable Methods. Initializing the bonForumXML Database. Runtime bonForumXML Database. More ForestHashtable Considerations. 12. Online Information Sources. Always Useful Sites. Apache Software Foundation. Big Corporations. CSS. DOM Information. HTML. HTTP. Java. JavaServer Pages. Java Servlets. Linux. Open Source. RDF. Web Applications. Web Browsers. Web Servers. XML. XSL. Appendix A. CD-ROM Contents. \Sun. \Apache. \bonForum. \tools. E-Book. Appendix B. Some Copyrights and Licenses. BonForum License. Apache Xerces License. Apache Xalan License. Jakarta Tomcat License. Appendix C. Source Code for bonForum Web Application. Appendix D. Sun Microsystems, Inc. Binary Code License Agreement. Index.