We use an EJB session facade layer to represent the use cases.
我们使用EJB会话facade层来表示用例。
Data Access Object (DAO) and Session Facade are both good ones to use.
数据访问对象(Data Access Object,DAO)及会话外观(Session Facade)都是非常值得一用的。
A local EJB session facade is created to wrap Hibernate persistence.
创建本地e jb会话facade以包装Hibernate持久性。
In short, the Home method becomes the equivalent of the session facade.
简而言之,Home方法即等同于session facade。
The Session Facade pattern can be used with both known and unknown actors.
会话虚包模式可用于已知的和未知的参与者。
For performance optimization, a local interface can be added to the session facade.
为了性能的优化,可以将一个本地接口添加到会话Facade。
Always use a session facade to start a global transaction around the entities used.
始终使用会话虚包来启动有关所使用实体的全局事务。
Using a session facade is one of the best-established best practices for the use of EJBs.
当使用EJB组件时,使用会话Facade是一个确认无疑的最佳实践。
A session facade EJB business methods call more than one DAO to save on more than one table.
会话外观e JB业务方法调用了一个以上的DAO来将其保存在一张以上的表中。
The Session Facade pattern resolves these issues by injecting a session bean into the scenario.
通过在这个方案中加入一个会话bean,会话虚包解决了这些问题。
So it is still a best practice to use a session facade (whether a new EJB 3 style or an old EJB 2.x style).
所以使用会话Facade(不管是新的EJB3样式还是旧的 EJB 2.x 样式)仍然是最佳实践。
The session Facade pattern substitutes a single call to a session bean for multiple calls to an entity bean.
会话虚包模式用对会话bean的单个调用来代替对实体bean的多个调用。
The session facade provides adapter logic to map Hibernate entity POJOs to Service Data Objects and back.
会话Facade提供适配器逻辑,以便将Hibernate实体POJO映射到服务数据对象,以及进行反向映射。
Session facade provides operations to create, retrieve, update, and delete Value Objects from the database.
Session facade提供从数据库创建、检索、更新和删除ValueObject的操作。
Delegate this dependency operation to the corresponding parameter dependency operation in the Session Facade pattern.
将这种依赖操作委托给Session Facade模式的相应参数依赖操作。
It seems like it is hard to get away from using individual getters (and setters) on entity EJB components in the session facade.
在会话外观中,似乎不能避免对实体e JB组件使用单个getter(和setter)。
The Session Facade and Business Delegate pattern instances shown in Figure 2 include a number of pattern parameters to customize.
如 图2所示的Session Facade和BusinessDelegate模式实例包括大量个性化的模式参数。
However, the implementation of the session facade itself, typically a stateless session bean, should be designed for remote interfaces.
然而,会话Facade本身的实现(典型例子如无状态会话Bean)应该设计为远程接口。
This applies to a delegated method on an entity EJB, an entity Home method, a session facade, or (as you call it) a DTO assembler class.
这适合于实体e JB、实体home方法、会话外观或(如您所称)D TO装配器类上的已委托的方法。
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.
为了说明会话虚包模式,我们来考虑这样一个用例,用户能将贷款支付的帐目记入她的支票帐户的借方。
In order to expose the collection classes, you can create a session facade and access it using a servlet, which forwards the results to a JSP.
为了露出集合类,您可以创建会话外观并通过servlet对其进行访问,这样能够将结果传到jsp上。
You can apply the composed pattern to a customer data model, just as you can the Session Facade pattern (see Figure 7). Just follow these steps
您可以为客户数据模型应用复合模式,就如同Session Facade 模式一样(参看图7)。
AccountTransaction ACTS as a session facade for Web applications or clients to access entity EJB components, and thus supports the remote interface.
AccountTransaction充当了一个供web应用程序或客户端访问实体e JB组件的会话虚包,因此它支持远程接口。
Session EJB AccountManagement acts as a session facade for Web applications or clients to access entity EJBs and thus supports the remote interface.
SessionEJBAccountManagement 担任Web应用程序或客户端的会话虚包来访问实体EJB,因此支持远程接口。
A session Facade pattern generates a session bean class to serve as the front end of a set of entity bean classes that model business information.
session Facade模式产生一个sessionbean类作为针对业务信息建模的bean类实体前端。
In short, if you are willing to accept local entity EJBs behind a session facade, you should be willing to accept a local stateful session EJB behind one as well.
简而言之,如果您想接收位于会话外观后的本地实体eJB,您也要接收位于其后的本地有状态会话ejb。
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.
通过使用诸如镜像映象和会话虚包之类的模式,我们就可以跟踪类的创建过程,以反映出外部实体的标识或它所提供的服务。
An integration developer can then use an EJB import to invoke the session facade, and invoke it in a tightly coupled fashion with corresponding Qualities of Service (QoS).
然后集成开发人员可以使用EJB导入来调用会话Facade,并以紧密耦合方式使用对应的服务质量(QoS)调用它。
This resolving scheme is based on advanced J2EE platform, applies MVC pattern, Session Facade pattern and Data Access Object pattern to control E-mail from two directions of sending and receiving.
该解决方案架构在先进的J2EE平台之上,应用MVC模式、会话模式和在数据访问对象模式等J2EE开发模式,从收和发两个方向对电子邮件进行了有效控制。
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.
对于将用例图中的参与者转换成类图中有效的抽象,镜像映象模式和会话虚包模式是很有用的,这样最终将能够更清楚地转换成代码。
应用推荐