Someone has posted a pattern for this using entity beans -
http://theserverside.com/patterns/thread.jsp?thread_id=220

Also the latest issue of JDJ's Linux focus issue has an article
on it. I don't see it online yet though.


>From: Johann Hackl <[EMAIL PROTECTED]>
>Reply-To: A mailing list for Enterprise JavaBeans development
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Server - Session ID
>Date: Fri, 9 Feb 2001 09:36:02 +0100
>
>Hi all,
>
>i need a unique ID which identifies a server - session for logging
>purposes.
>
>Following situation:
>A Client connects to the App-Server and then first creates a Stateful -
>Session - Bean, lets call us it "ClientController".
>Then he invokes some methods of the ClientController which do some actions
>on other EJB's.
>
>In log - messages, created by all those EJB's there should be some kind of
>ID equal for the whole session
>without having an additional parameter for each method.
>
>Has anyone of you an idea of how to do this?
>
>Thank's in advance,
>
>Hans
>
>
> > __________________________________________________
> > AKT Informationssysteme AG
> > Spitalhofstrasse 79 / 2. OG
> > 94032 Passau
> > Tel.: +49 851 56097 144
> > http: www.akt-infosys.de
> > Mail: [EMAIL PROTECTED]
> >
> >
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to