Which statement is true about both stateful session beans and stateless session beans?
Answer(s)
- - Bean instances are NOT required to survive container crashes.
- - Any bean instance must be able to handle concurrent invocations from different threads.
- - A bean with bean-managed transactions must commit or roll back any transaction beforereturning from a business method.
- - The container passivates and activates them using methods annotated with @PrePassivateand @PostActivate annotations.
Correct Answer
- Bean instances are NOT required to survive container crashes.