Home    |    Instructor-led Training    |    Self-Paced Learning    |    Online Training          Email Us   Phone :
Contact Us   -   About Us   -   Clients    
Loading
Courses
A+
ADA
Adobe
AJAX
Android
Apache
AutoCAD
Business Analysis
Business Objects
Business Skills and Technology
C++ programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CORBA
Corel
Crystal Reports
Datawarehousing
DB2
Desktop Application Software
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Legato
Lotus
Macintosh
Mainframe programming
Microsoft technologies
MS Access
MultiMedia and design
.NET
Network+
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PowerBuilder
Professional Development
Professional Soft Skills Workshops
Project Management
Quality Center/Quick Test
Rational
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software Engineering
Software quality and testing
SQL Server
Sybase
Telecommunications
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Ajax in Java Applications
Version 5.0
Java Training Overview

This course guides Java developers through the sometimes bewildering array of approaches to adding Ajax functionality into their web applications. We analyze the challenges of supporting Ajax from the server side, going beyond simple Ajax request-handling strategies to consider goals such as:

  • Adhering to the model/view/controller pattern
  • Minimizing duplication of business and presentation logic
  • Providing Ajax code transparent access to the application's domain model
Reuse mechanisms such as JSP tag files and JSF facelets are also considered.

We then look at two of the dominant forms of Ajax framework: the RMI approach, and JSF component libraries. For each class of tool we investigate two popular options -- DWR and jabsorb; RichFaces and Trinidad -- and use that comparison to discover the broader architectural patterns of that approach.

Students will complete the course ready to make intelligent choices of Ajax tooling for their applications, and to start working with their chosen framework.

Java Training Learning Objectives
  • Identify architectural and design challenges inherent in the use of Ajax for Java applications.
  • Define a request-handling path that best addresses the needs of a given Java web application.
  • Manage script content and bind scripts to graphical widgets using JSP.
  • Use JSP tag files to consolidate presentation chunks such that they can be shared between pages and Ajax responses.
  • Process and generate various Ajax wire formats, including text, HTML fragments, XML, and JSON, both client-side and server-side.
  • Understand the impact of Ajax processing on session management and security.
  • Use RMI frameworks including DWR and jabsorb to provide direct connectivity to Java domain and/or service classes.
  • Use JSF componentn libraries including RichFaces and Trinidad to model Ajax functionality as part of the usual JSF UI model and processing lifecycle.
Java Training Prerequisites

  • Understanding of the Ajax programming model is required. This course is intended to follow Developing Ajax Applications, or some equivalent training.
  • Significant Java programming experience is required.
  • Basic servlets and JSP programming experience is required.
  • JSF experience will be helpful for the final unit, but is not required.
Java Training Course duration

2 days

Java Training Course outline

Chapter 1. Ajax Strategies
  • The Simplest Solution
  • Issues with Ajax Processing
  • Model/View/Controller for Ajax
  • Rendering Ajax Responses
  • RMI Frameworks
  • Ajax/JSF Frameworks
Chapter 2. Ajax Custom Tags
  • JSP Custom Tags
  • Tag Files
  • Encapsulating UI Fragments
  • Encapsulating Scripts
  • Delivering Scripts Once
  • Generating Unique Scripts
  • Binding Scripts to Widgets
  • Rendering Ajax Responses with JSP
Chapter 3. Handling Requests
  • Ajax-Only Servlets
  • Multi-Purpose Servlets
  • Front Controllers
  • Parsing Ajax Wire Formats
  • Producing Ajax Wire Formats
  • Session Management and Security
  • Finding Domain Objects
  • Impacts of Ajax on Page Processing
Chapter 4. RMI Frameworks
  • Java Objects in JavaScript
  • RMI for Ajax
  • Direct Web Remoting
  • jabsorb
  • Serialization Issues
  • Serialization vs. Remote Invocation
  • Creating Objects on the Client Side
  • Ajax RMI vs. Web Services
  • Security Issues
Chapter 5. Introduction to JavaServer Faces
  • MVC and Ajax
  • JavaServer Faces
  • UI Components
  • The JSF Lifecycle
  • What JSF Does for Ajax
Chapter 6. Facelets
  • Issues with JSP and JSF
  • JSP Custom Tags and JSF
  • Facelets
Chapter 7. JSF Component Libraries
  • Ajax Component Libraries
  • RichFaces
  • The Ajax4jsf Model
  • Trinidad
  • Partial Page Rendering
  • Customizing Client-Side Logic
  • Ajax-Aware Widgets
  • Polling and Pushing
  • JSF and User Events
Chapter 8. The State of the Art
  • Comparison of Ajax Strategies
  • Metrics: Code Efficiency
  • Metrics: Runtime Efficiency
  • Intangibles: Completeness and Correctness
  • Intangibles: Ease of Development
  • Whither Hence?
Appendix A. Learning Resources

System Requirements

Hardware – minimal: 500 MHz, 256 meg RAM, 500 meg disk space

Hardware – recommended: 1.5 GHz, 512 meg RAM, 1 gig disk space

Operating system: Tested on Windows XP Professional. Course software should be viable on all systems which support a Java 6 Developer's Kit.

Network and Security: Limited privileges required

Software: All free downloadable tools.


Contact Information
WINTRAC INC. - the one stop shopping center for IT training.
16523 S.W. McGwire Ct. Beaverton OR -97007
Phone: (503) 259-0312
Fax: 707-598-2268
Email: sales@wintrac.com

Send mail to webmaster@wintrac.com with questions or comments about this web site.
Copyright © 2012 Wintrac Inc.