This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of The Career Toolkit and have Mark Herschberg on-line!
See this thread for details.
Win a copy of The Career Toolkit this week in the Jobs Discussion forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Spring and EJBs

 
Ranch Hand
Posts: 432
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Earlier we used to have EJBs for transactions, session management etc. Same thing can be achieved using Spring as well. So, I would like to understand how Spring became so popular and EJB is almost obsolete now a days. What is the gain we are getting following Spring framework?
 
Bartender
Posts: 1284
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question. I'll answer with my two cents. It's not that Ejbs aren't popular nowadays, it's the whole Java EE who is undergoing a deep crisis, at least in terms of general attraction.Java EE implementation s, i.e application servers, nowadays look like dinosaurs trapped in the tar. You need to be agile in adopting new Java language features, as well to use new libraries offering this or that feature previous versions didn't offer. Appservers need to be stable and somehow conservative.This means tahey can evolve only slowly.When I wanted to add websocket support to the appservers I am using in production well...simply, I couldn't.And modern IT world cannot withdraw this.
I don't know how this scenario will change with Jakarta EE. The need for fast paced updated appservers is a key goal for Jakarta EE project. Also, to be fair, I'd suggest you to have a look at microprofile initiative.More or less, micraoprofile aims to have a "spring like" approach within a Java EE context: you choose which piece of Java EE stack you want to use and, instead of deploying an application into an appserver, you will deal with a single fat jar with batteries included. Can't say how much popular is, though.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic