I am new to EJB Technology,Here my question is related to Accessing EJB From another machile.
1) I have created Session Bean in WSAD 5.1 , 2) I can access methods of that Bean in that machin 3) Here client program is Servlet , $) Servlet and EJB both are reside in same workspace.
Now My requirement is I want to access same bean for Different machine
Could you suggest me , What steps I have to follow to achive this.
Thanks in Advance.
posted 10 years ago
You need to change your lookup code accordingly. Now the EJB component and the client resides in a single VM. When you change the client to a remote JVM (in a remote machine )you need to give the IP of the the server machine in the lookup code instead of the localhost. Normally that would be the only change you need to make.
I'm full of tinier men! And a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user