27/10/141 /XX N: L P TRÌNH M NG 2 GV: NGUY N XUÂN VINH
TR NG Đ I H C NÔNG LÂM TP.HCMƯỜ KHOA CÔNG NGH THÔNG TIN
WEB APPLICATIONS
Presenter: Nguy n Xuân Vinh
Information Technology Faculty
Nong Lam University
27/10/142 /XX N: L P TRÌNH M NG 2 GV: NGUY N XUÂN VINH
TR NG Đ I H C NÔNG LÂM TP.HCMƯỜ KHOA CÔNG NGH THÔNG TIN
Overview
Web application is a dynamic extension of a web or application
server. Web applications are of the following types:
Presentation-oriented: generates interactive web pages
containing various types of markup language.
Service-oriented: implements the endpoint of a web service.
27/10/143 /XX N: L P TRÌNH M NG 2 GV: NGUY N XUÂN VINH
TR NG Đ I H C NÔNG LÂM TP.HCMƯỜ KHOA CÔNG NGH THÔNG TIN
Web Applications
Web components can be:
Java Servlets.
Web pages implemented with JavaServer Faces technology.
Web service endpoints.
JSP pages.
Figure - Java Web Application
Technologies
Figure - Java Web Application
Technologies
27/10/144 /XX N: L P TRÌNH M NG 2 GV: NGUY N XUÂN VINH
TR NG Đ I H C NÔNG LÂM TP.HCMƯỜ KHOA CÔNG NGH THÔNG TIN
Web Applications
JavaWebApplication Request Handling
Servlets are Java
programming
language classes that
dynamically process
requests and
construct responses.
Servlets are Java
programming
language classes that
dynamically process
requests and
construct responses.
JavaServer Faces
and Facelets, are
used for building
interactive web
applications
JavaServer Faces
and Facelets, are
used for building
interactive web
applications
Servlets are best suited
for service-oriented
applications
Servlets are best suited
for service-oriented
applications
Java Server Faces and
Facelets pages aremore
appropriate for
generating text-
basedmarkup
Java Server Faces and
Facelets pages aremore
appropriate for
generating text-
basedmarkup
27/10/145 /XX N: L P TRÌNH M NG 2 GV: NGUY N XUÂN VINH
TR NG Đ I H C NÔNG LÂM TP.HCMƯỜ KHOA CÔNG NGH THÔNG TIN
Web Applications
Web components are supported by the services of a runtime
platform called a web container.
Web container provides such services as:
Request dispatching.
Security.
Concurrency.
Lifecycle management.
Web container gives web components access to such API as:
Naming.
Transactions.
Email.