• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean enviroment during redeploy

 
Yi Zou
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EJB spec page 410, it says each redeployment results a new home and a new set of enviroment values.
Does this mean an EJB can have multiple ENV sets?
If it does, how can we tell which home,thus which set of env we are using?

I thought each redeployment will erase the old version, appearently the specs say the other way.

Thanks
 
James Turner
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my mind it is saying that when u multiple-deploy, i.e. deploy the same bean more then once. I think that an undeploy followed by deploy would erase the old environment, then create a new one.

I may be wrong...

James.
 
Yi Zou
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the purpose to keep the old version if you can't access it from code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic