xmppjca project is a JCA 1.5 resource Adapter for managing connections to a XMPP (aka jabber) server from a J2EE application server (for instance JBoss). The resource adapter has been written to conform to the JCA 1.5 specification but only JBoss has been tested. The RA uses the smack API to connect to XMPP servers.
The connector supports multiple connections to multiple servers and provides an abstraction of the underlying smack api that in addition to connection management provides support for extensions from su-smack which includes support for JEP-0060 aka publish subscribe.
Currently the RA only supports container managed security. Future versions will support bean managed security using JAAS. The goal is eventually support single-sign-on using SASL+GSSAPI to XMPP servers which support this mechanism.
Currently the RA does not support transactions. The precise way in which this will be supported is a matter of debate.
The project consists of two parts - xmppjca and xmppjca-spec. Build both artifacts. Deploy the rar-file in your J2EE-server. In a standard JBoss- installation this means copying the rar-file to $JBOSS_HOME/server/default/deploy. The xmppjca-spec-< version >.jar should be placed in the classpath of clients who need to use the resource adapter. In a standard JBoss-installation the easiest way is to copy the file to $JBOSS_HOME/server/default/lib. In most situations the application server will hotdeploy the rar-file but not the jar- file so a restart is needed whenever you update the spec-file.