first, change @EJB (beanName="BankServiceBean") BankService bankservice; to
@EJB (name="BankServiceBean") BankService bankservice; since your
glassfish-ejb-jar.xml uses BankServiceBean as the ejb-ref name, you should
also use the same in the above @EJB name attribute. second, package the
interface classes of the target EJB into the client ejb jar. Looks like
session.BankService is the business interface so it should be in the same ejb
jar as your caller ejb jar. -Cheng
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/884788