Over the years, the Java ecosystem has evolved and grown tremendously. During this time, Enterprise Java Beans and Spring are two technologies that not only have competed but learned from each other symbiotically.
In this tutorial, we'll take a look at their history and differences. Of course, we'll see some code examples of EJB and their equivalents in the Spring world.
2. A Brief History of the Technologies