[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: dave <ceek63@y...>
  • Date: Wed, 27 Feb 2008 22:23:48 +0000

On 27/02/2008, dave <ceek63@y...> 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/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member