WAS v8.5 > Develop applications > Develop EJB applications > Develop entity beans

Define data sources for entity beans

For entity beans in applications assembled with container-managed persistence enterprise beans, to bind application EJB references and resource references, create a data source or JDBC resource, and give it a JNDI name. After binding an EJB module to a data source, all beans in that module use the same data source for persistence. If data source is specified at the bean level, that data source is used instead.


+

Search Tips   |   Advanced Search