Book description
"If you're a Java developer interested in leveraging open source tools to build multitier applications, Larne Pekowsky can help--this book will walk you all the way through development, build, testing, and deployment. This soup-to-nuts coverage is a rare find."
--Angela Yochem, author of J2EE Applications and BEA WebLogic Server, Second Edition (Prentice Hall, 2004)
The Jakarta project consists of many powerful open source tools for the Java platform, but most lack tutorials or clear online help documentation. Apache Jakarta and Beyond is the definitive guide to using Jakarta and other Java open source tools to develop Web applications more efficiently and effectively.
In this example-packed book, readers will find
An introduction to the philosophy behind the Jakarta project
Details on many ready-to-use Java toolkits, including Ant, JUnit, Cactus, Log4J, POI, Tomcat, James, Struts, and more
In-depth guidelines on how to develop with multiple toolkits
A guide to splitting work along lines of "what is available" and "what must be written"
Best practices for development, such as the model/view/controller paradigm
Numerous examples that can serve as templates for readers' own projects
The accompanying CD-ROM contains templates and complete code examples from the book.
Whether you are developing client applications, Web applications, or Web services, Apache Jakarta and Beyond will help you use existing code to simplify the task at hand.
Table of contents
- Copyright
- Preface
- Acknowledgments
- 1. Introduction
- 2. Ant
- 3. Eclipse
- 4. Testing with JUnit
- 5. Testing Web Sites with HTTPUnit
- 6. Further Web Testing with Jakarta Cactus
- 7. Stress Testing with Jakarta JMeter
- 8. Simplifying Bean Development with BeanUtils
- 9. Traversing Hierarchical Data with JXPath
-
10. Chapter Database Tools
- 10.1. Hsqldb
- 10.1.1. Extending Hsqldb
- 10.2. Pooling Connections with DBCP
- 10.3. Mapping Databases to Objects with OJB
- 10.3.1. Defining the Database and Objects
- 10.3.2. Defining the Object-Relational Mapping
- 10.4. Using OJB
- 10.5. Retrieving Data
- 10.6. More Sophisticated Queries
- 10.7. Lazy Evaluation
- 10.8. Related Tools
- 10.9. Hiding Persistence from Applications
- 10.10. Beyond This Book
- 10.11. Summary
- Endnotes
- 11. Logging
- 12. Configuring Program Options
- 13. Working with Text 1: Regular Expressions
- 14. Working with Text 2: Searching
- 15. Creating Office Documents with POI
- 16. Scripting
-
17. Tomcat
- 17.1. Starting Tomcat
- 17.2. A Tour of Tomcat
- 17.3. Creating a Web Application
- 17.3.1. The web.xml File
- 17.4. Security
- 17.4.1. Authentication
- 17.5. Realms
- 17.6. Encryption and Server Validation
- 17.7. Client Certificates
- 17.8. Certificate-Based Authentication
- 17.9. Global Resources
- 17.10. Web-Based Management and Administration
- 17.11. Beyond This Book
- 17.12. Summary
-
18. The Standard Tag Library
- 18.1. Tag Libraries
- 18.2. Tags with Bodies
- 18.3. Dynamic Attributes in Tags
- 18.4. Displaying Expressions
- 18.5. Formatting Output
- 18.6. Iteration in a Page
- 18.7. Conditionally Including Sections of a Page
- 18.8. Browser Detection
- 18.9. Combining Tags
- 18.10. Selecting between Multiple Choices
- 18.11. The SQL Tags
- 18.12. The XML Tags
- 18.13. Beyond This Book
- 18.14. Summary
- 19. Struts
- 20. Cocoon
- Appendix A
Product information
- Title: Apache Jakarta and Beyond: A Java Programmer’s Introduction
- Author(s):
- Release date: December 2004
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321237712
You might also like
book
Java 9 High Performance
Best practices to adapt and bottlenecks to avoid About This Book Tackle all kinds of performance-related …
book
Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans
Build powerful back-end business logic and complex Enterprise JavaBeans (EJB)-based applications using Java EE 8, Eclipse …
book
Service- and Component-based Development: Using Select Perspective™ and UML
This book presents the approaches and practices for the construction of software systems using Select Perspective. …
book
Building Microservices with Micronaut®
Explore different aspects of building modular microservices such as development, testing, maintenance, and deployment using the …