AJAX Tutorial for Java Programmers
Tutorial Overview
The prerequisites for this tutorial are:
- Java. You should be comfortable in the Java programming language.
- HTML. You should know HTML, and be familiar with HTML attributes and styles.
This tutorial teaches AJAX programming in Java using the Jaxcent Java AJAX framework. Jaxcent
- is all-Java and requires no JavaScript programming.
- integrates well with other Java server-side programming, by providing
access to the Java server-side session and application objects.
Even though programming in Jaxcent doesn't require JavaScript, there is some JavaScript used in this tutorial
(in the Data Verification and Working with JavaScript topics.)
Those who do not wish to use any JavaScript may skip these parts. But it is recommended
that you should at least try to read through and if possible do the exercises in these parts of the tutorial.
Even if you don't know any JavaScript, just going through the exercises will give you a basic exposure to JavaScript,
enough to understand what it is all about. For Ajax programmers, such familiarity could prove helpful once in a while.
The steps in the tutorial are outlined below:
- Getting Started
- Hello, World
- A Dancing Hello, World!
- Listening to Hello, World Events
- Adding a New Page
- Working with Tables and Lists
- Receiving Input from the Page
- The Session
- Retrieving Session Data
- Navigation in Web Applications
- Data Verification
- Working with JavaScript
- Hiding and Showing Page Elements
- Adding New Elements and Moving Existing Elements
- Saving Your Own Data in the Session
- Dragging and Dropping
- Optimization Issues
- Further Learning