BT

Facilitating the spread of knowledge and innovation in professional software development

Contribute

Topics

Choose your language

InfoQ Homepage News Four Ways to Ajax Enable a Java EE Application

Four Ways to Ajax Enable a Java EE Application

Bookmarks

Sun's Developer Network posted a series of four articles late last year on different ways to add Ajax to a Java EE application. Each article covers a different way of adding in Ajax, including do-it-yourself, using Dojo, JSF components, and JSF phase listeners.

Artima has a nice write-up of the series. All of the articles use NetBeans and GlassFish and walk through all of the steps of each technique. These articles build off of the Ajax Design Strategies article Sun posted in October.

The techniques covered are:

  1. Setting up the NetBeans project and deploying the application on GlassFish. It then goes on to show how to generate the XMLHttpRequest object and how to respond to it via a servlet.
  2. Dojo and the advantages of having it handle events for you as well as browser differences. While the article does not make use of many of Dojo's features, they are noted.
  3. Using a JSF component
  4. JSF phase listeners and their pros and cons as opposed to a straight JSF component.
We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.