• 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Introducing OSGi on existing framework/enterprise application

 
Ranch Hand
Posts: 136
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We have an existing enterprise application which is running on JEE container.

Now to introduce OSGi on top of this for more security/robustness and other goodies from OSGi how much work is needed?
Does this book talk about any case studies? If yes, I would definitely need this book.
 
author
Posts: 7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes, the book (OSGi in Depth) does talk about how to layer an OSGi framework on top of other frameworks (i.e. containers), such as JEE.

More importantly, it also shows you how to interact with JEE services, such as JNDI, data-source, HTTP request/response stack, etc, through OSGi.

In my mind, the reason for doing this (layering) is two-fold:

1) You will get a better modular application, and therefore more maintainable. For example, you could change parts of an application (i.e. interface) without impacting other pieces (i.e. business).

2) You will be able to support a more dynamic environment. For example, again being able to dynamically change the business part of an application without re-deploying the app.

The amount of work varies. If the application is already modular, than it may be trivial, and consist of writing a BundleActivator, for example. However, keep in mind, that interacting with JEE services through OSGi may need some re-factoring of code.

Thanks
Alex

 
Sujoy Choudhury
Ranch Hand
Posts: 136
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Alex.
 
I do some of my very best work in water. Like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!