This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi , My application needs to store a business object as XML, no fancy processing is needed on the XML , just reading and writing the business objects on the files system for long storage, what is the best practice, I am new to XML worl in java, I can see alot of parsers and alot open source packages that can do the job (xerces,digester,dom,sax...), what is the best approach to do this best regards Kareem
You might want to check out XMLEncoder (part of J2SE 1.4) and XStream (very simple mapping between classes and XML) as well as consider the use of an XML database such as eXist or Xindice (depending on your needs for querying the serialized business objects).