Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tadas Davidsonas
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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.

 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic