วัตถุประสงค์
Java Servlets allow flexible generation of dynamic content without the limitations of CGI-based applications or those created in a web server-specific manner. JSP allows one to separate static from dynamic content while harnessing the power of Java Servlets. ความรู้พื้นฐานของผู้เข้าอบรม
To succeed in this course, student must have a solid background of Java and Web development. รายละเอียดหลักสูตร
Module 1: Introduction Web Application Development • The requirements of Web application development • Components of an n-tier architecture Key components of J2EE for Web application development • Servlets • JSP • XML
Module 2: Generating Content with Servlets Getting started with servlets • Integrating servlets into the Web applications architecture • Deploying servlets on Web server • Avoiding common servlets 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 Module 3: Accessing Enterprise Services with Servlets Extending servlets with JDBC • Connecting to the database • Submitting SQL statements • Retrieving and processing data
Formatting database results • Constructing an HTML table • Adding drill-down features Module4: Maintaining State in Java Web Application Reading and writing cookies to personalize Web content • Constructing cookies using Java Servlet API • Retrieving cookies from a client request • Sending cookies to the client • Circumventing cookies limitations
Managing application state with sessions • Creating a unique session for each user • Storing and retrieving Java objects within sessions • Implementing a shopping cart • Controlling a session’s life span Module 5: Creating Java Server Pages (JSP) Fundamentals of JSP • Design goals of JSP • JSP scriplets, expressions and declarations • Mixing static and dynamic content • Communicating with the client using built-in JSP server objects
State management with JSP • Accessing cookies and sessions • Storing common application data
Calling JSP from servlets • Forwarding Java objects to a JSP • Using JavaBeans to transfer data • Servlet and JSP design patterns
หลักสูตรแนะนำ
<< Back
|