File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaRebel vs OSGi

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bogomil Shopov
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic