Email Us   Phone : 503-259-0312   
  Home    |    Instructor-led Training    |    Online Training     


Contact Us   -   Why Choose Wintrac   -   Clients    

Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Microsoft technologies
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
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.


 
About us
Contact us
Careers at Wintrac
Our Clients
Why Wintrac


Register for a free training CD-ROM drawing
Refer a client or instructor and earn $$$


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
 
? Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy