JV12 Java EE Web Applications |
|
Length/Format |
3 days for core topics,
additional time for optional topics
Lecture, discussion, demos and hands-on labs
|
Description |
This course presents the
Java EE API core and advanced coding techniques for
developing WebApplications using Servlets and JavaServer
Pages. Each student receives both a training workbook and
reference textbook. The material may be delivered on either
Linux/UNIX or Windows platforms. |
Audience |
The 3 day course detailed
below is intended for programmers who have attended JV11
"Java Programming" or have equivalent SE experience. Servlet/JSP
topics assume some knowledge of HTML. |
Key Topics |
1 JAVA EE OVERVIEW -
Overview, Definitions, MVC Design Pattern, Server Products;
Platform Servers, Containers, Client Technologies; API
Services, Servlet, JSP, EJB, JNDI, JDBC, JTA, JMS, JAXP,
JCA, JAAS; WebApps Processing Cycle; Deployment Objects,
JAR/WAR/EAR; Server Component Directory Structure, XML
Descriptors; Development Roles; Sample Apps.
2 DEVELOPING JAVASERVER PAGES JSP -
Overview, User Interface Forms, Actions, GET vs POST
Processing; JSP <%Tag Syntax, JSP Scriptlets and
Expressions, Implicit Objects request/response, Methods;
Real vs Virtual Server Paths; Using Java Component Classes,
JSP Directives, Importing Packages, Declaring Custom
Fields/Methods; JSP and App Error Handling
3 DEVELOPING SERVLETS -
Overview, User Interface Forms; Servlet Class Architecture,
LifeCycle; Request/Response Objects; Servlet Mapping and
web.xml Deployment Descriptor; Servlet Coding, LifeCycle
Methods, Instance Fields and Threading; Servlet and App
Error Handling, Logging/Console Messages
4 SERVLET COLLABORATION AND MVC DESIGN PATTERN -
Overview Model 1 vs 2 MVC Patterns, Servlet/JSP/JavaBeans
Collaboration; Forwarding Requests, Data Attributes,
RequestDispatcher Code, Redirecting Responses; Including
JSP/Servlet Reponse Output, Compile vs Request Time Include;
Context and Servlet Parameters and web.xml; Custom Error
Response Pages
5 MAINTAINING STATE WITH SESSIONS AND COOKIES -
Overview, Stateless HTTP; AppServer HTTP Sessions,
Attributes, Methods, Sharing/Threading Issues; URL Encoding
vs Cookies; Cookie Overview, Formats, Features; Creating
Cookies, Specifying Expiration/Path/Domain, Retrieve/Send
Methods; URL ReWriting and Hidden Fields Alternatives
6 JSP TAGS AND JAVABEANS -
Overview, JavaBean Design Pattern; JSP Action Tags, XML
Syntax, useBean Tag; Get/Set Property Tags, Request
Parameters, Conversion to/from String
7 JSP EXPRESSION LANGAUGE EL -
Overview, EL Dis/Advantages; Coding EL, DotOperator, Scoping
Access, [] Operator and List/Map Coding; Implicit EL
Objects, Request/Context Parms, Headers, Cookies; EL
Arithmetic/Comparison Operators; APPENDIX: JSTL
8 SERVERSIDE DATABASE PROCESSING -
Overview/Review JDBC Drivers, Connections, ResultSets;
Connection Pooling; AppServer Administered Objects,
DataSources and JNDI
9 RESTRICTING ACCESS AND JAAS -
Overview, Authentication and Authorization, Programmatic vs
Container-Managed; Authentication Types; Security Role and
Constraints in web/context.xml, AppServer Support, Realms
APPENDICES:
A ESSENTIAL HTML SKILLS -
HTML Document Structure Tags; Common Tags, Headings,
Paragraphs, Formatting; Coding Anchor Link Tags, Attributes;
Coding Table Tags, Rows, Columns, Formatting; Including
Images; Styles; Coding Form Tags, Action and Method
Attributes, Text Controls and Buttons, Check/Radio Buttons,
Combo/List Selectors; Styles
B USING TOMCAT -
Install Directory Structure, Deployment Directories,
EnvironVars; Start/Stop AppServer, server/context.xml
OPTIONAL TOPICS (beyond core 3-day offering)
WRITING CUSTOM JSP TAGS -
Overview, taglib Directive, Tag Library Descriptors TLD;
Custom Tag Coding w/out Content Body; Handling Tag
Attributes; Iteration; Using Scripting Variables/Objects,
TEI Class; Body/TagSupport Fields/Methods, PageContext and
BodyContent Fields/Methods
CODING FILTERS AND LISTENERS -
Filter Overview, Benefits, Usage; Coding Filters, LifeCycle
Methods, FilterConfig Object, Chaining, XML Configuration;
Request/ResponseSide Processing, Req/Resp Wrappers, Init
Parameters;
Listener Overview, Usage; Coding Listeners,
ServletContextListener, Interface Methods, XML Registration
Tags; Other Listeners, HttpSession ad ServletRequest,
Interface Methods, Event Objects |
|
Copyright © 2011 AJC Information Solutions http://www.ajcis.com info@ajcis.com 973.605.8373
|
|
|