Thanks for your answer.

2010/9/26 Antonio Petrelli <antonio.petre...@gmail.com>:
> 2010/9/25 Michel <michel.bar...@gmail.com>:
>> I'm new maven user and I start in maven with a JEE project.
>> The project have 3 parts :
>> - ejb with persistance (JPA)
>> - web with JSF
>> - client connect with ejb by RMI
>>
>> If I good understand I must create 3 modules for each parts and a
>> pom.xml to build an ear file.
>
> No:
> 1. a module for EJB (and, if you like it, a module for JPA package)
> 2. a module for web
> 3. a module for the EAR (packaging: ear)
> 4. for your convenience, a container project (packaging: pom) that
> collects all of the above as modules.

I have make juste EJB, Web and parent module for the moment when the
compiling of web project will works, I make the EAR module. (I don't
use the parent module for the moment)

>
>> I have choice : ejb-javaee6 and maven-archetype-webapp for 2 firsts
>> parts but I don't find an archetype for the client.
>
> The EJB client can be automatically generated starting from the EJB:
> http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html

The EJB client is an application server, if I understand (like glassfish) ?

>> I have found an archetype named ear-javaee6, with this archetype can I
>> create my project ?
>
> This is useful to create a module (or project) with ear packaging that
> follows Java EE 6 (so you need a Java EE 6 capable server).

We use glassfish v3, but I don't understand how use glassfish plugin
or glassfish embedded plugin. I must use a glassfish installed on my
system ? I don't know how make it.

>
> Antonio
>

Thanks a lot of

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

_____________________
Michel BARRET

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to