Use Ajax to call method in session bean?

Is there a way I can use Ajax to call a method in a session bean. I would like to update one of my dropdowns without refreshing the whole page.
[150 byte] By [Tosa_Developer] at [2007-11-26 9:33:38]
# 1

It's generally not a good practice to call your business classes directly from javascript.

But you can place a mediator (business delegate) java class inbetween and can access the session bean instead.

To access any java class using ajax, you may need a remoting library like DWR or JSON-RPC.

These libraries offer very powerful and easy way to use ajax in your application.

But if you want a more simpler solution, then have a look at libraries like "ajax4jsf" or "ajaxanywhere".

JamesSelvakumar at 2007-7-7 0:21:38 > top of Java-index,Development Tools,Java Tools...
# 2
I teach how to do something similar to this in my JavaOne hands-on lab, which you can get from http://www.javapassion.com/handsonlabs/5655_ajaxcreator.zipChris http://blogs.sun.com/divas
MrsJetsons at 2007-7-7 0:21:38 > top of Java-index,Development Tools,Java Tools...