Why to use the RMI when same benefits can be achieved from EJB?
by, 01-02-2012 at 06:41 PM (1705 Views)
EJB makes use of the RMI framework to do the object distribution. EJB application server provides extra services for example object pooling, transaction, database connection pooling etc which is not provided by RMI. Programming efforts are simplified by these services that have been given by EJB server, at performance cost in comparison with plain RMI. Therefore, if performance is more important then go for pure MRI as a better solution.