• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployers Responsibility......

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I was going throug the following question

Which of the following statements regarding an enterprise bean's environment are correct?
A The container provides the tools that allow the deployer to create and manage the enterprise bean's environment
B Enterprise bean instances can modify the values of the environment entries at runtime
C The deployer sets and modifies the values of the environment entries by editing the enterprise bean's deployment descriptor.
D Enterprise bean instances obtain the values of the environment entries from the enterprise bean's deployment descriptor.
E Enterprise bean instances use the JNDI interfaces to obtain the values of the environment entries


The correct answer mentioned is A and E
But I think C and D are also fine as the responsibility of setting value in ENV_ENTRY is Deployers job

Correct me if I am wrong
Best Regards
Thomas
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

Reading your post I have gone through specs.Spec says

The Deployer uses the tools provided by the Container to create the environment entries that are declared in the enterprise bean�s deployment descriptor. The Deployer can set and modify the values of the environment entries.

The enterprise bean�s instances use the JNDI interfaces to obtain the values of the environment entries.

In Container responsibiity section it says:
Container provides a deployment tool that allows the Deployer to set and modify the values of the enterprise bean�s environment entries.

So, I think the answers are A and D

bhilla
 
bhilla ratna
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry !

I mean to say A and E

bhilla
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic