• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

OSGI Bundle with a Tomcat/WebSphere application  RSS feed

 
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.
 
Rancher
Posts: 42974
76
  • 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: 42974
76
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!