Professional Documents
Culture Documents
Contents
Framework
A structure that you can build upon
When you start a new application, a
framework allows you to not futz with
the under-workings every application
needs. It gives you a head start.
Buzzword Compliance
Servlet
Java Interface
Put code in doGet and/or doPost
Usually prepare things for a Jsp to use
Impose a loose framework on your web
app.
Buzzword Compliance
Tag Library
How J2EE lets you define your own
tags you can use in JSPs.
Composed of a TLD (an xml file that
maps tags to Java classes and
methods) and a JAR (which contains
the code that runs.
JSTL is an example of a tag library.
Buzzword Compliance
Model-View-Controller
A famous design pattern
Breaks an application into three parts
Model = Domain/Business Logic
View = Presentation/the pieces the user
sees and interacts with
Controller = The part(s) that know how
to use the model to get something done
What Struts is
A Miracle Occurs
sends
Sends request to And then
Request
Browser To Web App
ActionServlet
Which
Which
Consults
Consults
web.xml
struts-config.xml