The first hands-on guide to building Java enterprise applications, updated and expanded to cover all of J2EE's exciting new features Java has always been great when it came to creating Web applets, but, until now, it was hardly up to the task of building high-performance applications. Increased XML support, EJB 2.0, and a new APM, Java2 Enterprise Edition (J2EE), offer developers what they need to build powerful enterprise applications. This updated and expanded edition of the popular hands-on guide shows them how. It uses the examples of two large-scale enterprise applications--complete with source code--to show readers how to use J2EE's various APIs together as well as with other technologies, such as CORBA, COM, Servlets, and Agents. The book also features substantially expanded coverage of Enterprise JavaBeans and tells how to get the most out of EJB 2.0 tools and products. Topics of special interest to Java developers include: building a Servlet search engine; creating online stores with Java Server Pages; using transactions with EJBs and JDBC to create N-Tier applications; and selecting the best middleware for your needs.
Table of Contents:
Acknowledgments. About the Authors. Introduction. 1. An Introduction to Java Enterprise Development. 2. What Is JDBC? 3. Basic JDBC Programming. 4. What Is JNDI? 5. Using JNDI. 6. What Are Servlets? 7. Programming Servlets. 8. A Servlet-Based Search Engine. 9. What Is Server-Side Scripting? 10. Creating JavaServer Pages. 11. JSP Bug-Tracking Tool. 12. Overview of Distributed Objects. 13. Introduction to Java RMI. 14. A Network File-Locking Server. 15. Introduction to CORBA. 16. A CORBA Session Manager. 17. RMI and IIOP. 18. Introduction to Using XML in Java. 19. An XML Data Backup Utility. 20. What Are Enterprise JavaBeans? 21. Programming Enterprise JavaBeans. 22. Deploying Enterprise JavaBeans. 23. Enterprise JavaBeans Business Rules Engine. 24. Transactions, JTA, and JTS. 25. Using Transactions with Enterprise JavaBeans. 26. What Are Messaging and the Java Messaging Service? 27. Programming with the Java Messaging Service. 28. A JMS-Based Alarm System. 29. Introduction to JavaMail. 30. Other J2EE Technologies. 31. Architectural Guidelines in J2EE. 32. A Message Hospital. 33. A 4-Tier Online Store. Appendix A: What's on the CD-ROM. Index.