The business delegate component invokes the service and wraps any return value as a model object.
业务委派组件调用该服务,并将任何返回值打包为模型对象。
Because our example application included a business delegate class, we placed the validation logic there.
因为示例应用程序包含了一个业务委派类,所以我们在其中放置了验证逻辑。
Keep in mind it is best to hide the EJB call behind a business delegate rather than calling it directly in the plug-in code.
要记住,最好将EJB调用隐藏在业务委派之后而不是在插件代码中直接调用。
Again, we have a factory that is responsible for the instantiation of various business delegate implementations, each of which implements a common interface.
此外,我们有一个负责实例化不同业务实现的工厂,每一个都实现通用接口。
The exception to this rule is if the client business delegate in the client layer controlling the transaction scope is managed as a Spring bean by the Spring Framework.
此规则的例外情况是,管理事务作用域的客户端层中的客户端业务代理由SpringFramework托管为Springbean。
With the Validator in place and set up for the specific data types we need to validate, it's a snap to use it in our application, and specifically in our business delegate methods.
针对我们需要验证的特定数据类型,在将Validator置于适当位置并对它作设置之后,在应用程序中使用它就很容易,在我们的业务委派方法中尤其如此。
Business delegate implementations.
业务委托实现。
Delegate the dependency operation to the Business Delegate pattern.
将这种依赖操作委托给Business Delegate模式。
Similarly, delegate the dependency operation to the Business delegate pattern.
与上面类似,将这种依赖操作委托给Business Delegate模式。
The Session Facade and Business Delegate pattern instances shown in Figure 2 include a number of pattern parameters to customize.
如 图2所示的SessionFacade和Business Delegate模式实例包括大量个性化的模式参数。
The problem is that when most J2EE developers think of the Business delegate pattern, they only think of it in terms of Remote EJB access.
问题是,当大多数J2EE开发人员考虑业务代表模式时,他们仅仅想到它的远程EJB访问方面。
Business Delegate is a pattern that allows a client to remain ignorant of the implementation details of a particular remote business service.
业务代表是一种模式,它使得客户端可以不用关心远程业务服务的实现细节。
After you have created it, the session bean class is manually bound to the Business Service input parameter of the Business Delegate pattern instance.
创建它后,sessionbean类被手动绑定到Business Delegate模式实例的BusinessService输入参数。
After you have created it, the session bean class is manually bound to the Business Service input parameter of the Business Delegate pattern instance.
创建它后,sessionbean类被手动绑定到Business Delegate模式实例的BusinessService输入参数。
应用推荐