2010/9/27 Michel <[email protected]>:
> 2010/9/26 Antonio Petrelli <[email protected]>:
>> 2010/9/26 Michel <[email protected]>:
>>> 2010/9/26 Antonio Petrelli <[email protected]>:
>>>> 2010/9/25 Michel <[email protected]>:
>>>>> 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)
>>
>> You need it if you want to easily configure application.xml and for
>> library and module placement.
>
> You tells of ear module or parent module ?

EAR Module.
> Where can I find
> information on the parent pom.xml ?

http://docs.codehaus.org/display/MAVENUSER/Multi-modules+projects

>>>>> 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.
>>
>> Do you mean this?
>> https://maven-glassfish-plugin.dev.java.net/
>> If you need it, use it, but it seems that you don't need it for normal
>> development. Anyway for questions about that plugin, ask its group.
>
> Yes I have see this website. What is the normal way to work in JEE
> project if don't use a application server ?

The way I told you before: ejb+web+libraries (es. JPA)+ear+container
project (parent pom).

> Where can I find
> information about this ?

http://docs.codehaus.org/display/MAVENUSER/Developing+JEE+projects+with+Maven

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to