• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

serialize and deserialize class objects in order to write/retrieve to/from database

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a class:



How can I:
1) serialize page1 object
2) send it to the database
3) retrieve
4) deserialize

Serialize and desirealize are the most important to me. Sending and receiving I can handle on my own.

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Check out this link http://java.sun.com/developer/technicalArticles/Programming/serialization/ for more information on serializing/deserializing an object.

Your question is not pertaining to GWT. So I will move it to a more appropriate forum.
CarefullyChooseOneForum
 
Tadas Davidsonas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It relates to GWT because I have serialise and deserialise using GWT classes. GWT implement only some libraries of JAVA and does not support the others that's why I have some problems to serialise. And the best, for me would be to serialise/deserialise everything on the client side. Any suggestions?

Thank you.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean, serialize and deserialize on the client side? The client side is a browser for GWT, no? You're not running Java on the client.
 
Tadas Davidsonas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I mean hot to serialise the object using google gwt classes then pass that object to PHP and with php write it to the database.

Thank you very much for your concern. Sorry for the late reply.
reply
    Bookmark Topic Watch Topic
  • New Topic