Angelo Chen wrote:

is there a easy way to generate a directory structure for ejb3 project?
maven-archetype-j2ee-simple archetype does not work for ejb3. thanks.

In our case, the only differences our ejb3 projects have with normal jar projects is that they are of packaging ejb, and contain this:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ejb-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <ejbVersion>3.0</ejbVersion>
          <generateClient>true</generateClient>
          <clientIncludes>

<clientInclude>alchemy/cluster/dispatch/ejb/ClusterService.class</c
lientInclude>
          </clientIncludes>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
           </manifest>
         </archive>
         </configuration>
      </plugin>

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to