|
ABOUT THE INSTRUCTOR
COURSE REVIEWS JSF 2.0, JSF 1.x, & MYFACES AJAX (w/ JQUERY, DOJO, EXT...) GWT 2.0 INTERMEDIATE SERVLETS & JSP SPRING FRAMEWORK HIBERNATE & JPA ADVANCED SERVLETS & JSP JAVA 6 PROGRAMMING JAKARTA STRUTS 1.x & STRUTS 2 SCWCD IPHONE PROGRAMMING CUSTOMIZED ON-SITE PUBLIC TRAINING SCHEDULE
APACHE TOMCAT
6 (6.0.28) APACHE TOMCAT 7 INTERMEDIATE SERVLETS & JSP ADVANCED SERVLETS & JSP JAVASERVER FACES (JSF) JSF 1.x JSF 2.0 AJAX & GWT JAVASCRIPT & AJAX BASICS PROTOTYPE SCRIPTACULOUS JQUERY DOJO GWT 2.0 SPRING HIBERNATE & JPA JAVA 6 PROGRAMMING JAKARTA STRUTS EJB3 WEB SERVICES WITH AXIS2 SCWCD TUTORIALS IN CHINESE TUTORIALS IN JAPANESE
|
Web Application Development with Java Servlets & JSPFebruary 14-18 2011, JHU Dorsey Center, Elkridge MD
|
||||||||||
|
|
Syllabus
Course now includes an introduction to Ajax
Overview and Setup
- Understanding the role of servlets
- Evaluating servlets vs. other technologies
- Understanding the role of JSP
- Configuring Tomcat
- Configuring Eclipse
- Deploying Apps from Eclipse
Servlet Basics
- The basic structure of servlets
- A simple servlet that generates plain text
- A servlet that generates HTML
- Servlets and packages
- Some utilities that help build HTML
- The servlet life cycle
- Servlet debugging strategies
Handling the Client Request: Form Data
- The role of form data
- Creating and submitting HTML forms
- Reading individual request parameters
- Reading the entire set of request parameters
- Handling missing and malformed data
- Dealing with incomplete form submissions
- Filtering special characters out of the request parameters
Handling the Client Request: HTTP Request Headers
- Reading HTTP request headers
- Building a table of all the request headers
- Understanding the various request headers
- Reducing download times by compressing pages
- Differentiating among types of browsers
Generating the Server Response: HTTP Status Codes
- Format of the HTTP response
- How to set status codes
- What the status codes are good for
- Shortcut methods for redirection and error pages
- A servlet that redirects users to browser-specific pages
- A front end to various search engines
Generating the Server Response: HTTP Response Headers
- Format of the HTTP response
- Setting response headers
- Understanding what response headers are good for
- Building Excel spread sheets
- Generating JPEG images dynamically
- Sending incremental updates to the browser
Handling Cookies
- Understanding the benefits and drawbacks of cookies
- Sending outgoing cookies
- Receiving incoming cookies
- Tracking repeat visitors
- Specifying cookie attributes
- Differentiating between session cookies and persistent cookies
- Simplifying cookie usage with utility classes
- Modifying cookie values
- Remembering user preferences
Session Tracking
- Implementing session tracking from scratch
- Using basic session tracking
- Understanding the session-tracking API
- Differentiating between server and browser sessions
- Encoding URLs
- Storing immutable objects vs. storing mutable objects
- Tracking user access counts
- Accumulating user purchases
- Implementing a shopping cart
- Building an online store
JSP Intro and Overview
- Understanding the need for JSP
- Evaluating the benefits of JSP
- Comparing JSP to other technologies
- Avoiding JSP misconceptions
- Understanding the JSP lifecycle
- Installing JSP pages
- Looking at JSP in the real world
Invoking Java Code with JSP Scripting Elements
- Static vs. dynamic text
- Dynamic code and good JSP design
- JSP expressions
- Servlets vs. JSP pages for similar tasks
- JSP scriptlets
- JSP declarations
- Predefined variables
- Comparison of expressions, scriptlets, and declarations
Including Files and Applets in JSP Pages
- Using jsp:include to include pages at request time
- Using <%@ include ... %> (the include directive) to include files at page translation time
- Understanding why jsp:include is usually better than the include directive
- Using jsp:plugin to include applets for the Java Plug-in
Controlling Web App Behavior with the Deployment Descriptor (web.xml)
- Location and purpose of web.xml
- Custom URLs
- Initialization parameters
- Preloading pages
- Welcome pages
- Error pages
Integrating Servlets and JSP: The Model View Controller (MVC) Architecture
- Understanding the benefits of MVC
- Using RequestDispatcher to implement MVC
- Forwarding requests from servlets to JSP pages
- Handling relative URLs
- Choosing among different display options
- Comparing data-sharing strategies
Simplifying Access to Java Code: The JSP 2.0 Expression Language
- Motivating use of the expression language
- Understanding the basic syntax
- Understanding the relationship of the expression language to the MVC architecture
- Referencing scoped variables
- Accessing bean properties, array elements, List elements, and Map entries
- Using expression language operators
- Evaluating expressions conditionally
JSTL: Handling Variable-Length MVC Data
- Obtaining JSTL documentation and code
- The JSTL Expression Language
- Looping Tags
- Conditional Evaluation Tags
- Database Access Tags
- Other Tags
Ajax: Asynchronous Page Updates
- Ajax motivation
- The basic Ajax process
- The need for anonymous functions
- Using dynamic content and JSP
- Using dynamic content and servlets
- Displaying HTML results
Creating Custom JSP Tag Libraries: The Basics
- Java-based tags
- Components of a tag library
- Basic tags
- Tags that use body content
- Tags that optionally use body content
- JSP-based tags (tag files)
- Components of a tag library
- Basic tags
- Tags that use attributes
- Tags that use body content
Custom JSP Tag Libraries: Advanced Topics
- Tags with dynamic attribute values
- Tags with complex objects for attributes
- Manipulating the tag body
- Looping tags
- Nested tags
- Using SAX and TagLibraryValidator to validate tag library syntax
Accessing Databases with JDBC
- Overview of JDBC technology
- JDBC drivers
- Seven basic steps in using JDBC
- Using JNDI with JDBC
- Retrieving data from a ResultSet
- Using prepared and callable statements
- Handling SQL exceptions
- Submitting multiple statements as a transaction
Too few developers for
onsite courses? Try
our public courses in MD,
co-sponsored by Johns
Hopkins Engineering
for Professionals:
Java 6 Programming:
A Crash Course
Feb 7-11 2011
Web App Development
with Servlets and JSP
Feb 14-18 2011
Rich Internet Apps
with Ajax (& jQuery)
Feb 28-Mar 4 2011
(Also Oct 2010
in Norway)
March 7-11 2011
March 15-18 2011
(Also Oct 2010
in Norway)
Java EE with
Spring & Hibernate
March 21-25 2011
RESTful & SOAP-based
Web Services in Java
April 4-6 2011
Courses at
YOUR Location
• Customized Content
• Flexible Dates
• Any Country
CEU's Now Available
You can get CEU's
for onsite courses.
Courses can be
offered directly from
accredited college.



The course will be held at