yeah that's right, I'd recommend to use detachable models all over the place
(well where appropriate :-)), as it reduces the amount of serialized data
and thus keeps your session small and handy :-). with a proper cache set up
most of the loads are gonna be cache hits anyway ... and it saves you the
pain to deal with lazy-loading-exceptions (if you're using hibernate).

regards,
Michael


Fabrizio Giudici wrote:
> 
> 
> On Jul 23, 2008, at 13:52 , Michael Sparer wrote:
> 
>>
>> "The thing that really frustrates me is
>> the fact you're forcing me to use serializable objects, even if I
>> don't need to (and when I go with clustering, I'll use Terracotta).
>> But I'm confident I'll find some design work-around on that."
>>
>> I don't agree with you in this point. The "design work-around" you're
>> talking about is the proper use of models. We're clustering with  
>> Terracotta
>> and none of our model objects actually is Serializable ...
> 
> Well, it just sounds as the point where I want to go :-) At the moment  
> most of my models are not serializable, but I'm still with Wicket 1.3.  
> AFAIK in Wicket 1.4 I'll have problems with that, unless I use the  
> detachable stuff. Or am I wrong?
> 
> -- 
> Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
> Tidalwave s.a.s. - "We make Java work. Everywhere."
> weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
> [EMAIL PROTECTED] - mobile: +39 348.150.6941
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/%22This-time-last-year%22-....-is-Wicket-really-a-disappointment--tp18608440p18609298.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to