Ah sorry, forgett about the last post.

Instead look for the ejb3 spec. There it is defined that an ejb cannot be both 
local and remote interface. Instead I would recommend, that you create a remote 
ejb as a facade that delegates it's work to the local interface


  | @Remote
  | public class ShipperManagerRemote extends IShipperManager {
  |  Long createShipper(Shipper);
  | }
  | public class ShipperManagerRemoteBean implements ShipperManagerRemote {
  |  @EJB private ShiperManagerLocal localShipperMgr;
  |  public Long createShipper(Shipper s) {
  |    return localShipperMgr.createShipper(s);
  |  }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161188#4161188

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161188
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to