Richard Hoberman <richard.hoberman <at> sadalbari.com> writes: > 2. POJO > > Deserialize representation into POJOs, directly from JSON or XML as > appropriate. This avoids working with XML directly, but requires an > extra data model (the legacy business layer uses POJOs annotated for > Hibernate, but I want to decouple the REST layer from the business > layer, so I'd have to duplicate the data model to some extent)
Hi Richard, Not sure what you are asking exactly but you mention hibernate and POJOs. So this might be way off the question but are you familiar with db4o? http://www.db4o.com/ Persist the object, fetch the object. No more data layers! I am a big fan of object persistence. Hugh

