Course Number: JAVA.037
Duration: 5 days (full-day sessions) OR Weekend/Evening sessions
Training Overview: Ajax (Asynchronous JavaScript and XML) is a browser-based technology for creating highly interactive Web applications by updating parts of a Web page with new data without reloading the whole page. Rich Internet Applications are transforming the Web and Ajax is the leading technology in this realm. This course covers the most current server-side and client-side Ajax frameworks as well as topics such as Javascript Object Notation (JSON), JavaServer Faces (JSF), and Direct Web Remoting (DWR). This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Ajax applications, and give you an understanding of the important concepts and technology in a very short time.
Location and Pricing: Most of our courses are conducted online OR at our training facility and are customized to meet our students needs. We also provide customized onsite training at our clients' locations. Pricing for an online course depends on if its a weekend/evening course or a full day course. The weekend/evening courses are most cost-effective as they are spread over a period of weeks giving you ample time to complete the hands-on exercises. To receive a customized proposal that will fit your schedule and price quote, please contact us 
Training Prerequisites: All attendees should have a basic knowledge of HTML and JavaScript and practical Java and Servlet/JSP programming experience.
Training format: This class is 60% hands-on, 40% lecture, with one-on-one dedicated time-slots with the instructor.
Training Materials: All students receive a copy of related courseware / material.
Software Needed on Each Student PC:
- Any operating system that supports Java 1.5.0 or later
- Java SE SDK 1.5, 1.6, or later
- Java IDE of your choice (We will advise on specific versions of the software required based on your standard development and production environments.)
- Additional software - please contact us for a detailed setup sheet
Training Objectives:
- Understand the principles of interactive Web applications and how Ajax is used to create them
- Understand how XMLHttpRequest works, and use it with JavaScript to update a Web page
- Use JavaScript and DOM with Ajax to manipulate the structure of a Web page
- Use Servlets/JSP to handle Ajax requests
- Be familiar with Ajax technologies and frameworks such as Prototype, script.aculo.us, Dojo, JSON libraries, DWR (Direct Web Remoting) and GWT (Google Web Toolkit)
- Understand the basics of CSS and use it with Ajax to dynamically change the Web page look
- Understand and use JSON (JavaScript Object Notation)
- Be familiar with using Ajax with XML
- Use Ajax with HTML, JSON or XML on both the client-side and server-side (Java)
- Use DWR (Direct Web Remoting) to invoke server side Java from the browser
- Use Ajax with JSF
- Understand issues with using Ajax technology, including design and security issues
Training Outline:
- Overview of Ajax
- What are Rich Internet Applications?
- What is Ajax?
- Ajax, JavaScript, and DHTML
- How Ajax Works
- Overview of Ajax Technologies
- Basics of JavaScript for Browsers
- JavaScript and DHTML Overview
- Using JavaScript in an HTML Page
- Basic JavaScript Programming
- Functions in JavaScript
- Debugging JavaScript
- Accessing HTML Elements and Modifying with innerHTML
- XMLHttpRequest
- The XMLHttpRequest Object
- Using XMLHttpRequest
- Working with Browser Differences
- Your First Ajax Application
- Using Ajax Data to Modify the Page
- Ajax Server Side Java Programming Basics
- Servlet/JSP Overview
- Handling Ajax Requests
- Returning Data to Ajax Requests
- Using JSP pages to generate Ajax data
- More JavaScript for Ajax
- Browser Events
- Using Ajax with Browser Events
- Using Built-in Objects
- Objects and Arrays in JavaScript
- Objects as Function Arguments
- Defining Classes in JavaScript
- Defining Modules and Namespaces in JavaScript
- Client-Side Ajax Frameworks
- Overview - Prototype, Dojo, script.aculo.us and others
- Prototype Overview
- Using Prototype ($(), Ajax.Request)
- script.aculo.us Overview
- Using script.aculo.us Ajax autocompleter
- Servlet/JSP (server-side) Generation of Data
- Dojo Toolkit Overview
- YUI (Yahoo User Interface Toolkit) Overview
- Google Maps and Google Ajax Search API Overview
- Cascading Style Sheets (CSS)
- CSS Overview
- Defining and Using Styles and Style Sheets
- Using CSS to Customize Ajax Data Display
- JavaScript Object Notation (JSON)
- JSON Overview
- JSON Data Structure
- Objects and Arrays in JSON
- Using JSON on the Server with Java
- Working with JSON in the browser
- Other JSON Tools Overview
- XML and Ajax
- XML Overview
- XML - The x in Ajax
- Working with XML on the browser
- Generating XML on the server with Java
- Using HTML vs Using XML vs Using JSON
- Direct Web Remoting (DWR) - Invoking Java via Ajax
- Overview - Invoking Java via Ajax
- DWR Architecture
- Invoking Java Functions From the Browser
- Registering Callbacks
- Additional Capabilities
- Overview of other technologies (JSON-RPC, Google Web Toolkit - GWT)
- Ajax and JavaServer Faces (JSF)
- JSF Overview
- Ajax4sjf Overview
- Using Ajax with Ajax4jsf
- Ajax4jsf components
- Overview of the RichFaces Component Library
- Patterns and Best Practices
- JavaScript Best Practices
- State of Ajax
- Ajax Design Patterns
- Ajax Security Issues
- Other Ajax Issues
- Recap of Ajax Technologies and Their Uses
- Future Directions
- Final Review
|