Right,

shale remote and mabon are designed to invoke backingbean methods. the
pattern is similar.

regarding ajax4jsf/dynaFaces, there is also PPR stuff in Tomahawk
Sandbox (dojo based) and Trinidad (iframe based)

one more note on mabon, it provides a client-api based on dojo.

-M

On 10/31/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:


On 10/31/06, Aneesha Govil <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can anyone give me links to any resources/examples on Ajax with JSF using
the PhaseListener approach. I found it on the J2EE Blueprints but they work
only with Java EE 5. I am using myfaces 1.1.4 (J2EE 1.4). Does this approach
work with that too? Please give me some links/resources.

In addition to the other references people have given, you might want to
look at the Remoting feature in Shale[1].  It includes a built-in phase
listener that tries to do all the hard stuff so you don't have to, and an
extensible Processor architecture so you can plug in your own processing
logic.

One important factor is that Shale Remoting assumes you do *not* need access
to the JSF component tree for the original page (thus eliminating the
overhead of saving and restoring it), or even that the client be a JSF page
at all.  If you need that, you might want to look at Ajax4JSF[2] or Dynamic
Faces[3].  But, if you just need an easy way to hook incoming requests to
back end business logic, and like the ability to use JSF's managed beans and
expression evaluation capabilities, Remoting might be useful to you.

(Incidentally, Shale Remoting is what many of the Blueprints AJAX components
are using under the covers to acccess static resources, or connect to server
side event handlers.)

Craig

[1] http://shale.apache.org/shale-remoting/
[2] https://ajax4jsf.dev.java.net/
[3] https://jsf-extensions.dev.java.net/


> Any help is appreciated.
>
> Thanks a lot.
> Regards,
> Aneesha
>




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to