Listing 2 shows the completed business interface.
清单2显示了完整的业务接口。
Listing 1 shows a simple business interface for a Library object.
清单1显示了Library对象的一个简单的业务接口。
The business interface clearly defines the business usage of the Library object.
这个业务接口明确地定义Library对象的业务用法。
Each service or reference has an interface that describes the business interface as a set of methods.
每个服务或引用都有一个接口,将业务接口描述为一组方法。
A simplified local view that provides session bean access without a separate local business interface.
一个简化的本地视图,无需单独的本地业务接口就可提供sessionbean的访问。
You can also use remote and local interfaces (both extending the business interface) with this pattern.
您也可以将此模式用于远程和本地接口(两者都继承了业务接口)。
With the EJB-compatible business interface in place, the next step is to extend it in your remote interface.
有了合适的与 EJB 兼容的业务接口,下一步是在远程接口中扩展它。
A runtime wire is a collection of invocation chains; there is one invocation chain per method in the business interface.
运行时连接是一个调用链集合;业务接口中的每个方法都有一个调用链。
It also shows dependencies on other classes, our marshaller and the business interface, as described in the two previous patterns.
它也显示了对其它类的依赖性,如前面描述的两个模式中的marshaller和业务接口。
Stateless annotation, above, means that this class is now a stateless session bean, and the business interface is used to invoke it.
以上的@无状态注解,意味着此类现在是一个无状态会话bean,将使用业务接口来调用它。
EJB 3.0 introduces the notion of a business interface, rather than separate remote and local interfaces. An example of this is shown below.
EJB 3.0引入了业务接口概念,而非单独的远程和本地接口。
No-interface view: This simplifies the creation of an enterprise bean using only a bean class without having to write a separate business interface.
无接口视图:简化了EJB的编写,只需要一个Bean,无需再编写单独的业务接口。
If the target field type specifies the EJB business interface type, the caller does not need to be concerned with any of the specifics of calling an EJB.
如果目标字段类型指定了EJB业务接口类型,则调用者不需要关心调用某个EJB的任何细节。
This new version has some functionality that a new application internal to the company needs and, naturally, extends the business interface for its EJB components.
这个新版本有一些新功能,公司内部的一个新应用程序需要这些新功能,而且很自然地扩展了EJB组件的业务接口。
Under the business interface pattern, however, the implementation classes will also need to implement your new business interface (in this case, the ILibrary interface).
然而,在业务接口模式下,实现类还将需要实现新的业务接口(在这种情况下,是ILibrary接口)。
JBoss used to have a concept of SecurityProxy for EJBs, where you could provide an implementation of the EJB business interface that could execute these security checks in code.
JBoss曾经有一个概念是EJB的SecurityProxy,您可以在其中提供EJB业务接口的实现,该实现可以在代码中执行这些安全检查。
CustomerProcess is the business interface to the back-end system that will process the actions generated by the business Events system once they've been transformed using the ESB mediation.
CustomerProcess是面向后端系统的业务接口,使用ESB中介对BusinessEvents系统生成的操作进行转换之后,将由后端系统进行处理。
The annotation processor will then generate the Business Interface.
那么注解处理器将会产生业务接口。
EJB 3.0 introduces the notion of a Business Interface. An example is shown below.
EJB 3.0引入了业务接口的概念。
Read the sidebar "Alternatives to the Business Interface pattern" to learn about other solutions.
请阅读补充文章“业务接口模式的替代方法”以学习其它解决方案。
Listing 3 shows what the remote interface would look like if it were built using the Business interface pattern.
清单3显示:如果使用业务接口模式构建远程接口,它会是什么样子。
Note that the Business Interface pattern isn't the only way to get around mismatched methods in remote object design.
业务接口模式不是避免远程对象设计中不匹配的方法的唯一方法。
Hopefully, the Business Interface pattern will start to change the way you think about and code your session and message-driven beans.
业务接口模式有希望能改变您对会话和消息驱动的bean进行思考和编码的方式。
Hopefully, the Business Interface pattern will start to change the way you think about and code your session and message-driven beans.
业务接口模式有希望能改变您对会话和消息驱动的bean进行思考和编码的方式。
应用推荐