This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.