Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE & JVM  RSS feed

 
Subhash Nambiar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
Im a sofware engineer and involved in a project which is being developing in EJBs. I wanted to know is there any way to overwrite class files in JVM or refresh the JVM. The reason why i need this is, we have to deploy a lot of beans in a server and if there is any flaw in one of the session or entity bean then we need to redeploy the whole suit again to use it which waste a greatdeal of time .Though there is a provision to update the jar in the container but the bean class files which once get loaded in the server wont get refreshed so changes wont reflect or it gives AbstractMethodError.
So only way left is to start the server again .If anybody knows or wld like to place his or her views on this issue pls let me know.
regards
Subhash
 
nan sh
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you need to put some of your beans in different servers instead of putting everything in one.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most vendors (IBM, BEA, etc...) support what is called "hot deploy". This means you can update your files without necessarily having to remove your entire application. Check for "hot deployment" in your vendor's documentation.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!