Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying step explanation

 
Tina Ma
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain how Rebel encompasses the "deploying" step of a Java application, within the plugin?
 
Jevgeni Kabanov
Java Rebel Support
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sreerupa basu:
Can you please explain how Rebel encompasses the "deploying" step of a Java application, within the plugin?

It's hard for me to understand the question. Deploying in reality is dropping the application classloader along with all application object instances and then reconstructing it from scratch. This is what takes all that time -- rebuilding the caches, loading the configuration, running init routines, etc. JavaRebel will only reload the changed classes preserving all of the current object instances. Thus the application continues running and only the code gets updated.
 
arulk pillai
Author
Ranch Hand
Posts: 3387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can this adversely affect performance? If it does, is it negligble or pros/cons need to weighed up?
 
Jevgeni Kabanov
Java Rebel Support
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a development tool, in development performance cost is negligible. Production is covered in a separate topic:
http://www.coderanch.com/t/106565/vc/Non-development-uses-Java-Rebel
[ August 11, 2008: Message edited by: Jevgeni Kabanov ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic