• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

EJB Vs. Spring  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have been working in Java, J2EE(Servlets, JSP, JDBC) for 5 years but new to EJB and Spring Framework both. I am planning to learn one of these two. Should I invest my time in learning EJB or learning Spring framework?
What do you guys think would be the technology of the future?

Thanks for all inputs.
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nisha,

In my opinion Spring and EJBs are not exclusive, but rather complementary technologies. They could work together very well though. On the other hand spring is an IoC lightweight container and by learning it you�ll get a glimpse of the EJB�s future. EJB3.0 will implement similar technologies, deprecating the use of jndi and lookup in order to access ejbs and will rather use the dependency injection techniques, similar to Spring framework. If I were you I would definitely look into Spring, but I�d also try to get a high level understanding of ejbs. Although it will get replaced almost entirely, there still are valuable concepts in ejb2.0 as well. As for the future, it seems hard to say today whether ejb3.0 will gain the market and win the competition against all these great open source tools available, but in my opinion it seems also hard to believe that it will entirely loose it.
Regards.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring Has less restrictions and is very approach
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!