Comparing JSF Beans, CDI Beans and EJBs | Andy Gibson - 0 views
-
differences between CDI beans and EJBs is that EJBs are : Transactional Remote or local Able to passivate stateful beans freeing up resources Able to make use of timers Can be asynchronous
-
Stateless EJBs can be thought of as thread safe single-use beans that don’t maintain any state between two web requests
-
Stateful EJBs do hold state and can be created and sit around for as long as they are needed until they are disposed of
- ...15 more annotations...