Re: Again session...

"Diez B. Roggisch" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

Am Sonntag, 16. November 2003 17:35 schrieb Thelmo Loisio:
> Well, i'm learning barracuda day after day and it really seems a good
> piece of software (TM) but some aspect of it aren't clear to me yet.
>
> Which are the diffs between using ObjectRepository.getSessionRepository
> and SessionService.getSession ?!
>
> They both seems to do the same thing... to me.

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.

Regards,

Diez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.