Struts framework Java Servlet

antlertextureSoftware and s/w Development

Jul 14, 2012 (4 years and 11 months ago)

377 views

1
Struts
framework
Java Servlet
JavaServer Pages
JSP
web application
Struts
Internet application
Struts
Struts
Craig R. McClanahan
2000
Apache
Apache Software Foundation
ASF
Struts
Struts
Apache Jakarta
Struts
Ant
log4j
Tomcat
Jakarta
Java
1.1
World Wide Web
WWW
hypertext document
CERN
1989
1
CERN
Common
Gateway Interface
CGI
CGI
web server
CGI
1990
CGI
CGI
request
operating system
OS
process
CGI
script
OS
CGI
CGI
authorization
workflow
logging
CGI
FastCGI
CGI
CGI
FastCGI
FastCGI
CGI
FastCGI
CGI
Apache
mode_perl
Netspcae
NSAPI
Microsoft IIS
ISAPI
CGI
1997
Java
Java
Java Servlet
1.2
Java Servlet
Java servlet
Java
component
servlet
CGI
servlet
CGI
servlet
thread
Java
Java Virtual
2
Machine
JVM
servl et
i nst ance
ser vl et
URL
uniform resource locator
servlet
URL
s er vl et
ser vi ce
method
servlet
servlet
servlet
CGI
servlet
Java
servlet
OS
servlet
Java
servlet
Java API
application programming interface
JDBC
Java
DataBase Connectivity™
EJB
Enterprise JavaBeans
servlet
J ava
servlet
servlet
servlet
servlet container
container
servlet
servlet engine
servlet container
1- 1
ser vl et
container
servlet container
servlet
servlet
container
servlet
3
servlet container
servlet container
ser vl et
container
application server
servlet container
1-1
servlet container
1-1
servlet container
Borland Enterprise Server http://www.inprise.com
Sun One Application Server http://www.sun.com
Jetty http://jetty.mortbay.org/jetty/index.html
JRun http://www.macromedia.com/software/jrun
Orion Application Server http://www.orionserver.com
Resin http://www.caucho.com
Apache Tomcat http://jakarta.apache.org/tomcat
Weblogic Application Server http://www.bea.com
WebSphere http://www-4.ibm.com/software/webservers/appserv
EAServer http://www.sybase.com
servlet container
Sun
http://java.sun.com/products/
servlet/industry.html
servlet container
servlet
HTML
HyperText Markup Language
servlet
HTML
servlet
HTML
servlet
servlet
I18N
internationalization
servlet
HTML
servlet
HTML
Java
servlet
HTML
Java
4
internationalization
I18N
I
N
18
servlet
J ava Ser vl et
J as on Hunt er
J ava Ser vl et
Programmi ng
O'Rei l l y
Sun Servl et
ht t p://j ava.sun.com/
products/servlet/index.html
JSP
Java
JSP
JSP
JSP page
servlet
1.3 JSP
JavaServer Pages
JSP
JSP
Java Servlet
translator
JSP
Java serlvet
JSP
.jsp
HTML
XML
tag
scriptlet
scriptlet
.jsp
.java
Java
servlet container
.class
.j sp
.j ava
J SP
Java
ser vl et
1- 2
J SP
J ava
servlet
5
JSP
Java
JSP
JSP
JSP
J SP
J ava
custom tag
J SP
J ava
Wr i t e Once, Run
Anywhere
HTML
servlet
JSP
HTML
JSP
JSP
JSP scriptlet
.jsp
JSP
JSP
servlet
Java
JSP
scriptlet
scriptlet
scriptlet
scriptlet
JSP
reuse
copy-and-paste
6
1.4 JSP Model 1
Model 2
JSP
JSP
JSP Model 1
Model 2
JSP
web tier
JSP
Model 1
JSP
1-3
Model 1
servlet
JSP
JSP
JavaBeans
JSP
JSP
Model 2
servlet
servlet
controller servlet
servlet
JSP
1-4
7
Model 2
JSP
servlet
authentication
authorization
centralized login
i18n
servlet
JSP
JSP
servlet
/
Model 2
Model 1
Model 2
MVC
Model-View-Controller
MVC
MVC
Model 2
Model 1
1.5
MVC
MVC
Java
MVC
Smalltalk
Smalltalk
Model 2
JSP
JSP
MVC
design pattern
MVC
MVC
model
view
controller
8
MVC
stateless
push mechanism
pull approach
1.5.1 MVC
MVC
two-tier
web tier
Java
Resul t Set
TopLink
CocoBase
ORM
object-to-relational mapping
EJB
MVC
EJB
EJB 2.0
local interface
entity bean
remote call
JavaBeans
session bean
JavaBeans
data transfer object
1.5.2 MVC
MVC
HTML
JSP
HTML
JSP
JavaScript
MVC
9
stateless
session data
HTML
JSP
WML
HTML
1.5.3 MVC
MVC
Java servlet
1.
HTTP
2.
3.
4.
5.
Front Controller pattern
J2EE
Java 2 Platform, Enterprise
Edition
http://java.sun.com/blueprints/patterns/index.html
JSP
controller servlet
1.6
framework
pattern
generic behavior
10
Java
cl as s
i nt er f ace
l i brary
function
routine
invoke
extension point
upside-down
1-5
1.6.1 Struts
Struts
Craig R. McClanahan
2000
ASF
Servlet
JSP
Craig
Tomcat
JavaOne
ApacheCon
Struts
Struts
Struts
general availability release
GA
Struts
11
committer
developer
Struts
repository
Struts
1.6.2
Struts
Struts
Struts User
mailing list
Struts Developer
http://j akarta.apache.org/site/mail.html
http://jakarta.apache.org/site/mail2.html
Jakarta
Struts
Struts
http://jakarta.apache.org/struts/
Struts
B
1.7
Jakarta Struts
Struts
Java
Struts
Java
Microsoft
ASP
Active Server Pages
ASP
JSP
ASP
ASP+
JSP
servlet
Struts
JSP
ASP
Struts
Microsoft
Application Block
User Interface Process
UIP
UIP
MVC
Struts
.NET
1.7.1
Struts
12
1.
2.
3.
4.
5.
1.7.2 Barracuda
Barracuda
Model 2
Struts
JSP
Barracuda
template engine component
XMLC
user interface
XMLC
Java
HTML
XML
Java
DOM
Document Object Model
API
Java
Barracuda
HTML
validation
Barracuda
Barracuda
http://barracudamvc.org/Barracuda/index.html
1.7.3 Cocoon
Stefano Mazzocchi
1999
1
Cocoon
ASF
Cocoon
XML
Cocoon
XML
XSLT
Extensible Stylesheet Language Transformations
SAX
Simple API for XML
XML API
XML
Cocoon 2.0
Cocoon
pipeline
Cocoon
13
Cocoon
RDBMS
LDAP
Cocoon
http://cocoon.apache.org
1.7.4 Expresso
Jcorporate
Expresso
Expresso
EJB
EJB
EJB
Expresso
Struts
Expresso
Struts
Expresso
http://www.jcorporate.com
1.7.5 Freemarker
Velocity
WebMacro
template engine
Fr eemar ker
HTML
J ava s er vl et
Freemarker
HTML
servlet
HTML
Freemarker
HTML
Freemarker
BSD
Freemarker
http://freemarker.sourceforge.net
Velocity
Struts
Jakarta
Velocity
Java
Freemarker
Velocity
SQL
PostScript
XML
Velocity
Turbine
Velocity
Velocity
Velocity
http://jakarta.apache.org/velocity
WebMacr o
J ava s er vl et
WebMacro
lightweight
WebMacro
servlet container
WebMacro
http://www.webmacro.org
1.7.6 Maverick
Maverick
MVC
JSP
Velocity
XSLT
Maverick
MVC
Maver i ck
J avaBean
reflection
DOM API
XML
XML
XSLT
Maverick
http://mav.sourceforge.net
14
1.7.7 SiteMesh
SiteMesh
SiteMesh
Decorator
pattern
SiteMesh
Servlet
JSP
XML
J2EE
SiteMesh
CGI
SiteMesh
http://www.opensymphony.com/sitemesh
1.7.8 Jakarta Turbine
Tur bi ne
ser vl et
J akar t a
Turbi ne
Turbi ne
Turbine
http://jakarta.apache.org/turbine
1.7.9 WebWork
WebWor k
OpenSymphony
OpenSymphony
Sour ceForge
J 2EE
OpenSymphony
http://www.opensymphony.com
WebWor k
Pul l HMVC
Hi er ar chi cal Model Vi ew
Controller
MVC
push
WebWor k
pul l
WebWor k
servl et
Swi ng
WebWork
http://www.opensymphony.com/webwork
1.7.10 Spring Framework
Spring
J2EE
Rod Johnson
J2EE
Spring
Spring
http://www.springframework.org
15
Gamma
Hel m
J ohnson
Vi ssi des
Desi gn Pat t erns
Addison Wesley
Decorator pattern
structual design pattern
1.7.11 JavaServer Faces
2001
JSR
Java Specification Request
Java
Java
JavaServer Faces
JSF
JSR
Servlet
JSP
JSP
HTML
pluggable rendering kits
JSR
API
Java
API
JSR
JSF
Struts
JSR
Struts
Jakarta Struts
Struts
Craig McClanahan
JSF
Struts
JSR
2
18
http://www.jcp.org/jsr/detail/127.jsp
16