Which is true?

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 a javax.swing.JPanel component.
Which is true?

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 a javax.swing.JPanel component.
Which is true?

A.
The requirements can be fulfilled only in session beans.

B.
The requirements can be fulfilled only in messagE. driven beans.

C.
All of 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.
Both session beans and messagE. driven beans can fulfill some but not all of the requirements.



Leave a Reply 0

Your email address will not be published. Required fields are marked *