We are deploying our JavaEE 7 application on Wildfly 8. Previously, we packaged all of our enterprise applications (WAR, multiple JJB JAR files) as an EAR. However, when JavaEE now allows you to pack EJBs in a WAR file (or as a JAR in a WAR WEB-INF / lib), we are wondering if there are any advantages to deploying an EAR, rather than using WAR packaging.
Does the EAR provide something that is not in the WAR? This, of course, reduces the complexity of packaging in order to use WAR. Is there a difference in deployment times? Naming the EJB? Something?
source
share