Bonjour Benjamin,
> > 3. I make a JNDI lookup for a statefull session EJB, I store the home
> > reference in a servlet session variable (OK)
> > 4. Create a instance of the statefull session EJB thanks to the Home
> > interface reference an store the remote refence in a servlet session
> > variable (OK)
>
> Do you reallly store a reference to your session or a Handle?
I tried both..
> > 5. Call a method of the statefull session EJB thanks to the Remote
> > interface reference (OK)
> >
> > [Third HTTP request]
> > 6. I get the remote reference from the servlet session (OK)
>
> I think you should use a Handle to your session. It may be the 'normal' way
> to 'keep' an EJB session in your servlet session.
I tried it and it still don't work.. same SecurityException on the EJB server
side
In fact this don't even work with the Home interface reference, and the Home
interface don't have a 'getHandle' method..
So I cannot cache Home interfaces..
I looked at the APM sample application, and it seems that the references of
statefull EJB session are stored as reference in the servlet session..
St�phane
===========================================================================
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".