• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Seam and Ajax

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Seam support Icefaces for Ajax. How different is this from DWR remoting. Can we integrate DWR with Seam framework?
 
Author
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Java:


JavaScript:
 
Paras Jain
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks great! Thanks for the example
 
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!