JSP Tag Libraries is a bible for serious JSP developers. The reader will become acquainted with the world of custom JSP tags—new JSP technology that is beginning to have an enormous impact on the way people are developing JSP.
Part I The language of tags
1. The big picture
2. Web development with Java
3. Developing your first tags
4. Custom JSP tag API and lifecycle
5. Integrating custom tags with the JSP runtime
Part II Basic techniques
6. Tag development techniques
7. Building a tag library for sending email
8. Using JavaBeans with Tags
Part III Advanced techniques
9. Posing conditions with tags
10. Iterating with tags
11. Database access with tags
12. Custom tags and J2EE
Part IV Case studies
13. JDBC driven WebStore
14. EJB-driven WAPStore
Part V Design
15. JSP tag libraries—tips and tricks
About the Technology
JSP tags are Java components that can be used from within a JSP file. By representing these components as tags, code authors can open up their JSP development to the everyday content developer as well as improve their code reuse and separation between presentation and business logic.
About the book
The book is fully loaded with many real-world tags including tags to perform iterations, access databases, EJBs, email systems and JavaBeans. To make the tag usage even more real, the book also offers two full-scale case studies in which the reader will see how tags can be used in the context of:
- e-Commerce applications
- WAP applications that work with current cellular phones
This book covers all aspects of JSP Tag development for Scriptlet-free generation of online content. It focuses on reusable component-centric design via JavaBeans and custom tags to separate presentation from implementation.
Translation rights for JSP Tag Libraries have been granted for Brazil, Korea, and Japan. If you are interested in learning where to buy this book in a language other than English, please inquire at your local bookseller.
- Working with Java beans from within custom JSP tags
- Performing conditions with custom JSP tags
- Iterating with custom JSP tags
- Database access custom JSP tags
- J2EE integration and custom JSP tags
- Two full scale use cases demonstrating custom tag usage in e-Commerce and WAP applications
About the authors
Gal Shachor has been developing server side web applications since early 1995. He became dedicated to Java then and has never turned back. In the past Gal was an active developer of IBM's WebSphere application server. Currently he works for IBM research and develops high-end application servers. In his spare time Gal consults and instructs in subjects ranging from Servlets to Server side Java in general. He lives in Yokneam, Israel.
Magnus Rydin, an architect at Cypoint, has been developing server side applications since 1995, mostly targeted at e-business and intranet solutions. Working with proprietary systems such as Microsoft Site Server and IBM Net.Commerce, Magnus entered the server/jsp arena and became devoted to J2EE application development. He also participates in the Sun Java expert groups for JSP 1.1/Servlet 2.3 and the expert group devoted to bringing forward a standard Tag library. In his spare time, he writes tutorials for the Orion Application Server. Magnus lives in Helsingborg, Sweden.
Adam Chace is an avid Java developer who has been building wired and wireless web applications with server-side Java for over four years. He's contributed software design and development for companies like IDG, CMGI, Sheraton Hotels and UUNet. Today, Adam is a Principal Consultant and co-founder of Chalk Creek Software, a consulting firm specializing in Internet development using Java. Adam also enjoys speaking at conferences and writing for industry publications. He lives with his wife, Heather in Massachusetts.