You have been asked to develop business methods for an enterprise bean to fulfill the following
objective:
If the JDBC connection is NOT available, the current state of the shopping cart session must be
serialized.
A serialized state must be written to a text file using a java.io.PrintWriter.
Data must be shared with a Web services end point.
Logging information must be displayed in ajavax.swing.JPanel component.
Which is true?
A.
The requirements can be fullfilled only in sessionbeans.
B.
Therequirementscan befulfilled only in message-driven beans.
C.
Allof the requirements can be fulfilled using either session beans or message-driven beans.
D.
None of the requirements can be fulfilled using either session beans or message-driven beans.
E.
Bothsession beansandmessage-driven beans canfulfillsomebutnotalloftherequirements.