I haven't heard Rod's take on the matter (got url?), but then again I'm also
not having problems with Hessian doing strange things to my objects. <wink
/>
jon

On Thu, Aug 27, 2009 at 9:24 AM, Mattias Jiderhamn <
mj-li...@expertsystems.se> wrote:

>  Well, there are different opinions about DTOs too.
> I assume you've heard (Spring developer) Rod Johnsons take on the
> matter...?
>
>  </Mattias>
>
> Jon Stevens wrote (2009-08-27 17:35):
>
> Yea, just cause Hibernate has that feature doesn't mean it is a good
> feature. =) You may want to consider the  DTO pattern...
>
> http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html
>
>  I've found that over time, the pain of creating and dealing with DTO's is
> mitigated by the cleanliness of it and you don't run into weird issues like
> you are running into...
>
>  jon
>
> On Thu, Aug 27, 2009 at 12:05 AM, Mattias Jiderhamn <
> mj-li...@expertsystems.se> wrote:
>
>>
>> http://docs.jboss.org/hibernate/stable/core/reference/en/html/transactions.html#transactions-basics-apptx
>>
>> Jon Stevens wrote (2009-08-26 21:48):
>>
>> You put Hibernate objects into the session?
>>  jon
>>
>> On Wed, Aug 26, 2009 at 8:37 AM, Mattias Jiderhamn <
>> mj-li...@expertsystems.se> wrote:
>>
>>> In Resin 4 <persistent-store type="file"> seems to use Hessian for
>>> serializing the session values.
>>> This causes some trouble for us since Hessian in some cases tries to
>>> access uninitialized Hibernate collections after the session/transaction
>>> is closed.
>>> Is there a way to revert Resin 4 to the old behaviour...?
>>>
>>> --
>>>
>>>  </Mattias>
>>>
>>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to