Originally posted by amol deshpande:
Can u clarify? Doesnt the container implement Handle ? (Handle is interface, so who creates a class that implements Handle?)
The deployment tools are responsible for this.
Page 201 of spec:
The deployment tools are responsible for implementing the handle class for the entity bean.
Page 101 of spec:
The deployment tools are responsible for implementing the handle classes for the session bean�s remote home and remote interfaces.
Originally posted by amol deshpande:
2)
T or F
The deployer sets and modifies the values of the environment entries by editing the enterprise bean's deployment descriptor.
Depends on the context. No one can change the env-entry values "at runtime".
Page 410 of 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.
And page 415 says: Provide a deployment tool that allows the Deployer to set and modify the values of the enterprise bean�s environment entries.
The question might be "derived" from this. But I do not see anything wrong with the deployer changing the DD directly, without using the deployment tools. Just that he cannot do it at runtime.
Regards,
Leena