From JNDI Hell to CDI Heaven: A Developer’s Path to Sanity

If you’ve ever deployed an EAR with a 12,000-line ejb-jar.xml, you deserve hazard pay. When one more JNDI lookup breaks you. For many of us still maintaining legacy Java EE systems, enterprise Java isn’t about sleek microservices or reactive streams. It’s about @RemoteHome , classloader gymnastics, and figuring out why a bean that compiles cleanly still can’t be looked up at runtime because it wasn’t bound under the “right” flavor of java:global. ...

May 21, 2025 · 2 min · The Cynical Developer