Jencks is a lightweight JCA container which is easy to deploy inside Spring to provide Message Driven POJOs.
In addition Jencks supports inbound and outbound messaging using APIs like JMS, JAX-RPC, JBI and JCA CCI as well as providing an XA based pooling mechanism for JDBC. e.g. here is how to use Outbound JMS or Outbound JDBC.
Jencks by default reuses the Geronimo JCA connector, WorkManager and TransactionManager - though there are no fixed runtime dependencies on Geronimo so you should be able to use Jencks with JOTM and Jonas too - though we recommend the Geronimo implementations as they are heavily tested and support full XA recovery.
Getting Started
To get an idea for what Jencks can do try looking at the Message Driven POJOs.
Or to see how to work with Geronimo components in Spring, see the Transaction Manager or Work Manager sections.
Requirements
If you are already using Spring, to be able to use Jencks you just need the following jars on your classpath- jencks-all.jar
You may need to add some J2EE jars too. You may wish to add a compelete J2EE.jar (such as the geronimo-spec-j2ee.jar). If you are inside Tomcat, it doesn't like j2ee.jar on the classpath, so use the individual jars from Geronimo - e.g. geronimo-spec-j2ee-connector-*.jar for the JCA APIs
If you want to grab a J2EE specification jar we recommend the Apache repository
Adding a JMS provider
If you wish to use Message Driven POJOs you will need a JMS Provider and JCA Resource Adaptor. If you want to use an open source JMS provider we highly recommend ActiveMQ.
To use ActiveMQ you'll need the following jars (more details).
- activemq.jar
- activemq-ra.jar
If you are not already using Spring
Then you need to add the following jars
- spring.jar
- aopalliance.jar
News
Blog Posts
-
Blog post:
Jencks 2.0
created by
Jan 03, 2007
-
Blog post:
Jencks 1.3
created by
Sep 04, 2006
-
Blog post:
Jencks 1.2 Released
created by
Jul 12, 2006
-
Blog post:
Jencks has moved to Subversion
created by
Jun 07, 2006
-
Blog post:
Good article on Jencks
created by
Nov 23, 2005
