Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Environment Entries

 
Mansur Khan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following statements regarding an enterprise bean's environment are correct? [Select all correct answers]

1)The container provides the tools that allow the deployer to create and manage the enterprise bean's environment.
2)Enterprise bean instances can modify the values of the environment entries at runtime.
3)The deployer sets and modifies the values of the environment entries by editing the enterprise bean's deployment descriptor.
4)Enterprise bean instances obtain the values of the environment entries from the enterprise bean's deployment descriptor.
5)Enterprise bean instances use the JNDI interfaces to obtain the values of the environment entries.

I thought the answers were 3,4,5
But the correct answers given are 1,5.

Can someone please explain?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!