Beginner |
|
Joined: Sun Aug 12, 2007 11:22 am Posts: 44 Location: Sweden
|
Hi!
I need some advice on Hibernate and WebServices
I want to use webservices to send and recieve java objects. It works fine with pojos.
How can I send objects with database id , modify in client and send to server and just persist the object again?
ex.
Client makes request for Page objects thru Webservice and get a collection of Pages with id and sortorder ( From Hibernate DAO )
Client changes some sortorder add a new Page and send the objects to servet.
Server iterates true collections and calls persist. Pages that has id gets updated and new Pages get inserted.
Can anyone help me with how to do this?
|
|