[JBoss-user] [EJB 3.0] - Cant call em.persist() more than once in a transaction. Plea

2005-12-28 Thread us97013
Hi all, I have created a simple entity bean as follows: @Entity @Table(name = ComplaintDetail) public class ComplaintDetail implements Serializable { } Then I create a session bean as follows: @Stateless public class AdminCompBean implements AdminComp { public void addComplaintDetail

[JBoss-user] [EJB 3.0] - How to access session beans in different ear files

2005-12-25 Thread us97013
Hi, I have one ear file (created by ant and deployed on JBoss 4.0) with following hierarchy. ExternalEar.ear +META-INF +application.xml +MENIFEST.MF +web.war +entities.par +abc +entity +Tables

[JBoss-user] [EJB 3.0] - Re: How to access session beans in different ear files

2005-12-25 Thread us97013
ExternalEar.ear +META-INF +application.xml +MENIFEST.MF +web.war +entities.par +abc entity Tables TableA.class +META-INF +business.ejb3 +abc session +XYZTable ++XYZBean.class ++XYZ.class