Promote the two methods to the remote interface as described in Step 6.
按照步骤6中说明的,将这两个方法提升为远程接口。
This file provides an implementation of all the methods defined in the remote interface, in addition to methods required by the application server (for example, callback methods).
该文件提供在远程接口中定义的所有方法以及应用服务器所需的方法(例如回调方法)的实现。
The specification then describes how explicit service contexts are mapped into the remote interface of a service, whereas implicit contexts are typically not.
规范因此描述了显式的服务上下文如何映射到服务的远程接口中,而隐式的上下文通常却不能这样做。
This business method is added to a remote interface to give clients access to this method.
这个业务方法添加在一个远程的接口中,使客户能够访问这个方法。
The value object in Listing 2 looks almost identical to our remote interface, but it's actually a concrete class.
清单2中的值对象看起来和我们的远程接口几乎相同,但它实际上是具体类。
Follow the steps below to promote these methods to the remote interface.
按照如下的步骤来改进这些方法以适合于远程接口。
Promote the relevant methods to the remote interface.
改进远程接口中相应的方法。
It only needs to implement a remote interface that you define or allow your IDE to create automatically.
它只需要实现一个远程接口,您可以自己定义这个接口,也可以让IDE自动生成它。
All you've added is an annotation declaring this to be a remote interface.
唯一添加的是一个注释,将其声明为远程接口。
However, there is an inherent distinction between the remote interface as being a client side object, while instances of the remote implementation class belong on the server side.
然而,远程接口与远程实现类的实例有内在不同,前者是客户机方对象,而后者则属于服务器方。
For EJB service implementation, the SEI methods must be a subset of the EJB component's remote interface methods.
对于EJB服务实现,SEI方法必须是EJB组件远程接口方法的一个子集。
If the EJB remote implementation class were to implement the EJB remote interface directly, verification of dependencies could be checked at compile time.
如果EJB远程实现类要直接实现EJB远程接口,则可以在编译期间检查相关性的验证。
The next step is to code your local interface, which I'll leave as an exercise for you (just use the remote interface as your working example).
下一步是对本地接口进行编码,这部分留给您,作为一个练习(只需按照示例使用远程接口即可)。
It's developed based on the EJB remote interface.
它是基于EJB远程接口开发的。
For example, utility methods on the implementation class don't have to exist on the remote interface.
例如,实现类的实用程序方法不必放在远程接口上。
Care must be taken to ensure that methods declared in the remote interface are actually implemented in the EJB remote implementation class.
必须注意要确保在EJB远程实现类中实际实现了远程接口中声明的方法。
EJB远程接口。
For example, you can capture all RMI calls by specifying operations throwing RemoteException in a class implementing the Remote interface.
例如,可以通过指定在实现了Remote接口的类中抛出RemoteException的操作来捕获所有rmi调用。
Finder methods return the bean's Remote interface or an enumeration of Remote interfaces.
查找器方法返回bean的Remote接口或一个Remote接口的枚举。
My solution to this is to place the remote interface into a common subpackage of client.
对于这个问题,我的解决方案是将远程接口放在client 的common 子包中。
Add the following three "business" methods to the HelloWorldBean and then promote them to the remote interface.
将下面三个“业务”方法添加到HelloWorldBean中,然后将它们提升到远程接口。
Add the following three business methods to the HelloWorldBean and then promote them to the remote interface.
将下面三个业务方法添加到HelloWorldBean中,并将它们扩展到远程接口中。
Promote those four methods to the remote interface of the HelloWorldSession bean.
把这四个方法提升为 HelloWorldSessionbean的远程接口。
When an instance of CustSession remote interface appears on the left side of the page, expand it see its methods.
当页面左侧出现CustSession远程接口的实例时,展开它直到找到它的方法。
The Geronimo server will locate the actual EJB based on the home and remote interface and the EJB type specified.
Geronimo服务器将基于本地和远程接口以及指定的ejb类型来定位实际的EJB。
AccountValue — a transfer object that represents account information obtained from the account entity bean remote interface.
AccountValue——是一个传递对象,这个对象表示从Account实体bean远程接口获取的帐号信息。
By default, all methods on the EJB remote interface have a transaction setting of TRANSACTION_REQUIRED (see Figure 10).
缺省情况下,EJB远程接口上的所有方法具有TRANSACTION _ REQUIRED的事务设置(请参见10)。
Remote Interface: Indicates whether the remote interface is supported
Remote Interface:显示是否支持远程接口
The asynchronous interface's method signatures differ from those of the remote interface, so GWT relies on Magical Coincidental Naming.
异步接口的方法签名与远程接口的方法签名有所不同,所以GWT要依靠MagicalCoincidentalNaming。
This tells XDoclet to generate the appropriate methods in the local interface, remote interface, or both interfaces for the session bean.
该属性告诉XDoclet在会话bean的本地接口、远程接口或两种接口中生成相应方法。
应用推荐