什么是EJB组件?
Using a stateless session EJB component
使用无状态会话EJB 组件
The industry-standard EJB component architecture can help achieve these goals.
符合工业标准的EJB组件体系结构有助于实现这些目标。
The stateful session EJB component implementation can likewise be very simple.
有状态会话ejb组件的实现同样可以非常简单。
Another possibility is to invoke an EJB component as though it were a CORBA component.
另一种可能性是调用EJB组件,就好象它是CORBA组件一样。
Step 5: Configure the EJB component for transaction management and resource references.
步骤5:为事务管理和资源引用配置EJB组件。
In turn, this bean makes a call to a second EJB component, log2Bean, on a different server.
相应地,这个bean又对位于一个不同的服务器上的第二个EJB组件log2Bean发出调用。
Can I make multiple ECI requests from an EJB component, within the same transactional scope?
在同一事务范围内,EJB组件能否发出多个ECI请求?
The EJB component starts a transaction using the UserTransaction interface provided by the JTA.
EJB组件通过使用JTA提供的接口 UserTransaction开始一个事务。
The code that will invoke the EJB component and store the data in the session scope is shown below.
下面所示的这些代码将会调用 EJB组件并将数据存储在会话范围之内。
The method of setting this will change depending on the server you use to deploy the EJB component.
设置方法将因为用于部署EJB组件的服务器不同而异。
You should be able to take the property file provided earlier and make copies for each EJB component.
您应该能够取得前面提供的属性文件,并为每个EJB组件创建该文件的一个拷贝。
The EJB component in this example USES a JNDI lookup to locate the database connection pool resource.
本例中的EJB组件使用JNDI查询来确定数据库连接池资源的位置。
It seems like you have found a good use for every EJB component type — other than stateful session beans.
似乎除了有状态会话Bean之外,您已经为所有的EJB组件类型找到了合适的用途。
Figure 19 shows a typical design of a session EJB component implementing both local and remote interfaces.
图19显示了一个实现本地和远程接口会话EJB组件的典型设计。
In order for a client program to connect to your carefully crafted EJB component, it needs several things.
为了让客户程序连接到您精心打造的EJB组件,需要几样东西。
This code sample shows how an EJB component might access a message queue resource, using connection objects.
代码样本显示了EJB组件如何使用连接对象来访问消息队列资源。
A sample EAR file with an EJB component that maintains multiple database mappings is available for download.
包含一个用于维护多种数据库映射的EJB组件的示例EAR文件可供下载。
EJB component authorization is managed and enforced in the application server where the MDM server is hosted.
EJB组件授权是在MDMServer所在的应用服务器中管理和实施的。
Configure the EJB component for transaction management and the resource references to the J2C connection factories.
为事务管理和指向J2C连接工厂的资源引用配置EJB组件。
The EJB component doesn't even realize that some of the resources are remote and managed outside the EJB container.
EJB组件甚至并不知道其中的一些资源是远程的并且是在 EJB 容器之外被管理的。
So, let's see how we use all these elements to successfully call methods on our EJB component from remote machines.
让我们看一看如何使用所有这些元素以成功地从远程计算机上调用我们的EJB组件上的方法。
An enterprise service can be offered to clients as a web service, a session EJB component, or a message-driven bean.
企业服务可以作为Web服务、会话ejb组件、或者消息驱动的bean提供给客户。
You also define a schema map that maps the persistent variables in the EJB component to the fields in a table schema.
您还定义了一个模式映射,它将EJB组件中的持久性变量映射到表模式中的字段。
All EJB servers allow a method to map the source of the data back to the container and, eventually, to the EJB component.
所有的EJB服务器都允许一个方法将数据源映射回容器,并最终映射到EJB组件。
In the example scenario, a client application running multiple threads calls an EJB component, log1Bean, from each thread.
在这个例子场景中,一个多线程的客户机应用程序从每个线程调用一个EJB组件log1Bean。
The Web service's EJB component inserts the user name contained in the current security context into this response string.
Web服务的EJB组件将当前安全上下文中包含的用户名传入此响应字符串。
Use EJB component to implement an archetype system, which can provide the function of displaying maps and operating map layers.
利用EJB构件技术开发了具有地图显示和图层操作功能的原型系统。
Figure 5 shows the lifecycle of a servlet-based implementation bean and Figure 6 shows the lifecycle of a session EJB component.
图5显示了一个基于servlet的实现bean的生命周期,图6显示了一个会话ejb组件的生命周期。
The primary key of the EJB component, made up of one or more persisted variables, corresponds to the primary key in the database.
EJB组件的主键由一个或多个持久性变量组成,对应于数据库中的主键。
应用推荐