> -----Original Message-----
> From: Patrick Casey [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 19, 2005 10:19 PM
> To: 'Tapestry users'; [EMAIL PROTECTED]
> Subject: RE: Hibernate + Spring: LazyInitializationException
> 
> 
> 
>       Isn't that pattern going to break down in a clustered 
> environment
> though? I don't believe a Hibernate session will survive 
> being serialized
> and shipped to another (different) web server if the 
> HTTPsession gets passed
> around.

Not in general, at least, Hibernate-Sessions claim to be Serializable (by
implementing it). If your domain objects are serializable, I don't see more
of a problem than you'd have with any other pattern. 
But, to be honest, I never really tried, because up to now I havent't had
users real demand transparent failover. Usually they're much more concerned
with my other bugs :(.

Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to