If you are deploying an ear/war file, you can hot swap a new version in via the following methods:
This is how you would do it in a production environment with the admin console:
- From the Weblogic admin console, click Deployments, click the checkbox next to your ear/war
- Click Update
- The next screen will ask you for the source path - choose your new file here. You can also change the deployment plan path if you use one
You can also call java weblogic.Deployer
with the update option if you want to do it from the command line.
It is also possible to do the same via WLST scripting - see these Oracle Docs
If you're interested in hot swapping JSP pages without a recompile - see the use of nostage
for your deployments