• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Tracking Log with EJB3

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
maybe a statefull session bean could help you.
it could wrap the idSession and act as a facade for all the session
 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic