Professional Documents
Culture Documents
WTLecture 06
WTLecture 06
Web Container
Wasif Hamdani
HTTP Methods
2
HTTP Methods
3
HTTP Methods
4
HTTP Methods
5
HTTP Methods
6
HTTP Methods
7
HTTP Methods
8
HTTP Methods
9
Web Containers
• Web Server:
• Web content lives on web servers.
15
Web Containers
• Servlet:
• Java programs that runs on the Java-enabled web
server or application server.
16
Web Containers
• Properties of Servlets:
– Servlets work on the server-side.
17
Web Containers
• Execution of Servlets:
1. The clients send the request to the web server.
2. The web server receives the request.
3. The web server passes the request to the
corresponding servlet.
4. The servlet processes the request and generates the
response in the form of output.
5. The servlet sends the response back to the web server.
6. The web server sends the response back to the client
and the client browser displays it on the screen.
18
Web Containers
• Servlet Architecture
19
Web Containers
20
Web Containers
21
Web Containers
22
Web Containers
• Web Application:
23
Web Containers
24
Web Containers
25
Web Containers
• JavaBeans
– In computing based on the Java Platform, JavaBeans
are classes that encapsulate many objects into a
single object.
26
Question(s)?
27
Thank you
28