[jboss-user] [EJB3] - Re: EJBContainer doesn't deploy my SessionBean

Julien Smadja do-not-reply at jboss.com
Mon Jan 17 05:06:59 EST 2011

Julien Smadja [http://community.jboss.org/people/jsmadja] created the discussion

"Re: EJBContainer doesn't deploy my SessionBean"

To view the discussion, visit: http://community.jboss.org/message/581142#581142

Thank you,

I initialy post in the EJB3 forum but I thought it was an embedded problem.

To help you to understand my problem, I put  https://github.com/jsmadja/EJBContainer my project in GitHub.

My files are :
 https://github.com/jsmadja/EJBContainer/blob/master/src/main/java/com/xebia/ejbcontainer/domain/Person.java Person.java
 https://github.com/jsmadja/EJBContainer/blob/master/src/main/java/com/xebia/ejbcontainer/service/PersonService.java PersonService.java

 https://github.com/jsmadja/EJBContainer/blob/master/src/conf/jboss/META-INF/persistence.xml persistence.xml
 https://github.com/jsmadja/EJBContainer/blob/master/src/conf/jboss/META-INF/ejb-jar.xml ejb-jar.xml

 https://github.com/jsmadja/EJBContainer/blob/master/src/test/java/com/xebia/ejbcontainer/service/PersonServiceTest.java PersonServiceTest.java

It is just a POC to demonstrate that we can develop and test EJB3.1 in both Glassfish & JBoss EJBContainers.
There is nothing complicated in this project :
*  Person is just a class with 2 members : firstname/lastname
* PersonService is a CRUD service.

I hope you will find what is going on.

To build and run this project you have to edit pom.xml and replace the lines 66/67 by your own JBOSS home.
Then you could launch : *mvn clean test -Pjboss*.

Thank you.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110117/165fb89e/attachment.html 

More information about the jboss-user mailing list