Web Application Framework Tutorial
Sun Java Studio Enterprise 7 2004Q4
819-0727-10
Contents |
1. Before You Start the Tutorial
Primary Features of the Web Application Framework
Writing Web Application Framework Applications
J2EE/Web Application Framework Terminology
How Web Application Framework Applications Are Organized
About the Web Application Framework Tutorial
3. Tutorial Sections (Links to)
4. Tutorial--Section 1.1 Application Infrastructure
Task 1: New Sun Java Studio Web Application
5. Tutorial--Section 1.2 Create Login Page
Add Display Fields to the Login Page
6. Tutorial--Section 1.3 Test Run the Login Page
Task 3: Test Run the Login Page
Alternative Runtime Environments
7. Tutorial--Section 2.1 Prepare Application to Access SQL Database
Task 1: Accessing a SQL Database
Connect to the Sample Database
Tomcat (and other non-JNDI containers) SQL Connection Preparation
8. Tutorial--Section 2.2 Create the CustomerModel
Task 2: Create the CustomerModel
Add Connection Code for Non-JNDI Enabled Containers
9. Tutorial--Section 2.3 Create Customer Page
Task 3: Create the Customer Page
Add a Hidden Field to the Customer Page
10. Tutorial--Section 2.4 Test Run the Customer Page
Task 4: Test Run the Customer Page
11. Tutorial--Section 2.5 Link Login Page to Customer Page
Task 5: Link the Login Page to the Customer Page
Edit the handleLoginRequest Method in LoginPage
12. Tutorial--Section 2.6 Run Application
13. Tutorial--Section 3.1 Create a Command Component
Task 1: Create a Command Component
Create the UserAccessCommand Component
Add Code to the execute Method
Configure a Button's Command Descriptor
14. Tutorial--Section 3.2 Add a Logout Link to the Customer Page
Task 2: Add an HREF to a Customer Page
Configure an HREF's Command Descriptor
Format the HREF tag in the Customer JSP
15. Tutorial--Section 3.3 Test Run the Login/Logout Command Component
Task 3: Test Run the Login/Logout Command
16. Tutorial--Section 4.1 Prepare to Create a Web Service Model
Task 1: Web Service User Registration and Downloading
Register to Use the Web Service
17. Tutorial--Section 4.2 Create the Google Search Page
Task 2: Create the Google Search Page
Add More Visual Components to the Page
Point & Click Technique (code-free)
18. Tutorial--Section 4.3 Test Run the Google Search Page
Task 3: Test Run the Google Search Page
19. Tutorial--Section 4.4 Add Results Listing to the Google Search Page
Task 4: Create a TiledView Pagelet
Configure the TiledView Pagelet Component
Getting the Correct Primary Model Dataset Name
Formatting the JSP and Pagelet JSP Fragment (alternative)
20. Tutorial--Section 4.5 Test Run the Google Search Page
Task 5: Test Run the Google Search Page with Results
Copyright © 2004, Sun Microsystems, Inc. All Rights Reserved.