1.9. Application servers

1.9.1. Can Kodo be run inside an application server?
1.9.2. Which application servers does Kodo support?
1.9.3. How can I integrate Kodo's transactions with the application server's transaction?
1.9.4. Can I use JDO to implement my entity EJBs?
1.9.1.

Can Kodo be run inside an application server?

Kodo can be used in any J2EE compliant application server. Kodo integrates with managed environments (such as application servers) in a variety of ways, from synchronization with container managed transactions to support for accessing DataSources from JNDI.

1.9.2.

Which application servers does Kodo support?

Kodo supports any J2EE compliant application server. For ease of configuration and deployment, Kodo recommends (but does not require) using an application server that supports the Java Connector Architecture (JCA). Kodo has been tested with most popular application servers such as JBoss, BEA Weblogic, IBM Websphere, SunONE, Macromedia JRun, and Borland Enterprise Server. See Chapter 4, J2EE Tutorial.

1.9.3.

How can I integrate Kodo's transactions with the application server's transaction?

Yes. The JDO specification defines that a JDO compliant implementation will integrate its own transaction with the current global transaction of a managed environment.

1.9.4.

Can I use JDO to implement my entity EJBs?

It is possible to use Kodo to implement bean managed persistence (BMP) entity EJBs. However, doing so will introduce the performance penalties incurred by entity beans. The recommended pattern is to use session beans to perform fine-grained persistence operations with Kodo. To get started with using Kodo with EJBs, see Chapter 4, J2EE Tutorial.