• Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating Java program at runtime.  RSS feed

 
Prakash Rai
Ranch Hand
Posts: 107
Eclipse IDE MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How java program can be updated during runtime?
it urgent anybody please help me..
thanks in advance
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is that you want to update? the source code? the classfiles? the objects?
 
Prakash Rai
Ranch Hand
Posts: 107
Eclipse IDE MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:what is that you want to update? the source code? the classfiles? the objects?


I am studying Class loader in that one point i got i.e Boot strap class loader used to load from local file System. But if any changes in your program during runtime than for that you have to write custom class loader. By the way I do not know any one of them (object,source code ,class file)
 
Deepak Singh Rawat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you are talking about loading classes at runtime i.e Reflection in java.
You can go through this .
Reflection in Java
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepak Singh Rawat, welcome to the Ranch
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!