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.