I am building a web app using java EE and glassfish v3. I want to move it to production mode soon, however i have zero experience with using glassfish in production, i would appreciate if you give me some guidance about how to approach the following scenario:
say i have deployed the web app using admin console pointing to the .war file. But what if i want to update this live application, do i need to :
a) undeploy --> build new war file (with updates) --> paste the war file to the app folder -->redeploy?
b) move in only the changed files , ie : .class files , jsp, etc... without undeploying before?
Personally I use a maven plugin and a tool similar to jenkins to do my deploys to production but you can always do it by hand like this:
The new version of the application should be deployed after this process.
Hope this helps.