I have a J2EE application that should be distributed to clients that will have the application servers of their choice. What is the recommended way to write a script assembly that compiles J2EE application sources (on client sites) so that they can ultimately deploy the application on their servers?
Also, which JARs should be used during the compilation process? Since this is intended for an agnostic script application server, is it recommended to use a JAR (say servlet.jar, jms.jar, ejb.jar, etc.) from the application server, instead of my clients downloading these JARs from a specific repository? Is there such a repository that is recommended for such JARs (JARs J2EE API)?
PS: EAR file cannot be created locally and sent to clients, since during each installation additional development will be performed to integrate with other systems, perform settings in the application, etc.
source
share