Which statement is true about both stateful session beans and stateless session beans?

Which statement is true about both stateful session beans and stateless session beans?

Which statement is true about both stateful session beans and stateless session beans?

A.
Bean instances are NOT required to survive container crashes.

B.
Any bean instance must be able to handle concurrent invocations from different threads.

C.
A bean with bean-managed transactions must commit or roll back any transaction before
returning from a business method.

D.
The container passivates and activates them using methods annotated with @PrePassivate
and @PostActivate annotations.



Leave a Reply 0

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