Spring 4, Java EE 7 or Both?
summary
Compares Spring 4.1 and Java EE 7 by building demos on WildFly: a Spring component packaged into a Java EE WAR and a Java EE EJB/Cdi bean injected into a Spring WAR. Shows a failing double counting case caused by duplicate bean instances, fixes it by exposing Spring beans via a CDI producer or by looking up through InitialContext BeanManager. Uses RestController, JAX‑RS, @EJB and demonstrates that mixing works but requires explicit context bridging and care.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:42History and context
- 3:57Spring framework 4 update
- 9:15Java EE 7 features
- 13:32Comparing Spring and Java EE
- 17:09Spring in Java EE demo
- 29:29Java EE in Spring demo
- 38:07Summary and Q&A
related talks
01h 27mJava EE Services for Spring Applications
49mWhat Every Spring Developer Should Know About Jakarta EE
52mJava EE in Practice
43mEleventh Time's the Charm - From J2EE to Jakarta 11
53mJava EE 8 and the Open Future of Java EE - What You Need to Know!
51mModern and Lightweight Cloud Application Development with Java and Jakarta EE
01h 02mJava EE 7, 8 and beyond
43mWho's afraid of the EJB?
