This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes why we need EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "why we need EJB" Watch "why we need EJB" New topic
Author

why we need EJB

Shashi Shankar
Greenhorn

Joined: Dec 27, 2012
Posts: 4
Hi All,
I am new to EJB and just started with intial chapters of EJB, but still I am not clear with "why we need EJB". Actually I want to know, what are the issues we were facing earlier and how EJB comes into picture to resolve that.

As per my understanding EJB is like resusable remote component which can be called from other locations. But for that we already have RMI.

It would be very helpful if someone can provide me little explanation about need of EJB with real time scenario.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

We don't "need" EJB. You can choose to use it or not depending upon whether you find it holds value.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Shashi Shankar
Greenhorn

Joined: Dec 27, 2012
Posts: 4
Good reply :-) but I want to know a real time scenario where I can use EJB as a solution.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

I'm one of those that doesn't find value in it.
 
Don't get me started about those stupid light bulbs.
 
subject: why we need EJB