Hi, here i posted a project that uses EJB3 with microcontainer.. you can get copy of pom.xml from attachments
http://docs.codehaus.org/display/MAVENUSER/How+to+use+the+JBoss+Embedded+EJB3+Container+for+Unit+testing i am NOT using EJB3 plugin, because in jboss you can deploy ejb3 in a simple jar file (as long as you put the persistence.xml in the file) pls have a look, i can mail you a working sample when i m at home as most of my code is at my home regards marco On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote:
Hi Marco, Thanks for your respose. Can you please explain in little detail or a sample pom.xml if you have.. I am having problem to get ejb3 plugin to work.. Regards, Vidya "Marco Mistroni" <[EMAIL PROTECTED]> 26/01/2007 15:52 Please respond to "Maven Users List" <[email protected]> To "Maven Users List" <[email protected]> cc Subject Re: EJB3 with maven Hi, you don't need anything special.. with jboss, you can deploy an ejb as a jar file. All you need to do is to have a jar project, make sure to put in your src/main/resources a META-INF directory with your persistence.xml file in it this is the simplest setup you could have hth marco On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote: > > Hi, > > I have to deploy an application with EJB3 to JBoss 4.0.4 server. I also > need to use EJB JPA for persistance. In maven 2.0, can anyone please give > me steps how to generate/deploy ear file from the application. It would be > a great help! > > Regards, > > This e-mail is subject to a disclaimer, available at > > http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html > > > This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
