You should be able to look up the bean's remote home interface and then call create() to create an instance of the bean.
Joined: Jan 06, 2001
you need to have the EJB client classes(remote and homeRemote) on the client side, in your case the webapp that needs to use the EJB.
Joined: Feb 10, 2006
hi, What Marcos, said above is exactly what you have to do. And you have to write your client code in your struts login Action class. Thats how you'd do a look up from the struts application. [ October 27, 2006: Message edited by: Mehul Mistry ]
Joined: Mar 17, 2006
Means the only thing we need is client.jar file, when we deploy a bean.
I would like to thank each one of you for taking time, I was able to solve the problem, from your hints.
Before you put it directly in your Action class, you should look at some best practices, which include using the ServiceLocator pattern to get access to your Beans, instead of tying(tightly coupling) EJB directly in your Struts code.