• 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

How to send data to GWT

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How do GWT receives the data?
Does it search in a Web Service or just an XML?
And for example if is an XML, does each GWT component needs a especific XML definition?
Or in the other hand the server side part of the compoenent can just receive an object or a list of objects and then it self handles the serialization of the object to send the data to the javascript part?

In other words how easy is to format and send the data to the javascript part of the GWT components?

Best regards,
Nestor Mata
 
author
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It uses a mechanism called GWT RPC that enables you to easily pass Java objects back and forth via HTTP. So the serialization and deserialization is handled for you by GWT.

thanks
prabhakar
 
Nestor Mata
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great!
Thanks,

Nestor Mata
 
Good heavens! What have you done! Here, try to fix it with this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!