2010/9/28 Antonio Petrelli <[email protected]>:
> 2010/9/28 Michel <[email protected]>:
>> Thank you I have create an parent pom and I créate my ".jar" (ejb) and
>> my ".war" with it.
>
> Remember that, for the EJB project, the packaging must be "ejb".
>
>> The two last point is :
>>  - the packaging of the two archive in ".ear" (or in ".war" (I read
>> it's possible with JEE6 in a book))
>
> Sorry? I can't understand the question.

It's not a question. I wanted use the web profile of JEE6 but I have
discover that it's impossible use RMI with it (we developpe an Java
client who must communicate with the EJBs by RMI). Now I can create a
ear file (with ear module).

>>  - launch the application
>
> You can use Cargo Maven plugin:
> http://cargo.codehaus.org/Maven2+plugin
> Or specific plugins for your container.
> Or you can simply run the script of your container ;-)

I choice the glassfish (always) because we must use glassfish in finally.
I have succed to use (launch and deploye my ear) glassfish embedded plugin :)

Now my problem is in execution. In web browser I have
"org.apache.jasper.runtime does not exist" and "org.glassfish.jsp.api
does not exist". I think is because I made declare the dependency in
Web module, but I don't find how fix it.
The pom.xml is here http://pastebin.com/q7jG4gBH. I try to change
scope (provide <-> compile) and to find better dependency on
mvnrepository.com. But I have always same message.

Thanks a lot of for your help

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

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

Reply via email to