This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Seam and Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Seam and Ajax" Watch "Seam and Ajax" New topic

Seam and Ajax

Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
I think Seam support Icefaces for Ajax. How different is this from DWR remoting. Can we integrate DWR with Seam framework?

Paras Jain
SCJP 5.0
Dan Allen
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Seam has a replacement for DWR named JavaScript remoting. I cover this topic in detail in chapter 12 and also draw parallel to DWR. The main difference between Seam remoting and DWR is that Seam remoting uses an XML payload, while DWR uses a JSON one. It wouldn't be impossible to bridge them, but then again, what would be the point. You simply add @WebRemote to the method of a Seam component and you can call it from JavaScript.



Dan Allen | | Author of Seam in Action -
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
Looks great! Thanks for the example
I agree. Here's the link:
subject: Seam and Ajax
Similar Threads
Seam and AJAX
Can I use Ajax with Seam?
Seam - DWR
Design sugession needed