MCQs > IT & Programming > Enterprise Java Beans - EJB > We are saving a handle to an EJBObject named 'bookEJBObject' for an online book shop:

1. javax.ejb.Handle bookHandle = _____________;
2.
3. ObjectOutputStream stream =
4.                 new ObjectOutputStream(new FileOutputStream(fileName));
5.
6. stream.writeObject(bookHandle);
7. stream.close();

Which of the following methods should be filled in the blank?


Enterprise Java Beans - EJB MCQs

We are saving a handle to an EJBObject named 'bookEJBObject' for an online book shop:

1. javax.ejb.Handle bookHandle = _____________;
2.
3. ObjectOutputStream stream =
4.                 new ObjectOutputStream(new FileOutputStream(fileName));
5.
6. stream.writeObject(bookHandle);
7. stream.close();

Which of the following methods should be filled in the blank?


Answer

Correct Answer: bookEJBObject.getHandle()

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Enterprise Java Beans - EJB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Enterprise Java Beans - EJB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it