Weblogic custom deployer (if really needed)

We need to realize the ability to update / re-read the file (stored on disk) without redeploying the application. The important thing is that we have several instances of the application running in the Weblogic cluster. Therefore, my question is: how the applications running in the cluster will be notified , FILE has changed . Does Weblogic have such a function whether or not we need to implement a special deployer for this?

+6
source share
1 answer

If you are looking for a hot deployment process (updating an application with modified files), check if this blog belongs to me. A hot deployment in Weblogic will help you.

In short:

  • Add an empty REDEPLOY file to the MyApplicationEar/APP-INF/META-INF folder and deploy your application unassembled.

  • After updating any file, update the REDEPLOY . This can be achieved simply by recreating the file.

  • Weblogic will scan the file system of the deployed application and redeploy the updated files.

+2
source

Source: https://habr.com/ru/post/927362/


All Articles