Server side context for session beans

  • Thread starter TT \(Tom Tempelaere\)
  • Start date
T

TT \(Tom Tempelaere\)

Hi,

I am developing the server side of an application, and I'm using session
beans. These session beans should be stateless. The functionality is
implemented with regular java classes and is in a seperate jar.

The implementation is a different context, and needs user specific data to
execute (user language, permissions, ...). The implementation is composed of
several classes, which require a database connection.

I would like to know a good strategy to pass some context object to the
implementation that provides the db connection and the user data. Can I
tweak the SessionContext object?

Thanks
 
T

TT \(Tom Tempelaere\)

TT (Tom Tempelaere) said:
Hi,

I am developing the server side of an application, and I'm using session
beans. These session beans should be stateless. The functionality is
implemented with regular java classes and is in a seperate jar.

The implementation is a different context, and needs user specific data to
execute (user language, permissions, ...). The implementation is composed of
several classes, which require a database connection.

I would like to know a good strategy to pass some context object to the
implementation that provides the db connection and the user data. Can I
tweak the SessionContext object?
Thanks

Maybe someone could redirect me to a newsgroup that discusses these matters
(session beans, context strategies)?

Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top