users@glassfish.java.net

Re: iiop and ssl

From: <forums_at_java.net>
Date: Thu, 5 Apr 2012 12:56:53 -0500 (CDT)

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