hi
To look up beans you have to use JNDI.
The problem is that each J2EE server uses its own naming directory service.
The classes for that probabaly have to be present on the client side(Check
your J2EE server's documentation to see if its supports dynamic downloading
of naming service driver) also along with the JNDI API package.
I have tried calling a bean on one machine running On a Dynamo Application
server from a servlet on Weblogic applicaton server on another machine.
what i did was to put the InitialContextfatory classes of Dynamo on the
weblogic's classpath and it worked.
EJB 2.0 spec says every J2ee vendor has to provide Corba compliant naming
service. This will take some time to implement.
regards
Anup
At 06:38 PM 8/22/00 +0530, you wrote:
>I am using J2EE server to deploy my Enterprise Java Beans(EJBs).Since
>servlet chaining/forwarding is not supported by Tomcat we have put our
>servlets on Java Web server.These servlets will do a lookup for the EJBs
>residing on J2EE.The problem starts here:
>How can i call the EJBs which are residing on a remote server(obviously
>j2EE) from my servlets which r on JWS.
>i mean how to do the lookup in servelets for the beans residing on another
>server on another m/c.
>
>Can anybody help me out?
>
>Reagards
>Ritesh
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html