• Post Reply Bookmark Topic Watch Topic
  • New Topic

question about enviroment entry

 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am wondering about enviroment entry in EJB
what's the use of enviroment entry property and value?
how can i get them in JNDI? should use ctx.lookip("java:comp/env/..")
any special properties should i put in context? thanks!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The environment entry elements in a deployment descriptor can be used for passing deployment-time configuration information to the component you're deploying (instead of hardcoding that information into the source code).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!