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既方便了参与者的事务又增强了系统性能。
In that case, you could improve performance by covering the EJB with a session bean with local access to reduce the number of remote accesses.
在这种情况下,可以使用本地访问的会话Bean代替EJB,减少远程访问的次数,从而提高效率。
Using JMX means that each of the performance-statistics instances will be exposed as a management bean, thus yielding detailed performance data.
使用JMX意味着每个性能统计实例都会公开成一个管理bean,从而提供详细的性能数据。
At the break of performance, the theatre became noisy again. There were peddlers shuttling back and forth to sell tea, dried bean curd and other foods.
看戏中间有一段休息,剧场便又恢复了喧嚣,这时场内会有小贩来回卖茶水、五香豆腐干或其它食品。
At the break of performance, the theatre became noisy again. There were peddlers shuttling back and forth to sell tea, dried bean curd and other foods.
看戏中间有一段休息,剧场便又恢复了喧嚣,这时场内会有小贩来回卖茶水、五香豆腐干或其它食品。
应用推荐