I implement EJBs 3.0 classes and packaging them in a jar file. I don't want to use a EAR project.
So I develop an web project in a war file.
But i want to use the EJB in this new project, so i imported the EJB's project like a library ( with maven )
mvn install:file ....
but when i deploy there is an error because glassfish consider that the EJB's project is already deployed.
Is there a solution to import an EJB's project with maven ?
Do it must packaging all in EAR project ?
But how use EJB in an another project ?
so many questions ...
Do you have a link with explications to packaging with many independant EJB.