Use the ejb home interface to create or fetch instances of ejbs , in the same manner as server - side ejb programming 使用ejb本地接口创建或提取ejb的实例,与服务器端的ejb编程方法一样
I then used a local interface to these within a session facade to ensure that only one transaction was issued 然后,在会话虚包中我对它们使用了本地接口来确保只有一个事务能被发布。
This tells xdoclet to generate the appropriate methods in the local interface , remote interface , or both interfaces for the session bean 该属性告诉xdoclet在会话bean的本地接口、远程接口或两种接口中生成相应方法。
In the end , you should have some insights into when remote and local interfaces to stateless and stateful session implementations could apply 最后,您将对何时应用无状态及有状态会话实现的远程及本地接口有一些认识。
Thin clients can give distributed teams more flexibility and mobility , but may not support all the features of a tool s native interface 精简客户端可以给分布式团队更大的灵活性及可移动性,但是也许不能支持工具所有的本地接口特性。
This configuration is still secure , because application cmp ejbs provide only local interfaces and , therefore , can only be accessed from the same ejb container 该配置仍然安全,因为应用程序cmp ejb只提供了本地接口,因此只能从同一ejb容器中访问。
Make sure that you check the local client view checkbox so you get a local interface they are faster if ejb container is locally deployed which it will be and then click 复选框,以得到本地接口(如果ejb容器部署在本地,那么这样做会更快一些) ,然后单击
Even when using locals , build custom creates , finds , gets and sets to minimize chattiness between layers and foster reuse and maintainability 即使使用本地接口,也应创建自定义的create , find , get和set方法,从而最小化各层之间的障碍,并提高重用和可维护性。
The emp bean s remote interface simply defines the implemented business methods and the home interfaces define home methods as described by the ejb 1 . 1 specification Emp bean的远程接口只定义了已实现的业务方法,而本地接口按ejb 1 . 1规范的描述定义了本地方法。
Isn t it " crying wolf " trading maintainability away performance to recommend returning dtos from entity ejbs when you also recommend using local interfaces 当建议从实体ejb返回dto的同时建议使用本地接口,是否是在“喊狼来了” (以牺牲可维护性为代价换取性能的提高) ?