anonymous wrote :
| From reading the documentation I shouldn't need @local for a stateless session
bean right?
|
Nope. On the the page you linked in your first ppost it clearly says:
anonymous wrote :
| Take a look at CalculatorRemote.java. To define this as the remote interface of
Calculator bean you either annotate the bean class and specify what the remote interfaces
are, or you annotate each remote interface the bean class implements with
@javax.ejb.Remote. only need to annotate the bean class with @javax.ejb.Remote. Similar
for CalculatorLocal.java as you need to annotate the bean class with @javax.ejb.Local for
it to be the local interface of the CalculatorBean.
|
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038992#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...