my dog learned polymorphism
The moose likes IDEs, Version Control and other tools and the fly likes JavaRebel vs OSGi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JavaRebel vs OSGi" Watch "JavaRebel vs OSGi" New topic

JavaRebel vs OSGi

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 782

In OSGi, I can export a service interface and run concurrent implementations of that interface on the same VM. And I can selectively migrate my app to use a new interface without restarting the app. Is JavaRebel capable of doing the same ?


Toomas Römer
JavaRebel Support

Joined: Jul 07, 2008
Posts: 17
OSGi and JavaRebel are not mutually exclusive. JavaRebel reloads changed classes, OSGi lets you manage modules/bundles granually. OSGi won't reload your classes, it will let you load new versions of modules/bundles.

JavaRebel works with OSGi, specifically the development of Eclipse plugins using Equinox(implementation of the OSGi) bundles.

JRebel reloads Java code on-the-fly
Bogomil Shopov

Joined: Dec 12, 2011
Posts: 8
Here is an article that explains that very well:

I agree. Here's the link:
subject: JavaRebel vs OSGi
It's not a secret anymore!