会话虚包模式可用于已知的和未知的参与者。
The Session Facade pattern can be used with both known and unknown actors.
始终使用会话虚包来启动有关所使用实体的全局事务。
Always use a session facade to start a global transaction around the entities used.
通过在这个方案中加入一个会话bean,会话虚包解决了这些问题。
The Session Facade pattern resolves these issues by injecting a session bean into the scenario.
会话虚包模式用对会话bean的单个调用来代替对实体bean的多个调用。
The session Facade pattern substitutes a single call to a session bean for multiple calls to an entity bean.
同样,要考虑重构您的会话虚包,使它们与单个“网关”实体相关联,该实体是代码的起始点。
Also, consider refactoring your session facades so that they are associated with a single "gateway" entity that is the natural starting point for the code.
为了说明会话虚包模式,我们来考虑这样一个用例,用户能将贷款支付的帐目记入她的支票帐户的借方。
To illustrate the Session Facade pattern, let's consider a use case where the user can debit her checking account to make a loan payment.
对于将用例图中的参与者转换成类图中有效的抽象,镜像映象模式和会话虚包模式是很有用的,这样最终将能够更清楚地转换成代码。
The Mirror Image and Session Facade patterns are useful for changing actors in use case diagrams into valid abstractions in class diagrams, which ultimately results in a cleaner translation to code.
通过使用诸如镜像映象和会话虚包之类的模式,我们就可以跟踪类的创建过程,以反映出外部实体的标识或它所提供的服务。
Using patterns such as Mirror Image and Session Facade, we can trace the creation of classes to reflect the identity of, or services provided by, an external entity.
AccountTransaction充当了一个供web应用程序或客户端访问实体e JB组件的会话虚包,因此它支持远程接口。
AccountTransaction ACTS as a session facade for Web applications or clients to access entity EJB components, and thus supports the remote interface.
SessionEJBAccountManagement 担任Web应用程序或客户端的会话虚包来访问实体EJB,因此支持远程接口。
Session EJB AccountManagement acts as a session facade for Web applications or clients to access entity EJBs and thus supports the remote interface.
eab会话ejb充当用于创建新的客户记录或更新、检索或删除已有记录等操作的虚包。
The EAB session EJB ACTS as facade for operations that create a new customer record, or update, retrieve, or delete an existing record.
图20显示了与CMP 2 .xbean有关的会话bean虚包。
Figure 20 shows the Session bean Facade in relation to its CMP 2.x bean.
如果用户采用瘦虚包模式,那么用户的无状态会话可能会代表其他的类。
If you follow a thin facade pattern, your stateless session beans probably delegate to other classes.
这样,会话bean就为我们与实体bean的交互提供了一个虚包。
As such, the session bean provides a facade for our interactions with entity beans.
这样,会话bean就为我们与实体bean的交互提供了一个虚包。
As such, the session bean provides a facade for our interactions with entity beans.
应用推荐