This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OSGI Bundle with a Tomcat/WebSphere application

 
Anju Nadendla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anju Nadendla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, thanks for the reply.
But the link doesn't seem to be working.
I get a page not found.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you get to other sites? The link works fine.
 
Anju Nadendla
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic