Sun Services
Web Component Development With Servlet and JSP™ Technologies
v
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision B.0.1
Servlets on the Web Server .................................................................................................................. 1-20
Execution of Java Servlets .................................................................................................................... 1-21
Advantages and Disadvantages of Java Servlets ............................................................................. 1-23
JavaServer Pages Technology .............................................................................................................. 1-25
Other Template Page Technologies .................................................................................................... 1-26
JavaServer Pages Technology .............................................................................................................. 1-27
Advantages and Disadvantages of JavaServer Pages ...................................................................... 1-28
Model 2 Architecture ............................................................................................................................ 1-29
Model 2 Frameworks ............................................................................................................................ 1-30
J2EE™ Platform ..................................................................................................................................... 1-32
J2EE Architecture Example .................................................................................................................. 1-33
Job Roles ................................................................................................................................................. 1-34
Web Application Migration ................................................................................................................. 1-35
Summary ................................................................................................................................................ 1-36
Developing a View Component ............................................................................... 2-1
Objectives ................................................................................................................................................. 2-2
Relevance .................................................................................................................................................. 2-3
Types of View Components .................................................................................................................. 2-4
Soccer League Case Study ..................................................................................................................... 2-5
List Leagues Analysis Model ................................................................................................................ 2-6
List Leagues Page Flow .......................................................................................................................... 2-7
Home Page HTML .................................................................................................................................. 2-8
List Leagues Page HTML ..................................................................................................................... 2-10
Hypertext Transfer Protocol ................................................................................................................ 2-12
HTTP GET Method ............................................................................................................................... 2-13
HTTP Request ........................................................................................................................................ 2-14
HTTP Request Headers ........................................................................................................................ 2-15
HTTP Response ..................................................................................................................................... 2-16
HTTP Response Headers ..................................................................................................................... 2-17