About Question enthuware.oce-ejbd.v6.2.539 :
Posted: Tue May 03, 2011 9:00 am
The second answer (marked as wrong) says:
Is this correct or not?
http://download.oracle.com/javase/6/doc ... ntext.html
The explanation says:It allows an enterprise bean to modify its environment properties without knowing about them at the development time.
Although I agree the answer is wrong, I think that the explanation is wrong. The bean can change its environment overriding what the assembler / deployer have set by using InitialContext.rebind().This is wrong because a bean cannot change its environment. It gets whatever the assembler/Deployer gives to it.
Is this correct or not?
http://download.oracle.com/javase/6/doc ... ntext.html