Hi I have 2 questions regarding the answers given to Q3 and Q5. 1. For Q3 : Why is the 1st choice - R cannot pass his reference for A to B - True According to me - Yes, R can surely pass the reference R has for A ( which is remote to R ) to B, but will it work for B when it tries to use it ?? 2. For Q5 : The last option - To ask the EJBHome to remove a session bean, the client must provide the bean's handle - WHY Is it true WHEN - On Page 129 - where it discusses the methods in EJBHome - the 3rd point - clearly says that - "...passing the EJB Object's handle." Is then the EJBObject's handle the same as the Bean's Handle. I am confused ??
SCEA, SCBCD, SCJP1.4, OOAD-UML, OCP 9i
posted 16 years ago
Sorry the question should read as 1. For Q3 : Why is the 1st choice - R cannot pass his reference for A to B - FALSE
For the question 5, The EJBHome interface has 2 remove methods . one is remove(Handle) , and remove(Object pkey) . But Session beans do not have any primart key . So , we have to pass on a handle to remove method of the home in a session bean
The first person to drink cow's milk. That started off as a dare from this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!