Alexander Sack wrote: > Yea, I don't like having ejb-jar.xml either and I use JBoss which has its > own quirks regarding Class-Path. > > To answer your question, EJB3 is conceptually SUPPOSE to be simpler and > essentially a special JAR file with annotationed classes. What do you > envision the EJB3 plugin to do for you exactly? I'm building EJB3's with > Maven2 using the jar plugin. Works great minus the fact that I need > to hand > edit a Class-Path entry within my EJB3 jar under JBoss since it doesn't > support the Java EE 5 lib directory feature (Glassfish obviously does). Well, I am not an EJB3 expert, so actually I do not know what EJB 3.0 spec mandates the packaging to be. So is there really no difference to a simple JAR? For what is that planned ejb3 plugin good then? > > -aps > > On 9/7/06, Markus KARG <[EMAIL PROTECTED]> wrote: >> >> Actually I didn't want to have a ejb-jar.xml any longer with EJB3. >> What about the status of that ejb3 plugin: When will it be finished? >> I mean, this is a thing I expect Maven to do for me. >> >> Takashi Nishigaya wrote: >> > The maven-ear-plugin does not recognized the jar project as ejb3 >> module. >> > If you plan to create ear application with ejb3 modules, the ejb3 >> > project should declare <packaging>ejb</packaging> in the pom.xml, and >> > prepare the empty ejb-jar.xml declaring ejb3 schema namespace. >> > >> > src/main/resources/META-INF/ejb-jar.xml: >> > >> > <?xml version="1.0" encoding="UTF-8"?> >> > <ejb-jar >> > xmlns = "http://java.sun.com/xml/ns/javaee" >> > xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" >> > xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee >> > http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" >> > version = "3.0"> >> > </ejb-jar> >> > >> > This will work well with glassfish. >> > >> > Thanks, >> > Takashi Nishigaya >> > >> > Alexander Sack wrote: >> >> I use packaging type "JAR" for all EJB3 builds as its just easier >> then >> >> trying to retrofit the current ejb plugin. >> >> >> >> -aps >> >> >> >> On 9/6/06, Alexandre Russel <[EMAIL PROTECTED]> wrote: >> >> >> >>> >> >>> >> >>> > According to "BetterBuildsWithMaven.pdf" I switched from >> >>> > <packaging>ejb</packaging> to <packaging>ejb3</packaging>. >> >>> Unfortunately >> >>> change it to jar. >> >>> Alex >> >>> >> >>> >> >>> >> >> >> >> >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> >> > >
smime.p7s
Description: S/MIME Cryptographic Signature