I want to share some libraries (jar files) among all the applications deployed on a Payara Server. Reading the documentation about the Standard Classloading of Payara Server, I think the best way is to copy the jar files in the “domain/lib” folder in the Payara Server directory.
Everything works fine and the classes in those jar files are visible to all my applications. However if I have to update something in that shared libraries, copying the updated version of the jar files is not enough because a restart of the server is needed.
Is there a way to force the deployed applications to see the modifications to the classes in that libraries without restarting the server? Our Payara server hosts many applications used by many users so restarting is not always possible and not a so “easy” operation.
Thanks in advance for your tips.