What are environment entries?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What are environment entries?

Rating:

Environment entries are declared by the bean provider in the deployment descriptor. Their values can be changed by the deployer at the deployment time. The values set by the deployer cannot be changed programmatically, as these are read-only values. These entries are represented in the deployment descriptor using the <env-entry> element. The environment entries are valid for a single bean. Two different beans can have environment entries with the same name. However, two environment entries within a bean cannot have the same name. The <env-entry> element has the following sub-elements:

  • <description>
  • <env-entry-name>
  • <env-entry-type>
  • <env-entry-value>
These values can be accessed using the java:comp/:env context. The data type for specifying the environment entries must be a String or a Wrapper.


Rating:



Other articles

Click here to Article home

MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW Certification: CIW foundation, CIW Professional, Site Designer    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.
 
HACKER SAFE certified sites prevent over 99.9% of hacker crime.