and interface defined hier import java.util.Date;
import de.Test.entity.Orders; public interface OrdersFacade { /** * Makes a Orders object persistent * * @param order * Orders object */ public void save(Orders order); and statelessbean here with mark of which interface is local and remote - both same :-/ but local isn't need is'nt it - filled i mean? import javax.ejb.Local; import javax.ejb.Remote; import javax.ejb.Stateless; import javax.persistence.EntityManager; ... import de.Test.entity.Orders; import de.Test.facade.OrdersFacade; @Local(OrdersFacade.class) @Remote(OrdersFacade.class) @Stateless public class OrdersBean implements OrdersFacade { @PersistenceContext(unitName = "TestPU") private EntityManager em; // ------------------------------------------------------ Manifest Constants public static final String Remote = OrdersBean.class.getSimpleName() + "/remote"; public static final String Local = OrdersBean.class.getSimpleName() + "/local"; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972817#3972817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972817 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user