J-431 - Java Web Programming
Course
J-431
Price:
$850.00
Software Assurance Value:
Not Eligible
Duration:
2 Days
SQLSoft Course J-431, Java Web Programming
Table of Contents
Introduction
Audience
At Course Completion
Prerequisites
Certified Professional Exams
Student Materials
Course Outline
Introduction
This two-day course teaches Java programmers how to build dynamic Web applications
using JavaServer Pages, Servlets and JavaBeans. These technologies combine to
form the presentation side of a J2EE Web-based application. Students will implement
a Model-View-Controller (MVC) architecture for their Web applications.
Return to Top
Audience
Java programmers who need to develop Web applications using JSPs and Servlets.
Return to Top
At Course Completion
At the end of this course, the student will be able to:
- Build Java web applications using Java Servlets, JavaServer Pages and Java Beans
- Describe the JEE (Java Enterprise Edition) M-V-C (Model-View-Controller) architecture of web applications
- Develop JavaServer Pages as View components Develop Java Servlets as Controller components
- Develop Java Beans as Model components
- Use objects implictly created by the web server/container Control navigation between JEE components Build JSP and HTML files to invoke servlets
- Build and deploy a WAR file Pass data to and from web pages and JEE components Use the JSP EL (Expression Language)
- Use the JSTL (Java Standard Tag Library)
Return to Top
Prerequisites
Before attending this course, students must have:
- Completed J-510, Java Programming.
Return to Top
Certified Professional Exams
This course will help the student prepare for the following Certified Professional
exams:
- Sun Certified Web Component Developer for J2EE Sun Exam: CX-310-081
Return to Top
Student Materials
The student kit includes a comprehensive workbook and other necessary materials
for this class.
Return to Top
Course Outline
Web Applications and MVC
- Java Web Applications
- Component Development
- JSPs and Servlets
- Model-View-Controller
- Flow of Control
- The WAR File
- web.xml
- Resource References
- Handling Errors
- Building the WAR
- Deploying the WAR
JavaServer Pages - The View
- Introduction to JSP
- JSP Structure
- Translation and Execution
- Variables and Expressions
- Implicit Objects
- The page Directive
- Error Handling
- Include and Forward
- Using JavaBeans
Java Servlets - The Controller
- HTTP Requests
- Servlet Lifecycle
- Servlet Structure
- HTTPServlet
- HTTPServletResponse
- HTTPServletRequest
- Parameters
- Request Data
- RequestDispatcher
- Session Scope
JavaBeans - The Model
- What is a JavaBean?
- Business Logic
- Business Data
- Properties
- Bean Scope
- Synchronization
- Data Persistence and DAO
- Using JavaBeans in Servlets
- Using JavaBeans in JSPs
- web.xml
JSP Expression Language
- JSP Expression Language
- Literals
- Variables
- Operators
- Implicit Objects
- Functions
JSTL
- What is JSTL?
- Tag Libraries
- Core Tags - Conditionals
- Core Tags - Iteration and Import
- Catching Exceptions
- XML Manipulation Tags
- XPath and JSTL
- Internationalization Tags
- SQL Tags
Creating Tag Libraries
- Custom Tags
- Using Custom Tags
- Defining Tags
- Tag Library Descriptor Files
- Tags with Attributes
- Runtime vs. Static Attributes
Appendix A: Session Tracking
- Understanding Cookies
- The Cookie Class
- Cookies in JSP
- Cookie Properties
- Session Tracking
- The HttpSession Class
- Sessions in JSP
- Encoding URLs
Appendix B: Cascading Style Sheets
- Introduction to Style Sheets
- Inline Style Sheets
- Document Level Style Sheets
- External Style Sheets
- Comments
- Style Classes
- Style Precedence
Return to Top