I have noticed that
in the default JBoss 3.22 + Tomcat deployment configuration, it is possible to
obtain Local interfaces for EJBs from the Servlet tier. In the interest of
maintaining maximum portability (e.g., to enable us to later move to separate
boxes for the two tiers), I would like to disallow Local access from the servlet
tier. Obviously, our design avoids using it, but I'm concerned that
"leakage" might occur without our noticing it (e.g., an EJB returns an object to
the servlet tier which, when accessed, does a Local lookup back to another EJB
component).
Is there any way to
make Local lookups from the servlet to the EJB container impossible at the
configuration level? Or would I have to run the two in separate JVMs to
accomplish this?
--
Craig Berry
Principal Architect and Technical
Manager
PortBlue
(310) 566-7546