Deployment Question


General J2EE: Deployment Question

  1. Deployment Question (1 messages)

    My collegue and I have an issue deploying an application. We have an unique situation. We have a "primary" application that is packaged into an "ear" file and deployed in WebLoigc application server. But, what we are trying to do is to create a "secondary" applicaiton that's executed at command line. This secondary application needs the same jar files contained in the "ear" file.

    Are you folks aware of any ideas that allows us to leverage the "ear" file to set up the environment for the secondary application.

    Are there any approaches that make the build process for both the applications centralized.
  2. Deployment Question[ Go to top ]

    I think you can modify your secondary applications build file to include the jars for your secondary application also. You can set the system classpath to refer your deployed container folder, but I think it is a bad practice.