Even if the code is written inside a session bean, performance will be slow compared to the second solution.
即使在会话bean中编写代码,与第二种解决方案相比性能是缓慢的。
2
The design took into account that there would only ever be one client per server (presumably with the session bean co-located with the database for maximum performance).
As we have seen, the session bean USES its particular knowledge of the actor to which it is assigned to both facilitate that actor's transactions and enhance system performance.