通过默认的方法,仅仅将本地的客户端视图选定为实体bean。
By default only a local client view is selected for entity beans.
为便于说明,我们将显示如何将这种模式用于本地和远程客户端视图。
For illustrative purposes, we will show how to use this pattern for both local and remote client views.
但是,只要有可能,还是应该使用本地客户端视图和EJB本地引用。
Whenever possible, however, use local client views and EJB local references.
企业Bean的本地接口提供EJB对象的本地客户端视图。
An enterprise Bean's local interface provides the local client view of an EJB object.
企业Bean的远程接口提供EJB对象的远程客户端视图。
An enterprise Bean's remote interface provides the remote client view of an EJB object.
第二个实例利用了目标 (Person)EJB的本地客户端视图。
The second example takes advantage of the local client view of the target (Person) EJB.
用户创建bean并将其显现在类图中后,可以添加和移除客户端视图(本地或者远程)。
You can now add or remove client views (Local or Remote) after the bean has been created and visualized on a class diagram.
图5在J2EEMigration向导中显示了“图5 .添加本地客户端视图”页。
Figure 5 shows the "Add local client views" page in the J2EE Migration wizard.
这是作为实体bean的首选客户端视图,然而远程客户端视图此时也可能被添加了。
This is the preferred client view for entity beans but a remote client view may be added at this point in the wizard.
EJB 2.0规范引入了本地客户端视图,当在同一J VM里运行EJB时避免了远程的方法调用。
The EJB 2.0 specification introduced local client views, which eliminate the need to use remote method invocations when running EJBs within the same JVM.
服务访问(客户端视图)描述了Portlet服务的接口定义方式,以及Portlet如何获取服务的实现。
The service access (client view) describes how interfaces of portlet services are defined, and how portlets can obtain an implementation of the service.
ReadEntries:当用户在Notes客户端视图中向上或向下查看邮件条目描述时,将发生该事件
Read Entries: The event that occurs when a user scrolls up or down in the Notes client looking at the descriptions of mail entries in a view
尽管旨在供人类阅读,但CDA文档中仍然包含了大量的机器可读信息,可以通过将这些信息转换为一个扩展的客户端视图使其易于管理。
Although they are intended to be human-readable, CDA documents also contain a wealth of machine-readable information, which can be made more manageable by transformation into an expanded client view.
EJB 2.0最实际的用处之一是使用无状态的Sessionbean与含有任何本地客户端视图的Entitybean 相结合。
One of the EJB 2.0 best practices is to use a stateless Session bean to interact with Entity beans that have any local client views.
要移除客户端视图,右键单击接口,然后选择Edit =>RemoveClientView,改动将会反映到bean外形上。
To remove a client view, right click on an interface, and select Edit => Remove Client View. The changes will be reflected on the bean shape.
它通过包括从客户端和服务端视图中选择的中介进行构造,如图1和图2所示。
It is constructed by including selected intermediaries from both the client and service side views shown in Figures 1 and 2.
它通过包括从客户端和服务端视图中选择的中介进行构造,如图1和图2所示。
It is constructed by including selected intermediaries from both the client and service side views shown in Figures 1 and 2.
应用推荐