Re: java serialization alternative

Donald McLean <[email protected]> Mon, 31 Mar 2008 18:23:31 -0400
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Mon, 31 Mar 2008, Jeff Kesselman wrote:

> Bob Lee wrote:
> > On Mon, Mar 31, 2008 at 12:26 PM, Donald McLean <[email protected]> wrote:
> >
> >> We use embedded Derby+Hibernate and I have not found it to be either
> >> cumbersome or fragile. Hibernate took a bit of getting used to but once
> >> I found a recipe that worked, varying it wasn't all that bad.
> >>
> > Yeah, I'll take JPA/Hibernate mappings over serialization compatibility code
> >
> I actually looked at Hibernate for our project.
>
> Its a no starter as it requires prescience of the structure of the
> persistent data prior to the execution
> of the code.  Something we specifically do not have.

There are ways around those kinds of problems. I've used things like XML
CLOBs for unstructured parts that fit well within a larger structure. I've
also used key/value mappings and node/leaf structures for object
architectures that didn't resemble traditional relational tables - and
they work out just fine.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com