I have a requirement where I need to update the JAR file(may be multiple times a year) within a web application.
Currently this JAR file is into bundled into the application through a Maven dependency and every time I change it, it forces the consuming app to be rebuild and redeployed. The consuming application is deployed on Tomcat/WebSphere.
Now I am looking for an option/solution where I can have the web application consume multiple versions of this JAR file without being redeployed.
I heard about OSGI and thought I would check with the experts on this.
Is OSGI is a good fir for my requirement?
Can I build my JAR as a OSGI plugin and have my Tomcat application consume multiple versions of it without redeployment?
Is it possible to do that way? How do I do that? any documentation/link help?