1. Trang chủ
  2. » Công Nghệ Thông Tin

Bài giảng lập trình mạng web applications GV nguyễn xuân vinh

11 186 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 11
Dung lượng 382,5 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Web applications are of the following types:  Presentation-oriented: generates interactive web pages containing various types of markup language...  Web pages implemented with JavaSer

Trang 1

WEB APPLICATIONS

Presenter: Nguyễn Xuân Vinh Information Technology Faculty

Trang 2

 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.

Trang 3

 Web components can be:

 Java Servlets

 Web pages implemented with JavaServer Faces technology

 Web service endpoints

 JSP pages

Figure - Java Web Application Technologies

Trang 4

 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

Trang 5

 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

Trang 6

 The configuration information can be specified using

 Java EE annotations

 Web application deployment descriptor (DD): XML file

Trang 7

 The process for creating, deploying, and executing a web

application can be summarized as follows:

Develop the web component code 11

Develop the web application deployment descriptor (if necessary) 22

Compile web application components, helper classes referenced by components 33

Optionally, package the application into a deployable unit 44

Deploy the application into a web container 55

Access a URL that references the web application 66

Trang 8

 Web resources: web components and static web content files

 A web module is the smallest deployable and usable unit of web resources

 In addition to web components and web resources, a web module can contain other files:

 Server-side utility classes, such as shopping carts

 Client-side classes, such as applets and utility classes

Trang 10

 Create Web Project and depoly by Eclipse, Netbean

 Create Web Project and deploy by Ant

 Create Web Project and deploy by Maven

Trang 11

HỎI ĐÁP

Ngày đăng: 04/12/2015, 20:24

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm