• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployers Responsibility......

 
Thomas Vezhambacheril
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
 
bhilla ratna
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Sorry !

I mean to say A and E

bhilla
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic