According to the specification, it is only required that EJB's can access local interfaces. The Web container and servlet access is optional, although is recommeded - so basically check your app server for more details. Mat.
hi the only requirement for using local interfaces is for the client to be running in the same JVM. so it will not be a network call to pass the parameter objects. pl check out the EJB2.0 spec in the www.java.sun.com
Thanks<br /> <br />Kiran <br /> <br />SCEA, SCJP 1.4,<br /> <br />"First they ignore u, then they laugh at u, then they fight u, <br />then u will win<br /> <br />Mahatma Gandhi"
Joined: Aug 02, 2002
As said above, it is required that a local client is within the same JVM - however it is not the only requirement. This depends on a number of factors not least the implementation of your web container as previously noted. For example, two applications deployed into the same JVM will not have access to each others local interfaces, as defined by the J2EE specification - all applications have to be deployed to their own namespace. Mat.