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
Group items matching
in title, tags, annotations or urlComparing JSF Beans, CDI Beans and EJBs | Andy Gibson - 0 views
-
-
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...
1 - 5 of 5
Showing 20▼ items per page