Hi,
I have a similar problem which Klaus below had. I got his query from the
net. I would like to know if anyone knows about this.
Thanks in advance.
Anand
FROM: Benary Klaus
DATE: 05/14/2002 06:40:55
SUBJECT: MDC and EJB
I like the idea of MDC very much. But, can I use it in an J2EE environment
where the logging activity is passed around between multiple EJBs? As I read
the spec, it is entirely up to the the EJB container to use one of its
pooled threads to execute EJBs.
Whenever I test it, it works fine: Any subsquent call to another EJB is
performed in the same thread, and so the MDC forms a valid context.
But I think this is only by chance and it could fail.
Does anyone know more about this?
Thanks
Klaus
------------------------
Klaus Benary
GEHIS GmbH Berlin
WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>