Johan,

> Have you tried starting your main class in a client container?
> Theoretically, that is the J2EE way.

I wasn't aware that such a client container was necessary, or even
available.
Even so, I'd rather not go down that road, since I have existing servlet
applications with existing frameworks, and I'd like to cause as little
upheaval as possible.  If I can get a reference to the EJB without the
client container, it'd be perfect.

> I can't see anything wrong in your attempt, as long as you
> use the global
> namespace to which you have deployed your EJB and that you have the
> com.sun.jndi.cosnaming.CNCtxFactory class on your classpath,

What do you mean by "global namespace", exactly?  Are you referring to the
"java:comp/env" namespace?  Does the client have to use that name
explicitly, or is it implicit?

cheers
kenny

===========================================================================
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".

Reply via email to