Professional Java Server Programming J2EE Edition Chapter 12
What Does This Book Cover?
- The J2EE Container architecture and runtime services
- Key technologies for distributed development - RMI, JDBC, JNDI and XML
- Java web component development - Servlets and JavaServer Pages, JSP tag libraries
- Modeling business logic with Enterprise JavaBeans
- The enterprise problem domains of security, performance and scalability
- How to debug and test Java server applications
- Integrating Java applications with other systems
Book Overview
With the release of the Java 2 Platform, Enterprise Edition (J2EE), Sun
Microsystems have firmly established Java as a truly viable technology
for distributed and enterprise development. This book is about how to
develop server-side Java applications based on the J2EE specification,
and the practical aspects of real-world design using the J2EE technologies.
This book demonstrates how the J2EE architecture allows you, the developer,
to concentrate on writing the key logic for your business component.
Through comprehensive coverage of the servlet, JavaServer Pages and
Enterprise JavaBeans technologies, this book demonstrates how to design
and construct secure and scalable Java n-tier applications. You'll
see how JSP pages allow you to separate business and presentation logic,
how EJBs can be used to model your data, and how to integrate with other
systems using CORBA, XML and the Java Messaging Service.
Who is this book for?
This book is for professional Java developers who want to employ Java
as the platform for their distributed, enterprise applications. It provides
a comprehensive guide to the J2EE APIs implemented by J2EE licensed
application servers.
Knowledge of the Java programming language is required, and familiarity
with the fundamentals of distributed development would be useful.
Chapter 12 Contents:
Tag Extension 101
A Simple Tag
Getting it Running
Anatomy of a Tag Extension
The javax.servlet.jsp.tagext.Tag Interface
The javax.servlet.jsp.tagext.BodyTag Interface
The javax.servlet.jsp.tagext.BodyContent Class
Convenience Classes
The javax.servlet.jsp.tagext.TagExtraInfo Class
Objects Available to Tag Handlers
The Simple Example Revisited
Tag Library Descriptors
Using Tag Extensions in JSP Pages
Deploying and Packaging Tag Libraries
No Packaging
WAR
Tag Library JAR
Combination of WAR and JAR
Writing Tag Extensions
Body Content
Tags Introducing Scripting Variables
Specifying a TagExtraInfo Class
"
Implementing the TagExtraInfo Class
Changes to the Tag Handler
Body Tags
Body Tags and Iteration
Body Tags That Filter Their Content
Tag Nesting
Handling Errors
Tag Extension Idioms
Summary
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|