Forums Register Login

Creating patches for JAR file

+Pie Number of slices to send: Send
Hi,
I have a JAR file project which need to be patched from time to time as we found bugs. The patch contains only the classes to fix the bugs.
I'm planning to have another utility program which:
1) extract the original JAR file to a location
2) scan through the new classes.
3) replace the new file to the extracted JAR
files location.
4) JAR back the amended folder.
Questions:
1) Are there any better ways to deal with this or
this is the only way? (It does look tedious)
2) Is there anyway to load the new JAR file
without restarting the app server, to achieve
zero down-time?

Please comments.
Thanks in advance.
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 639 times.
Similar Threads
java plugin framework
new method
DeploymentException encountered when trying to deploy an Enterprise Bean in WebSphere
Ant in Eclipse classpath issues, please help
Ant in Eclipse classpath issues, need help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:29:44.