Java Training Overview
This four-day course provides a thorough introduction to developing cutting edge Web applications using the latest Java EE 5 technologies from Sun and the open source community. It builds a strong understanding of Servlet technology as the cornerstone of Java's Web platform. It shows how JSPs build on the Servlet architecture and help your development teams achieve clear role separation. Additionally, the class will show you how to use JSTL, custom tags and JSP expression language to reduce Java code in Web pages while adding tremendous power and capability to those pages. Attendees will also learn JavaBean component development and how these components can be easily integrated into JSPs. The class culminates in an exploration of Java MVC frameworks and compares some of the more popular offerings like Struts and Spring MVC.
Java Training Audience
Developers interested in building faster, more scalable, and easier to maintain web applications.
Java Training Prerequisites
A solid understanding of Java is required. A good working knowledge of Web Concepts and HTML is recommended.
Java Training Course duration
4 Days
Java Training Course outline
JEE Overview
- Java Enterprise Edition (Java EE)
- Multi-Tiers
- Containers
- Java EE APIs
- Java EE Resources
HTTP Basics
- HTTP 101 – Web Basics
- Client to Server Interaction
- HTTP Message Initial Line
- HTTP Methods
- HTP Status Codes
- HTTP header Fields
- The Message Body
- HTTP Resource
Introduction to Servlets
- What is a Servlet?
- The Basic HTTP Servlet
- Servlet Life Cycle
- The service() Method
- Web Server Versus Web Container
- Application Configuration and Web.xml
- Welcome Pages and Error Pages
- Standard Deployment with War Files
- Proprietary Configuration Information
- Servlets and the Competition
- Servlet Resource
Request Data
- Getting Servlets Data
- Query String
- HTML Forms
- Collecting Data
- Header Parameters
- Init Parameters Revisited & ServletConfig
- Servlet/Form Resource
Cookies
- Cookies Defined
- Creating Cookies
- Retrieving Cookies
- Cookie Resource
HTTP Session
- Session Tracking Using HTTPSession
- URL Rewriting
- Container Session Support
- Attribute Data and Scope
- Servlet Context
- Multithreading
- Session Resource
Invoking Resources
- Servlet and Other Resources
- Redirecting
- Client Redirects
- Server-Side Redirects
- Which Redirect?
- Includes
- Redirect/Include Resources
Filters
- Servlet Filters
- Making a Filter
- Deploying Filters
- Filter Resources
JSP Introduction
- Why JSPs?
- What is a JSP?
- The JSP HelloWorld
- Scriptlets
- Implicit Objects
- How are Implicit Objects Implemented?
- Expressions
- Declarations
- JSP Comments
- JSP Resource
JSP Directive
- JSP Directives
- Page Directive
- JSP Thread Safety
- Buffer and AutoFlush
- Exception Handling
- The ‘exception’ Implicit Object
- Include Directive
- JSP Resources
Expression Language (EL)
- What is JSP Expression Language?
- EL Syntax
- EL Operators
- EL Variables
- EL Implicit Objects
- Deactivating EL
- JSP EL Resources
Standard Tags
- JSP Actions
- Tag Syntax
- <jsp:forward>
- <jsp:include>
- The Include Directive Revisited
- <jsp:plugin>
- Additional Action Tags
- Standard Tag Resources
JavaBeans and JSPs
- More Standard Actions
- JavaBeans Defined
- JavaBean Standard Actions
- <jsp:useBean>
- <jsp:getProperty>
- <jsp:setProperty>
- JavaBean Resources
JSTL
- What is JSTL?
- Why JSTL?
- JSTL Tag Categories
- Two Sets of JSTL Libraries
- Core Tags
- <c:out>
- <c:set>
- <c:choose>
- <c:forEach>
- <c:import>
- <c:redirect>
- <c:url>
- Formatting Tags
- <fmt:formatNumber>
- <fmt:formatDat>
- XML Tags
- SQL Tags
- Functions
- JSTL Resources
MVC and Java Web Frameworks
- MVC
- Model 2 Architecture
- MVC Frameworks
- MVC Resources
Struts
- What is Struts?
- Struts 2 Architecture
- Struts Setup
- Struts Actions
- Results and Result Handling
- JSP Tags
- Validation
- Interceptors
- I18N/L10N
- Struts Resources
Appendix A: HTML/XHTML Reference
- HTML Tags
- HTML Structure Tags
- HTML Basic Text Tags
- HTML Forms
- HTML Lists
- HTML Miscellaneous
- HTML Table
- HTML Character Entities
- XHTML
- What is Different About XHTML versus HTML?
- HTML and XHTML Resources
Appendix B: Web Deployment Descriptor
Appendix C: Custom Tag Libraries
- JSP Tags
- Creating a Custom Tag
- The Tag Library Descriptor (TLD)
- Taglib Directive and Use in the JSP
- TLD Alias
- Handler Class
- “Regular” Tag Handlers
- PageContext
- Tags with Body Content
- Tags with Attributes
- BodyTag Handlers
- SimpleTag Handlers
- Custom Tag Resources
Appendix D: Java Server Faces Introduction
- What is JavaServer Faces (JSF)?
- Where Did JSF Come From?
- Why Use JSF?
- What You Need to do JSF
- JSF Basics – Your First JSF Application
- Faces Servlet Configuration
- JSF Custom Tags
- Component Tree
- Actions and Navigation
- Faces Configuration File
- Static Navigation
- Internationalization/Localization
- Dispatcher/Servlet
- Invoking the Business Model
- Wiring Spring MVC
- Handler Mappings
- Controllers
- View Resolvers
- Spring MVC Tags
- Spring MVC Resources
|