Hi I am a Bsc Computer Technology graduate from Anna University(India).I am currently working as a JAVA/J2EE trainer.I like to become a professional J2EE programmer.Actually I am average in Core Java(not awt,swing), SERVLETS , JSP , JDBC , RMI , EJB.I want to master SERVLETS,JSP AND EJB.But some of them are saying that EJB is bloated is it true? In a near future SPRING FRAMEWORK will replace EJB because of its(EJB container's) additional overhead.More over they say spring can be run in a LightWeighted container than EJB which executes in a heavy weight container.I am really confused with weather to go with EJB or SPRING , STRUTS. So I needed your help.By reading your postings I came to know that you guys have expert knowledge in these areas.So help me to get through. [ August 01, 2006: Message edited by: Arun Somasundaram ]
I like Spring very much, but saying that Spring will replace EJB is a bit premature. And if you want to work as a J2EE programmer, there are many chances that you'll work on existing plateforms using EJBs. My advice: study both
I think Spring framework basically does Object injection based on a configuration....while hibernate does object to RDBMS mapping. If at all there would be comparison between the two it should between Hibernate VS. EJB. Not between EJB and Spring, besides the newer EJB 3.0 has features similar to that of Hibernate. While Hibernate has been received well in the industry it remains to be seen what would happen to EJB 3.0.