JCA Resource Adapter

JCA Resource Adapter

Overview

OPS4J Orient provides a JCA resource adapter for integrating OrientDB with Java EE 6 and 7 servers.

Features

  • @Resource injection of OrientDB connections.

  • Connections for document, object or graph databases.

  • Resource-local transactions.

  • Container managed transactions in EJBs.

  • Connection pooling by the application server. (Independent of OrientDB built-in pools.)

  • JNDI names for connection factories.

Non-features

  • XA transactions - this is out of scope as long as OrientDB does not support pessimistic locking.

Supported Servers

Java EE 6

  • GlassFish 3.1.2, 3.1.2.2

  • JBoss AS 7.1.3, 7.2.0

  • JBoss EAP 6.1.0

Java EE 7

  • GlassFish 4.1

  • WildFly 8.2.0.Final

Supported OrientDB versions

  • OrientDB 2.0.1 (bundled in the Resource Adapter Archive)

Caveat

orientdb-object-2.0.1 depends on a newer version of Javassist which is not compatible with older versions used by some of the supported servers. For this reason, the OPS4J Orient resource adapter is not usable unless you replace the Javassist module of your application server by a newer version. Use at your own risk!