Danh mục

Bài giảng Lập trình mạng: Web Applications - GV. Nguyễn Xuân Vinh

Số trang: 11      Loại file: ppt      Dung lượng: 382.50 KB      Lượt xem: 20      Lượt tải: 0    
Thư Viện Số

Hỗ trợ phí lưu trữ khi tải xuống: 4,000 VND Tải xuống file đầy đủ (11 trang) 0

Báo xấu

Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Objectives: understand enterprise application, know some type of architectural models, understand web service architecture, determine service - oriented architecture, understand and use some web service technologies, build a simple web service.
Nội dung trích xuất từ tài liệu:
Bài giảng Lập trình mạng: Web Applications - GV. Nguyễn Xuân Vinh TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCMGV: NGUYỄN XUÂN VINHMÔN: LẬP TRÌNH MẠNG 2 KHOA CÔNG NGHỆ THÔNG TIN WEB APPLICATIONS27/10/14 Presenter: Nguyễn Xuân Vinh Information Technology Faculty/XX Nong Lam University1 TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN OverviewGV: NGUYỄN XUÂN VINH  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.MÔN: LẬP TRÌNH MẠNG 227/10/14/XX2 TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN Web ApplicationsGV: NGUYỄN XUÂN VINH  Web components can be:  Java Servlets.  Web pages implemented with JavaServer Faces technology.  Web service endpoints.MÔN: LẬP TRÌNH MẠNG 2  JSP pages.27/10/14 Figure - Java Web Application/XX Technologies3 TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN Web ApplicationsGV: NGUYỄN XUÂN VINH  JavaWebApplication Request Handling Servlets are Java Servlets are best suited programming for service-oriented language classes that applications dynamically process requests andMÔN: LẬP TRÌNH MẠNG 2 construct responses.27/10/14 JavaServer Faces Java Server Faces and and Facelets, are Facelets pages aremore appropriate for/XX used for building interactive web generating text-4 applications basedmarkup TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN Web ApplicationsGV: NGUYỄN XUÂN VINH  Web components are supported by the services of a runtime platform called a web container.  Web container provides such services as:  Request dispatching.MÔN: LẬP TRÌNH MẠNG 2  Security.  Concurrency.  Lifecycle management.  Web container gives web components access to such API as:  Naming.  Transactions.27/10/14  Email./XX5 TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN Web ApplicationsGV: NGUYỄN XUÂN VINH  The configuration information can be specified using  Java EE annotations  Web application deployment descriptor (DD): XML file.MÔN: LẬP TRÌNH MẠNG 227/10/14/XX6 TRƯỜNG ĐẠI HỌC NÔNG LÂM TP.HCM KHOA CÔNG NGHỆ THÔNG TIN Web Application LifecycleGV: NGUYỄN XUÂN VINH  The process for creating, deploying, and executing a web application can be summarized as follows: 1 Develop the web component codeMÔN: LẬP TRÌNH MẠNG 2 2 Develop the web application deployment descriptor (if necessary) 3 Compile web application components, helper classes referenced by components 4 Optionally, package the application into a deployable unit 5 Deploy the application into a web container 6 Access a URL that references the web application27/10/14/XX7 TRƯỜNG ĐẠI HỌ ...

Tài liệu được xem nhiều: