Next in thread → Next in month →

Re: [xml-dev] persisting java object model..

From
Andrew Welch <>
To
dave <>
Date
2008-02-27T22:23:48Z
ID
<>
Thread
Re: [xml-dev] persisting java object model..
On 27/02/2008, dave <> wrote:
>
>  How would I persist an in-memory java object model? Is
>  it  efficient to convert this object model into XML
>  and store it in a DB? OR is serialization the way to
>  go? Definitely, there could be far better solutions
>  out there.

Have a look at JPA annotations using Hibernate:

http://www.hibernate.org/hib_docs/annotations/reference/en/html/

http://java.sun.com/javaee/overview/faq/persistence.jsp

Not much to do with XML, but it's fantastic nonetheless...

cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
Next in thread → Next in month →