| |
| |
Foreword | |
| |
| |
Preface | |
| |
| |
Acknowledgments | |
| |
| |
About the Authors | |
| |
| |
| |
Getting Started | |
| |
| |
| |
Introduction | |
| |
| |
Java Web Application Development and Eclipse | |
| |
| |
What This Book Contains | |
| |
| |
How This Book Is Organized | |
| |
| |
Source Code Examples | |
| |
| |
Introducing League Planet | |
| |
| |
Summary | |
| |
| |
| |
About the Eclipse Web Tools Platform Project | |
| |
| |
WTP Is Born | |
| |
| |
WTP Economics | |
| |
| |
The Structure of WTP | |
| |
| |
Contributing to WTP | |
| |
| |
Summary | |
| |
| |
| |
Quick | |
| |
| |
Tour | |
| |
| |
Overview | |
| |
| |
| |
J2EE Web Applications | |
| |
| |
| |
Servlets and Scriptlets | |
| |
| |
| |
Database Access | |
| |
| |
| |
Web Services | |
| |
| |
Summary | |
| |
| |
| |
Setting | |
| |
| |
Up Your Workspace | |
| |
| |
Installing and Updating WTP | |
| |
| |
Configuring WTP | |
| |
| |
Summary | |
| |
| |
| |
Java | |
| |
| |
Web Application Development | |
| |
| |
| |
Web Application Architecture and Design | |
| |
| |
The Web Landscape | |
| |
| |
Web Applications | |
| |
| |
Service-Oriented Architecture (SOA) | |
| |
| |
Case Study: League Planet | |
| |
| |
Summary | |
| |
| |
| |
Organizing | |
| |
| |
Your Development Project | |
| |
| |
Web Project Types and J2EE Applications | |
| |
| |
Advanced Web Projects | |
| |
| |
Example Projects | |
| |
| |
Summary | |
| |
| |
| |
The Presentation Tier | |
| |
| |
Introduction | |
| |
| |
Interaction Design | |
| |
| |
Graphic Design | |
| |
| |
The Structure of the Presentation Tier | |
| |
| |
| |
Static Web Projects, HTML, and the Iteration 2: CSS | |
| |
| |
| |
JavaScript | |
| |
| |
| |
XML and XSLT | |
| |
| |
| |
DTD | |
| |
| |
| |
Servers, Dynamic Web Projects, and Servlets | |
| |
| |
| |
JSP | |
| |
| |
| |
Monitoring HTTP Sessions | |
| |
| |
Summary | |
| |
| |
| |
The Business Logic Tier | |
| |
| |
A Common Business Tier Design | |
| |
| |
| |
The Domain Model | |
| |
| |
| |
Developing Session EJBs | |
| |
| |
| |
Message-Driven Beans | |
| |
| |
Summary | |
| |
| |
| |
The Persistence Tier | |
| |
| |
Designs for the Persistence Layer | |
| |
| |
Overview of Iterations | |
| |
| |
| |
Creating a Database | |
| |
| |
| |
Data Layer | |
| |
| |
| |
Entity Beans | |
| |
| |
Summary | |
| |
| |
| |
Web Services | |
| |
| |
WSDL | |
| |
| |
SOAP | |
| |
| |
| |
| |
| |
REST Style Web Services | |
| |
| |
Overview of Iterations | |
| |
| |
| |
Developing Web Services Top-Down | |
| |
| |
| |
Developing Web Services Bottom-Up | |
| |
| |
| |
Generating Web Service Client Proxies | |
| |
| |
| |
Testing Web Services for Interoperability | |
| |
| |
| |
Using Web Services in Web Applications | |
| |
| |
Iteration 6 | |
| |
| |
| |
| |
| |
| |
Testing | |
| |
| |
Automated Testing | |
| |
| |
Overview of Iterations | |
| |
| |
| |
Unit Testing with JUnit | |
| |
| |
| |
Integration Testing with Cactus | |
| |
| |
| |
System Testing with HttpUnit | |
| |
| |
| |
Performance Testing with TPTP | |
| |
| |
| |
Profiling with TPTP | |
| |
| |
Summary | |
| |
| |
| |
Extending | |
| |
| |
WTP | |
| |
| |
| |
Adding New Servers | |
| |
| |
Overview of Adding a Generic Server Adapter | |
| |
| |
The GlassFish Server Runtime | |
| |
| |
Server Adapter Plug-Ins | |
| |
| |
Adding Support for a New Server Runtime | |
| |
| |
Adding a New Server Type for a Runtime | |
| |
| |
Adding a New Runtime Target Handler | |
| |
| |
Facets and Runtime Components | |
| |
| |
Extending the Server Tools UI | |
| |
| |
The Generic Server Definition | |
| |
| |
Publishers | |
| |
| |
Testing the Server Adapter | |
| |
| |
Summary | |
| |
| |
| |
Supporting | |
| |
| |
New File Types | |
| |
| |
Creating the DocBook Extension Plug-In | |
| |
| |
The DocBook Validator | |
| |
| |
Creating a Custom Marker Type | |
| |
| |
Declaring the DocBook Content Type | |
| |
| |
Summary | |
| |
| |
| |
Creating | |
| |
| |
WSDL Extensions | |
| |
| |
Creating the WSDL Extension Plug-In | |
| |
| |
Extending the WSDL | |