This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Query regarding enterprise bean's environment  RSS feed

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a query regarding a question that I got in a mock exam.

Which of the following statements regarding an enterprise bean's environment are correct?
Enterprise Bean Environment
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.

My answers are 1,3 and 5.However the solution says the correct answers are 1 and 5.
I am unable to understand why 3 is not a correct choice.
The explanation at the end of test says the following : "Answers 3 and 4 are incorrect because the deployment descriptor is used to define only the environment entries, as opposed to the values that the enterprise bean expects to be provided at runtime".

Can someone please help me on this?

Thanks & Regards,
Paresh Vernekar
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!