Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

env-entry -- doubts ???

 
Sujatha Kumar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please clarify the following doubts.

1) Is env-entry is declared for a specific ejb or it is accessible to all ejbs.

2) What are the legal values for env-entry-value.

Your responses are appreciated.
 
Suman Sarker
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sujatha,

Following are the answers to your questions

1. Is env-entry is declared for a specific ejb or it is accessible to all ejbs.

Answer: An environment entry is scoped to the enterprise bean whose declaration contains the env-entry element. This means that the environment entry is INACCESSIBLE from other enterprise beans at runtime, and that other enterprise beans may define env-entry elements with the same env-entry-name without causing a name conflict.

2) What are the legal values for env-entry-value.

Answer: The environment entry values may be one of the following Java types:


Regards
Suman
 
Sujatha Kumar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suman,

Thanks for your reply.

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic