This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 761

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:

Don't get me started about those stupid light bulbs.
subject: JavaRebel vs OSGi