Rick
<vendor>
We use the PCA (Persistent Cache Architecture) found in GemStone/J to do
this all the time. To link back to persisted state, I will use (in order of
preference) some state in parameters of the call, some state as a result of
the call, or an extra parameter passed with the call.
</vendor>
Kirk Pepperdine
Senior Consultant
Brokat Platform Consulting
www.gemstone.com
www.brokat.com
www.blaze.com
----- Original Message -----
From: "Rick MacConnell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 7:22 AM
Subject: Passing Arguments via Context
> We've got some attributes we'd like to pass to our Stateless Session Bean
layer on a *per session* basis. It seems that the properties attribute of
the Context object would be suitable for this but it's been deprecated since
EJB 1.1. Essentially, for each call to our EJB's we'd like to attach some
attributes so that we can audit the operation that is being requested.
Ideally, we could pass these attributes in with the Context but we've not
been able to do this. Anyone had similar needs? We could easily add a
collection to each of the method signatures on our stateless session beans
and simply pass the audit arguments in that way but it seems like there must
be a better way.
>
> Thanks,
> Rick
>
>
===========================================================================
> 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".
===========================================================================
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".