Course Title: Servlets and JSP Programming
Course #: J03F
Duration: 4 days
Overview:Servlets and JSP Programming class teaches a student how to build Web Applications using J2EE platform. Upon completion of this class a student will have a solid knowledge of web components like Servlets and JSP. A student will be able to use these components to build Web Applications.
Topics:Module 1: Introduction to J2EE Architecture
- What is J2EE
- J2EE APIs
- Benefits of J2EE
Module 2: Overview of Web Development
- History of Web Development
- Web Development Lifecycle
- The Roles in the Developing Web Applications
Module 3: Introduction to Servlets
- An Overview of Servlets
- Advantages of Servlets
- Lifecycle of a Servlet
- The Servlets API
Module 4: Advanced Servlets
- HttpServletRequest
- HttpServletResponsce
- Request Parameters
- The Request Dispatcher
- Include and Forward
- Object, Request, Session and Application Scope
- Using Cookies in Servlets
- Session Trackong with Session Object
- Implementing Session Management
Module 5: Accessing Enterprise Services with Servlets
- Overview of JDBC
- Connecting to the DataBase
- Submitting the SQL statements
- Retrieving and processing data
Module 6: Introduction to JSP
- What is JSP Page
- How JSP Works
- JSP Invocation
- First JSP
Module 7: JSP Tags
- Expression tag
- Scriptlets
- Directives
- Declaration
- Comments
- JSP Actions
- Implicit Objects
- What are JavaBeans
- Example of a JavaBean
- JavaBeans in JSP
- Integrating Servlets and JSP
- Model 1
- Model 2 Model-View-Controller (MVC) architecture
Module 8: Custom Tags
- Overview of Custom Tags
- Create You Own Tags
- The Tag handler Class
- The TLD File
- Deploying JSP with Custom Tags
Module 9: Servlers and JSP Exceptions
- Exceptions
- Macro-Managing Exceptions
- Creating an Error page
Module 10: Servlets and JSP Filters
- Filters
- Creating Basic Filters
- Filter Mapping
Module 11: Standard Tag Library
- JSTL
- Expression Language
- Accessing Data
- The Dot Operator
- Accessing Collections
- The Core JSTL Tags
Appendix: Deploying Servlets and JSP
Prerequisites:This course is intended for Java developers.