Posted by mode
on July 18, 2006 at 3:07 PM PDT
AJAX enabling Java Web Applications using jMaki or JSF-Extensions
Sun recently announced two initiiatives at JavaOne 2006 to AJAX enable JSPs and JSF components -
JSF-Extensions . When we announced the efforts, there was confusion about the two and it was viewed as the two technologies were competing. This document helps resolve the confusion and show that the two technologies are complimentary.
Before we move to the discussion of jMaki and JSF-Extensions a quick note on JSP and JSF and when to use which one. Generally JSP is used when you want to have some dynamic content generated in your page but not necessarily
a lot of user interaction. JSF on the other hand is designed for user interaction and has a very well defined request processing life cycle. One key design requirement for JSF was scalability of applications. While this is generally true, however take care while designing applications as it can start off with some dynamic content and can quickly develop into an application that has a lot of user interaction.
jMaki and JSF-Extensions both AJAX enable JSPs and JSF components. So how do you decide when to use jMaki and when to use JSF-Extensions? jMaki and JSF-extensions work well together. Through this document this assertion will become more clear.
The name, jMaki, was derived from "j," for Java, and "maki," a Japanese word for