Listing 2 shows the completed business interface.
清单2显示了完整的业务接口。
Business interface provided by the business delegate interface.
由业务委托接口提供的业务接口。
The annotation processor will then generate the Business Interface.
那么注解处理器将会产生业务接口。
Therefore, Struts provides a business interface it does understand, Action.
因此,Struts提供了它能够理解的一个业务接口,即 Action 。
EJB 3.0 introduces the notion of a Business Interface. An example is shown below.
EJB 3.0引入了业务接口的概念。
Each service or reference has an interface that describes the business interface as a set of methods.
每个服务或引用都有一个接口,将业务接口描述为一组方法。
Read the sidebar "Alternatives to the Business Interface pattern" to learn about other solutions.
请阅读补充文章“业务接口模式的替代方法”以学习其它解决方案。
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 兼容的业务接口,下一步是在远程接口中扩展它。
Listing 3 shows what the remote interface would look like if it were built using the Business interface pattern.
清单3显示:如果使用业务接口模式构建远程接口,它会是什么样子。
A runtime wire is a collection of invocation chains; there is one invocation chain per method in the business interface.
运行时连接是一个调用链集合;业务接口中的每个方法都有一个调用链。
Note that the Business Interface pattern isn't the only way to get around mismatched methods in remote object design.
业务接口模式不是避免远程对象设计中不匹配的方法的唯一方法。
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,将使用业务接口来调用它。
Hopefully, the Business Interface pattern will start to change the way you think about and code your session and message-driven beans.
业务接口模式有希望能改变您对会话和消息驱动的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的任何细节。
The EJB 3.0 draft specification addresses the multiple interface problem directly by introducing a Single Business interface, no local or remote interfaces.
EJB 3.0规范草本中通过引入SingleBusiness接口,而非本地或远程接口直接解决了多个接口的问题。
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接口)。
Finally, as each method in the business interface is invoked, the data provided to the method as parameters and returned from the call is abstracted using a data binding.
最后,在调用业务接口中的每个方法时,作为参数提供给方法并从调用返回的数据将通过数据绑定提取。
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系统生成的操作进行转换之后,将由后端系统进行处理。
Like the other widgets, it can be added to any space or page and configured using a simple business user interface to choose which KPI to display.
与其他小部件一样,您可以将其添加到任何空间或页面,并使用简单的业务用户界面进行配置以选择要显示的KPI。
You will create the export with an interface and business objects corresponding to the discovered services.
您将使用与发现的服务对应的接口和业务对象创建导出。
The rules architect must provide business users with an interface to change rules.
规则架构师必须为业务用户提供更改规则的界面。
You can also generate a new business process along with an interface and business object, based on a form.
还可以基于某个表单生成一个新的业务流程以及一个界面和业务对象。
An SCA interface defines one or more business functions.
SCA接口定义一种或多种业务功能。
Consumer processes generally are not (they consume services), except where the process is exposed to an external consumer, such as a business partner using a Business-to-Business (B2B) interface.
使用者流程通常不是如此(它们使用服务),除非流程向外部使用者公开,如使用B2B接口的业务合作伙伴。
应用推荐