Even if the code is written inside a session bean, performance will be slow compared to the second solution.
即使在会话bean中编写代码,与第二种解决方案相比性能是缓慢的。
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).
在设计过程中必须考虑到,可能每台服务器仅有一个客户端(为了实现最好的性能,会话 Bean 可能与数据库共存)。
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.
正如我们已经看到的,会话bean被指定给某个参与者,利用它对该参与者的特有了解,会话bean既方便了参与者的事务又增强了系统性能。
应用推荐