aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Tracking Log with EJB3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tracking Log with EJB3" Watch "Tracking Log with EJB3" New topic
Author

Tracking Log with EJB3

Elton Kuzniewski
Ranch Hand

Joined: Dec 06, 2007
Posts: 44
Hi there!

I'm developing a business core for an application with EJB3.
My EJB3 Services can and do calls for others EJB3 Services in same JVM.

I'm with a little problem to solve a requesite where my business layer needs make a Tracking Log.

What is it?
My First EJB3 Service will receive a idSession, and I need use this idSession at every log event that my business layer will do.

Thus, I need that this idSession remain at some place that every EJB3 service can access it. But this idSession will be diferent for every new request.

Anyone has an idea? How I can resolve this?!

Thank's a lot!


Elton Kuzniewski<br>SCJA 1.0, SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCJD (B&S - working on project),
<br><a href="http://www.eltonk.com.br/" target="_blank" rel="nofollow">www.eltonk.com.br</a>
giuseppe fanuzzi
Ranch Hand

Joined: Sep 18, 2006
Posts: 99
maybe a statefull session bean could help you.
it could wrap the idSession and act as a facade for all the session


GiUsEpPe (SCJP, SCWCD, SCBCD, IBM OOAD, SCEA/OCMJEA 5)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tracking Log with EJB3