Spring and EJB 3 are like Django, Rails, and their ilk: big bloated frameworks that include everything you need to build multi tier apps, plus or minus a few features here and there. Convergent evolution is a wondrous thing.
I never understood (the point of) EJB. Shamefacedly admit I was once a huge Hibernate fan. But I got over it.
Can't speak to Django nor Rails.
---
Prior joke: Spring is an stacktrace obfuscation framework.
New joke: NodeJS is a control-flow obfuscation framework.