File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB outdated? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB outdated?" Watch "EJB outdated?" New topic

EJB outdated?

vinoth ar

Joined: Jan 07, 2009
Posts: 21
hi friends,
I heard that the EJB is an outdated technology. I planning to set my carrier In Bussiness Component Developer. Advice me.

Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

That depends on how you define outdated. EJB 1.x and EJB 2.x are, but EJB 3x. isn't. And no Spring versus EJB flame war, please

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Reza Rahman
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
LOL - amen for the desire to steer clear of flame wars :-)

I would ask the folks that you are talking to why they believe EJB is outdated. In essense, EJB provides a number of services geared towards Java server-side business component development - transactions, persistence, dependency injection, component registry, lookup, remoting, web services, interceptors, scheduling, security, messaging, etc. I think those are mainstays of any middleware technology, not just EJB, Spring or .NET. Additionally, EJB 3 provides these services with minimal configuration on your part and via 100% annotations (or XML or a mix of both, if you prefer).

Hope this helps,

Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Jack Dwaltz

Joined: May 12, 2008
Posts: 17
vinoth ar wrote:hi friends,
I heard that the EJB is an outdated technology

The answer is not.
But it depends on what you are going to work on/with.
For sure in many cases other approaches could be more to the point.
There are tons of frameworks in the Java world and plenty of solutions based on different languages, like dynamic languages (Ruby/Python/Perl), or C# or the dear ol C/C++.

The point is that EJB is a simple tecnology to work with in the 3rd version, so if you know Java, it should not take to much time to you to learn a bit on how it works. And later you will have an extra tool in your pocket.

If you want to work with componenets you might consider to study OSGI as well. (I don't think there is need to name SOA as I guess you hear already to much about it).
I agree. Here's the link:
subject: EJB outdated?
It's not a secret anymore!