I'm looking for an API for serialize Hibernate Objects to/from XML. I tried HiperJAXB but is a little hard to understand for my. Now Im looking XStream works fine but now I have some doubts about Forgering-keys and CLOB Manage. (How I can do that?) Anyone have some experience with this Api or know another API?
I think that 1stly you should describe the problem, the goal and then I guess some guy will suggest something viable. There are lots of frameworks for XML-Object mapping, but as I always say it is more important to discover exactly which one is best suited to you.
Well the problem is "easy" I'm peruvian citizen and Internet is very slow in some places inside my country, I have one server in Lima (Peruvian's Capital) with Oracle 9i, in the past many internet solutions where desingned thinking in one big server in Lima but this solution didn't work fine (bandWidth problem). Now I'm designing one "distributed" solution I still havien one Big server in Lima (database server) and many small servers (Web servers) in the others cities. I use Hibernate to mapping the records, serialize the objects to XML and send the information (by request) with WebServices to the small server the people "work" with Hibernate's objects and send back to the server ( webServices again). and update the Database. That is te reason I need one very quick Api to serialize to/from XML.
Any Idea? thank You.
Joined: Jul 12, 2004
If you are speaking about bandwidth problems I do not think that xml is the good answer :-(. You could not send real Serializable objects? (just the POJOs decoupled from the session).
Joined: Jun 04, 2004
Yes! POJO's would be a good answer, (I think Hibernate's objects are POJO too). Even I was thinking Pojo and JAX-RPC Webservices, but there are another problem: Security. I need Data encription, and digital signing (public/private key) :-(. I not sure about this with Pojo and RPC, but I can do it with SOAP Message ;-).