As has already been outlined, JDO can be used with Servlets without needing to use a J2EE Connector Architecture resource adapter. In this case, the Servlet is the same as any other unmanaged JDO application. Likewise, if an EJB does not require container-managed transactions, then it is not necessary to use a J2EE Connector Architecture resource adapter.
Depending on needs, the Servlet or EJB can rely on the connection pooling provided by JDO implementation's PersistenceManagerFactory or instead configure an external connection factory using the ConnectionFactory or ConnectionFactoryName PersistenceManagerFactory properties. See Chapter 5 for more details on creating a PersistenceManagerFactory instance in this way.