Re: java serialization alternative

Jeff Kesselman <[email protected]> Tue, 1 Apr 2008 00:52:10 -0400
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
Donald McLean wrote:
> 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
Right.... and then your back to Serialization to create the CLOBS or BLOBS.

Net value - nil except that you've introduced yet another layer of
complexity into the problem.

JK

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

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