Overview
This course provides Java programmers with the skills needed to produce dynamic web applications using JSP and Servlets. JSP and Servlets are part of the Java2 J2EE specification and provide a very capable alternative to Microsoft’s ASP.Net. Additionally, the JSP will be presented using the MVC architecture provided by Struts. Using a developer’s prospective, and interesting hands-on labs, this course prepares Java programmers for JSP in just 3 days.
Audience
Student should be familiar with Java and HTML.
Length
24 hours
Outline
Introduction
-
- About the Course
- The Materials
- Overview
Basic HTML
-
- Web Servers
- Files
- Basic tags
Basics of Web-Based Applications
-
- Websites and Static Pages
- Dynamic Content
Getting Started With Servlets
-
- Basics
- What is a Servlet?
- Web Servers & Servlets
- Hello World
- The Servlet API
- Servlet Lifecycle
- Programming Servlets
- Introduction
- The Page Object
- Request Object
- Response Object
- Processing Forms
- Sessions
- Applications
- Advanced Issues
- Design Principles
- Model-View
- Database Access
- Basics
Getting Started With JSP
-
- Architecture
- What is JSP?
- JSP Compared to Servlets
- JSP Compared to ASP
- Web Applications
- Servlets
- Tomcat
- JSP Lifecycle
- Setup
- Installing Java JDK
- Installing Tomcat
- Editors and Development Environments
- Directory Structure
- Hello, World
- HelloWorld.jsp
- JSP Files
- Compilation
- Servlets
- JSP Syntax
- Page Directives
- Comments
- Include Directive
- Declarations
- Expressions
- Scriptlets
- JSP Objects
- Overview
- Request
- Response
- Session
- Application
- JSP API
- Overview
- Error Handling
- New Topic
- Using Beans in JSP
- New Topic
- Custom Tags
- New Topic
- Advanced Considerations
- Application Architecture
- Design Guidlines
- Performance & Testing
- Architecture
Using JSP Tags
-
- Overview
- What are JSP Tags
- Tags vs Scriplets
- Core Tags
- XML Tags
- SQL Tags
- Overview
Struts
-
- Overview
- MVC architecture
- Building Model components
- Building View Components
Building Controller Components
Conclusion