This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.