Which two operations are allowed in a business method of the bean?

A developer writes a stateless session bean with one local business interface and with container
managed transactions. All business methods have transaction attribute REQUIRED. The bean has
an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a
business method of the bean? (Choose two.)

A developer writes a stateless session bean with one local business interface and with container
managed transactions. All business methods have transaction attribute REQUIRED. The bean has
an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a
business method of the bean? (Choose two.)

A.
sessionCtx. getEJBObject

B.
sessionCtx.setRollbackOnly

C.
sessionCtx. getMessageContext

D.
sessionCtx. getBusinessObject

E.
sessionCtx. getEJBLocalObject



Leave a Reply 0

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