Hi,

This mail is useful only if you're using entity EJBs.
Because EJB is RMI on steroids (is more than that, but let's keep it
simple), if you need more that one entity to get the data you need for
the presentation layer  you end up opening a lot of rmi connections,
with the overhead it implies.
The solution is simple, yet elegant: Create a Session Bean, collect
all the data (raw data, not the remotes) from the Entity Beans and use
that for the presentation. That way you use only one rmi connection.


Hope this help.


-- 
Best regards,
 Rafael                            mailto:[EMAIL PROTECTED]



Reply via email to