SanEd consulting

Company profile

SanEd consulting is an IT training company which initiated its services in 2005 primarily as Sun Microsystem's authorised training provider. Our training portfolio was Solaris and Java focused. Later on we upgraded our portfolio and included authorisations from Veritas / Symantec and Oracle after aquisition of Sun. 

As the global IT market is rapidly changing and developing we must have accepted its needs and trends. Thus, beginning of 2014 we decided to "refurbish" our services and included new, young and perspective partners and together prepared number of interesting trainings you can find in our catalogue.

We are looking forward to successful cooperation with you.

.
поздравления с новорожденным

Ajax in Java Applications

Start Date:
Not Specified
Finish date:
Not Specified
Code:
CFR202
Price:
0.00 EUR (VAT excl.)

Description

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.

 

Training days

2 days

 

Prerequisites

  • Understanding of the Ajax programming model is required. This course is intended to follow Course CFR201, 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.

 

Skills gained

  • 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.

 

Course content

 

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?

 

 

 

Price:  700 €

 

Date:  on demand


Book the course: Ajax in Java Applications

Bookings are disabled.

     

- Trainings - - - Ajax in Java Applications