Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JavaRebel vs OSGi" Watch "JavaRebel vs OSGi" New topic
Author

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 ?

regards,

Gavin
Toomas Römer
JavaRebel Support
Greenhorn

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
Greenhorn

Joined: Dec 12, 2011
Posts: 8
Here is an article that explains that very well:
http://zeroturnaround.com/blog/jrebel-vs-osgi-use-the-right-tool-for-the-right-job/

//Bogo
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaRebel vs OSGi
 
Similar Threads
What is OSGi?
JavaRebel compatibility
Portability of Spring applications running in OSGi and outside of OSGi
OSGi and Spring DM: Enterprise Beans, JEE Containers and WEB UI
Improving concurrency