Who's afraid of the EJB?
summary
Retrospective and hands-on dive that explains how EJBs now work: annotation-driven since EJB 3.0 (no XML), EJB Lite in 3.1, and EJB 3.2 in Java EE 8; the container provides EJB pooling and proxy model that yields thread safety, transactions, passivation and scheduling for free; cites benchmarks (JMH and community tests) showing 0.1% CPU overhead and ~35% better ops/sec vs CDI and a GitHub repo comparing EJB, CDI and Spring; watch for concrete measurements, pooling behavior, and code links.
AI-written summary · about
chapters (12)
- 0:00Introduction and credibility
- 5:26EJB reputation and fears
- 7:11EJB history and evolution
- 10:43EJB role in architecture
- 11:29EJB types and services
- 14:17EJB services under the hood
- 23:17Common EJB myths debunked
- 26:14EJB 2.0 vs 3.0 simplicity
- 31:12EJB performance and overhead
- 36:23Entity beans and innovation
- 37:53EJB fashion and decisions
- 39:20Key takeaways and conclusion








