Compare the proxy to a reference to a stateless session bean's local interface.
这里比较一下代理和对无状态bean本地接口的引用。
TestLocal — Calls the session bean local interface via lookup of EJB reference.
TestLocal——通过查找EJB引用来调用会话Bean本地接口。
For performance optimization, a local interface can be added to the session facade.
为了性能的优化,可以将一个本地接口添加到会话Facade。
EJB 2.0 solved this problem by adding an optional local interface, as seen in Listing 3.
EJB 2.0通过添加一个可选的本地接口解决此问题,如清单3所示。
In addition, you aren't required to code the home interface, remote interface, and local interface classes.
另外,不需要编写home接口、remote接口和local接口类。
Leave a multicast group on a specified local interface.
使指定接口离开多播组。
An enterprise Bean's local interface provides the local client view of an EJB object.
企业Bean的本地接口提供EJB对象的本地客户端视图。
An enterprise Bean's local interface defines the business methods callable by local clients.
企业Bean的本地接口定义了本地客户端可调用的业务方法。
This tells XDoclet to generate the appropriate methods in the local interface, remote interface, or both interfaces for the session bean.
该属性告诉XDoclet在会话bean的本地接口、远程接口或两种接口中生成相应方法。
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).
下一步是对本地接口进行编码,这部分留给您,作为一个练习(只需按照示例使用远程接口即可)。
I then create a sockaddr structure, specifying that connections are permitted from any local interface (using the wildcard address INADDR_ANY).
然后创建一个sockaddr结构,指定这个连接可以从任何本地接口上创建(使用通配符地址INADDR_ANY)。
If performance is important, you can access the EJBs via their local interface (call-by-reference), unless your topology requires remote access.
如果性能很重要,可以通过EJB的本地接口访问它们(按引用调用),除非拓扑要求进行远程访问。
Unfortunately, EJBs have been very tedious to write because you have to create three classes (and separate files) for each EJB: the home, the local interface, and the remote interface.
不幸的是,EJB不太容易编写,因为您需要为每个EJB创建三个类(和三个单独的文件):home类、local接口和remote接口。
Unfortunately, EJBs have been very tedious to write because you have to create three classes (and separate files) for each EJB: the home, the local interface, and the remote interface.
不幸的是,EJB不太容易编写,因为您需要为每个EJB创建三个类(和三个单独的文件):home类、local接口和remote接口。
应用推荐