Huge EAR deployment

Posted by bozo on Stack Overflow See other posts from Stack Overflow or by bozo
Published on 2009-10-14T16:11:17Z Indexed on 2010/03/18 9:41 UTC
Read the original article Hit count: 457

Filed under:
|
|

Hello all,

I'm trying to figure out how to deploy a huge (40-50 MB) EAR file to the server through a rather slow VPN connection. The EAR contains EJB and WAR projects created in Glassfish, and 90% of the file size is from external dependency libraries used.

  1. Has anyone came up with a strategy for elegant deployment to production system from Netbeans, where the deployment (over the network) is done only for what is really needed (i.e. just one WAR, not the entire EAR, or just one lib, not the entire libraries subproject).

  2. Related to the first point, how to separate external dependency libs from project in Netbeans, so that the project compiles on development machine, but when the EAR/WAR/EJB is created it does not contain all the dependency JARs, which are making it huge.

Perhaps we need to write custom ant script? Start using maven?

Thank you all for kind answers,

Bozo

© Stack Overflow or respective owner

Related posts about ear

Related posts about jee