ejb@glassfish.java.net

Re: Problem with EJB FAQ: "How do I access a Remote EJB (3.0 or 2.x) from a non-Java EE web container like Tomcat or Resin?"

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Wed, 1 Nov 2006 10:50:32 +0100 (CET)

Hi Jason,

On Wed, November 1, 2006 10:30, Jason.Huang_at_Sun.COM said:
> It works now. Many thanks.

You're welcome.

> EJB team, I suggest to modify the FAQ page or add the link of Wouter's
> blog to the FAQ page which will save others' time.

Of course I would very much like that, but I don't think it is necessary. However, a few
additional hints might be needed in the EJB FAQ:

1) In case of Tomcat, place the required jars in shared/lib and not in common/lib or in
the lib dir in the WEB-INF directory of the web app.
2) In case of a remote connection to a remote session bean, make sure to reconfigure
Glassfish as I email previously or as stated in the second comment in my blog. This
reconfiguration not only is needed in case of Tomcat but also for other clients.


Greets, Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"