aspose file tools*
The moose likes Other Application Frameworks and the fly likes OSGI Bundle with a Tomcat/WebSphere application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "OSGI Bundle with a Tomcat/WebSphere application" Watch "OSGI Bundle with a Tomcat/WebSphere application" New topic
Author

OSGI Bundle with a Tomcat/WebSphere application

Anju Nadendla
Greenhorn

Joined: Mar 17, 2010
Posts: 5
Hello,
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?

Appreciate your response.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
Yes, OSGi can do this. It's one of the most common (and most basic) things to use OSGi for.

You can find introductory material about OSGi at: http://www.coderanch.com/how-to/java/OSGiLinks


Ping & DNS - my free Android networking tools app
Anju Nadendla
Greenhorn

Joined: Mar 17, 2010
Posts: 5
Hey, thanks for the reply.
But the link doesn't seem to be working.
I get a page not found.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
Can you get to other sites? The link works fine.
Anju Nadendla
Greenhorn

Joined: Mar 17, 2010
Posts: 5
It's funny. This link just works fine from the computer but fails when launch this on my smart phone.
Thnaks I will read through the link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OSGI Bundle with a Tomcat/WebSphere application