The most common container-managed transaction attribute is Required.
最常用的容器管理的事务属性是Required。
The command cache is a container-managed cache; EPPS is a bean-managed cache.
命令行缓存是容器管理的缓存;epps是bean管理的缓存。
It's impossible to overemphasize the importance of container-managed transactions.
对容器管理的事务怎么强调都不会过分。
The stub and skeleton objects also take care of beginning and committing container-managed transactions.
存根和骨架对象还负责开始和提交容器管理的事务。
Also, the new JPA specification does not include automatic container-managed relationship (CMR) maintenance.
此外,新的JPA规范没有包括容器管理关系(container - managed relationship,CMR)的自动维护。
With container-managed persistence, when an entity bean is created, its information is saved in the database.
在创建一个实体bean时,容器管理的持久性会将其信息保存在数据库中。
JEE 5 can handle injections transparently when the injections are used on these container-managed components.
当以下容器-管理构件使用注入时,JEE5可以透明地处理注入。
The J2EE environment provides two persistence schemes for entity beans: bean-managed and container-managed.
J2EE环境为实体bean提供了两种持久性模式:bean 管理和容器管理。
This is the simplest solution if the database is used exclusively by Tomcat for container-managed security.
如果Tomcat 仅用该数据库来获得容器管理的安全性,那么这就是最简单的解决方案。
However, JPA defines the notion of container-managed entity manager versus application-managed entity manager.
然而,jpa定义了容器管理的实体管理器与应用程序管理的实体管理器的概念。
As mentioned earlier, all CRUD methods are candidates for container-managed methods since they are abstract methods.
正如前面所提到的,由于CRUD方法是抽象方法,因此所有的CRUD方法都是容器管理方法的候选方法。
We'll close with a list of best practices for using each type of object and the container-managed services it provides.
最后,我们将给出使用每种类型的对象和它提供的容器管理服务的一些最佳实践。
For each container-managed EM instance, there are one or more corresponding container-managed persistence contexts (PC).
对于每个容器管理的em实例,都存在一个或多个对应的容器管理的持久性上下文(Persistence Contexts,PC)。
In the case of J2EE container-managed transactions, the container takes responsibility for determining transaction bounds.
在J2EE容器管理事务的情况下,容器的职责是确定事务范围。
This problem is not limited to the use of container-managed entity beans but is general to the object-oriented approach.
该问题不是仅限于容器管理的实体bean的使用中,而是普遍存在于面向对象方法中。
This returns true if the MDB is using container-managed transactions and the method in question has a transaction attribute of Required.
如果MDB正在使用容器托管的事务,而且要处理的方法具有Required事务属性,那么isDeliveryTransacted会返回true。
For all the transactional RPCs, you can use either container-managed transaction demarcation or component-managed transaction demarcation.
对于所有事务的RPC,您可以使用容器管理的事务划分或者组件管理的事务划分。
Any interaction that modified a container-managed bean requires synchronization with the data source to insure a consistent view of the entity bean.
任何修改容器管理bean的交互都需要与该数据源保持同步,以确保实体bean的一致视图。
The support for bean validation is another key feature of JPA 2.0, which extends to both the container-managed and application-managed environments.
支持bean验证是JPA 2.0的另一个主要特性,它扩展到了容器管理和应用管理环境。
When you add the J2C connection factory, you have to select this alias name for the component-managed and container-managed authentication aliases.
当您添加J2C连接工厂时,必须选择此别名作为组件管理的验证和容器管理的验证的别名。
Code your application using the JDBC DataSource interface for connections (or use container-managed persistence (i.e. EJBs), but that is another topic).
使用用于连接的JDBCDataSource接口编写应用程序(或者使用容器管理的持久性,但那是另一个话题)。
It provided an implementation of remote session beans directly and used Castor for its implementation of container-managed persistence (CMP) entity beans.
它直接提供了一个远程会话bean的实现,并使用Castor作为它的容器管理持久性(CMP)实体bean的实现。
"Right now I am working on finishing JPA support with container-managed persistence," he told me when I sat down to talk to him just before Thanksgiving.
“我现在的工作是,借助容器管理的持久性来完成JPA支持”,感恩节前夕我坐下来跟他谈话时他这样告诉我。
Suppose you take the EJB from Listing 1 and deploy it using container-managed transactions and a transactional attribute of RequiresNew for the business method.
假定取用清单1中的EJB,并用容器托管的事务部署它,将业务方法的事务属性设定为RequiresNew。
This means that you can perform the send and receive as part of the same transactional unit of work without resorting to a bean- or container-managed transaction.
这意味着可以在同一个事务工作单元中进行发送和接收,而无需借助于bean或者容器管理的事务。
For example, if the mapping attribute of the DataSource object is not set, the data source might not act as the data source in the container-managed persistence (CMP).
例如,如果未设置DataSource对象的mapping属性,则数据源的行为方式不会与容器管理的持久性(CMP)中的数据源相同。
The stateless session bean with container-managed transactional methods, as described in Listing 5 and Listing 6, reduce the complexity involved with managing database entities.
具有容器管理事务方法的无状态会话bean,如清单5和清单6所描述的,降低了管理数据库实体的复杂性。
The annotations define the type of EJB, container-managed fields, finder queries, data types, and all the other information typically found in the deployment descriptors of an EJB.
标注定义了EJB的类型、容器管理的字段、发现器查询、数据类型和其他在EJB部署描述中通常会出现的信息。
The annotations define the type of EJB, container-managed fields, finder queries, data types, and all the other information typically found in the deployment descriptors of an EJB.
标注定义了EJB的类型、容器管理的字段、发现器查询、数据类型和其他在EJB部署描述中通常会出现的信息。
应用推荐