1. Lời giới thiệu Ngày nay Java được sử dụng rộng rãi cho các phát triển Web server-side. Servlets và JavaServer Pages (JSP) cho phép bạn tạo những ứng dụng Web hướng dữ liệu động. Khoá học “Developing Java Web Applications” sẽ cung cấp cho các học viên phát triển các kinh nghiêm thực tiễn một cách rộng rãi và triển khai các ứng dụng Web cho các doanh nghiệp. Các học viên sẽ học được cách tích hợp các thành phần chính của Java 2 Enterprise Edition (J2EE) trong đó bao gồm các công nghệ servlets và JSP. 2. Đối tượng Khóa học này rất phù hợp cho các học viên – những người đang xây dựng các ứng dụng Web với Java 3. Yêu cầu trước khi tham gia khoá học Để hoàn thành tốt khoá học, học viên cần phải: - Có kinh nghiệm về ngôn ngữ lập trình Java
- Có kiến thức về công nghệ Web
- Có kiến thức về HTML
4. Các kỹ năng thu được Sau khi hoàn thành khoá học, học viên có thể: - Xây dựng các ứng dụng Web hướng dữ liệu các công nghệ Java trên server-side.
- Thêm một giao diện Web trong cơ sở dữ liệu có sử dụng Java servlets
- Tạo một trang Web động bằng công nghệ JSP
- Cấu hình các nội dung cho người sử dụng với các cookies và các sessions sử dụng Java servles AIP
- Tích hợp các JSP Tags để giảm hiệu code các scripts
- Tạo các ứng dụng web bằng việc sử dụng các Struits Frameworks
5. Thời gian: 40 giờ 6. Học phí: 120 USD Nội dung khóa học INTRODUCTION AND OVERVIEW Web application development - The requirements of a Web application
- Components of an n-tier architecture
Key components of J2EE for Web development GENERATING CONTENT WITH SERVLETS Getting started with servlets - Integrating servlets into the Web application architecture
- Deploying servlets on various Web servers
- Avoiding common servlet pitfalls
Utilizing the Java Servlet API - Servlet life cycle methods
- Accessing servlet environment variables
Creating Web-based forms for user input - Adding text fields and drop-down lists
- Linking forms to servlets
- Retrieving form data in the servlet
ACCESSING ENTERPRISE SERVICES WITH SERVLETS Extending servlets with Java Database Connectivity (JDBC) - Connecting to the database
- Submitting SQL statements
- Retrieving and processing data
Formatting database results - Constructing an HTML table
- Adding drill-down features
MAINTAINING STATE IN JAVA WEB APPLICATIONS Reading and writing cookies to personalize Web content - Retrieving cookies from a client request
- Sending cookies to the client
- Circumventing cookie limitations
Managing application state with sessions - Creating a unique session for each user
- Storing and retrieving Java objects within sessions
- Controlling a session\'s life span
- Creating application and session event listeners
- Implementing a shopping cart
CREATING JAVASERVER PAGES (JSP) JSP fundamentals - Design goals of JSP
- Using JSP scriptlets, expressions and declarations
- Communicating with the client using built-in JSP server objects
- Leveraging the JSP 2 Expression Language (EL)
State management with JSP - Accessing cookies and sessions
- Storing common application data
DESIGNING JSP AND SERVLET ARCHITECTURES Integrating JSP and JavaBeans - Promoting object reuse
- Separating application logic from the presentation
Calling JSP from servlets - Forwarding Java objects to JSP
- Using JavaBeans to transfer data
- Servlet and JSP design patterns
INTEGRATING JSP CUSTOM TAGS Leveraging the Tag Extension mechanism - The role of JSP custom tags
- Analyzing the usage models for JSP custom tags
Developing custom tags - Creating custom tags with JSP 2 tag files
- Customizing tag behavior with attributes
DEVELOPING STRUTS APPLICATIONS Struts framework overview - Components of the Struts framework
- Model-View-Controller (MVC) architecture
Developing Struts components - Building the JavaBean model
- Presenting a view with JSP
- Dispatching actions with the controller
DEPLOYING YOUR JAVA WEB APPLICATION - Defining the deployment descriptor
- Creating a Web Application Archive (WAR) file Adding role-based application security
|