Red Hat Web Application Framework 6.1 用户手册

下载
页码 230
Table of Contents
Introduction to the WAF Developer Guide........................................................................................i
1. Assumptions About WAF Developers ...................................................................................i
2. Document Conventions..........................................................................................................i
3. Code Presentation Conventions ........................................................................................... iv
I. WAF Concepts ..................................................................................................................................i
1. WAF Overview ..................................................................................................................... 1
1.1. General Architecture.............................................................................................. 2
1.2. Features.................................................................................................................. 3
1.3. Applications ........................................................................................................... 6
2. WAF Component: Persistence .............................................................................................. 9
2.1. Persistence Overview............................................................................................. 9
2.2. Object-Relational Mapping.................................................................................... 9
2.3. Persistence Definition Language (PDL) ................................................................ 9
2.4. Persistence and Domain APIs (DataObject, DataAssociation, DataCollection,
DomainObjects) .............................................................................................. 10
2.5. Session and Transaction Management................................................................. 10
3. WAF Component: Kernel.................................................................................................... 11
3.1. Users and Groups................................................................................................. 11
3.2. ACSObject ........................................................................................................... 11
3.3. Permissions .......................................................................................................... 11
3.4. Kernel Resources ................................................................................................. 12
4. WAF Component: Services................................................................................................. 13
4.1. Auditing Service .................................................................................................. 13
4.2. Categorization Service ......................................................................................... 13
4.3. Formbuilder Service............................................................................................. 14
4.4. Globalization Service........................................................................................... 15
4.5. Mail Service......................................................................................................... 16
4.6. Messaging Service ............................................................................................... 16
4.7. Notification Service ............................................................................................. 17
4.8. Portal Service....................................................................................................... 17
4.9. Search Service...................................................................................................... 17
4.10. Workflow Service............................................................................................... 17
4.11. Versioning Service ............................................................................................. 18
5. WAF Component: Presentation........................................................................................... 19
5.1. Overview of Presentation Standards.................................................................... 19
5.2. CSS and XSLT..................................................................................................... 20
5.3. JavaServer Pages (JSP) ........................................................................................ 24
5.4. Bebop - Reusable Web UI Components .............................................................. 25
6. WAF Component: Web ....................................................................................................... 31
6.1. Applications ......................................................................................................... 31
6.2.
BaseServlet
...................................................................................................... 31
6.3. Dispatcher ............................................................................................................ 32
II. Equipping Developers.................................................................................................................. 33
7. Developing with WAF ........................................................................................................ 35
7.1. Developer Education............................................................................................ 35
7.2. Third-Party Development Tools........................................................................... 35
7.3. Developer Support ............................................................................................... 36
7.4. Setting Up Eclipse and WAF ............................................................................... 38
7.5. Using logging for debugging ............................................................................... 42
8. WAF Application Development Tutorial ............................................................................ 49
8.1. Terms and Assumptions....................................................................................... 49
8.2. Good Practices ..................................................................................................... 49
8.3. Directories in the Work Area ............................................................................... 49