Re: Again session...
Thelmo Loisio <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2003-11-16 at 17:45, Diez B. Roggisch wrote: > AFAIK the ObjectRepository has been added by Christian quite a while after > barracuda had gone 1.0 - it was a new way to prepare objects. So thats the > reason why we are unorthogonal here - the SessionService is way older. > > I actually never used any of them - I always went throug > HttpRequest.getSession. That you can't prevent people to do, so I'll guess we > have to live with several ways to obtain a session. Choose what suits you > best. Thanks Diez. That what i've thought at and is pretty normal to have a situation like that, have a choice is always a good thing and i can live with that... ;) Just one more question. Within Barracuda (but also without it) which is yours preferred method on accessing sessions from and object which does not have a direct reference (it isn't a servlet), do you pass it as a reference (like a method parameter) or... what's your (and of others as well if you like) experience ?! Again thanks for the fast reply -- Thelmo -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Scopri come investire i tuoi risparmi con Manuali.Net! Tutti i trucchi ed i segreti in un comodo corso: Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1809&d=16-11