Mapping constraints for databases

Mapping constraints for databases

Each of your Java 2 platform, Enterprise Edition (J2EE) applications (in an EAR file) can have more than one enterprise bean container-managed persistence (CMP) module in it. Each EJB CMP module (as a JAR file) can contain more than one CMP bean.

You can configure each bean to connect to its own data source by using the different Java Naming and Directory Interface (JNDI) names of each data source. However, there are some constraints:




Related concepts
Application assembly and J2EE applications
Enterprise (J2EE) applications
EJB modules

Related information
Importing EJB