Discussion:
Connecting to a deployed ejb module
(too old to reply)
Meera Srinivasan
2005-02-16 19:10:03 UTC
Permalink
Hi,

I have a simple (HelloWorld) ejb session bean that I've deployed successfully. I need to connect to the module to make sure it works. I created a HelloClient.java.

Can someone point a link or tell me the steps to connect to the ejb? I'm using weblogic 8.1

Thanks
Meera
Rob Woollen
2005-02-17 01:59:54 UTC
Permalink
You should see some example clients in your WLS distribution. Have a
look at the EJB examples.

Roughly speaking the basic steps are:

1) Create an InitialContext (usually with the url, username, and
password for your server.)

2) Use the Context to lookup the EJBHome in JNDI

3) Call create on the home

4) Call a business method on the remote interface.

-- Rob
Post by Meera Srinivasan
Hi,
I have a simple (HelloWorld) ejb session bean that I've deployed successfully. I need to connect to the module to make sure it works. I created a HelloClient.java.
Can someone point a link or tell me the steps to connect to the ejb? I'm using weblogic 8.1
Thanks
Meera
Loading...