Question:The following code was written to save a handle to an EJBObject named 'bookEJBObject' for an online book shop:
javax.ejb.Handle bookHandle = ________; ObjectOutputStream stream = new ObjectOutputStream(newFileOutputStream(fileName)); stream.writeObject(bookHandle); stream.close();Which of the following methods should be filled in the blank?
A (Handle) bookEJBObject()
B bookEJBObject.getHandle()
C bookEJBObject.getEJBHandle()
D newHandleInstance()
+ AnswerB
+ Report