|
From: <jas...@ma...> - 2004-10-28 14:39:13
|
On 28 Oct 2004, at 09:24, Oliver Geisser wrote: > Hi > > jas...@ma... wrote: > [...] > >> As part of the ActiveMQ project we've written a small, Spring based & >> easily embedded JCA container. Its just a few classes and is easy to >> use on any project, just depending on Spring and the JCA APIs. >> http://activemq.codehaus.org/JCA+Container > [...] > > I understand that this is mainly targeted at integrating JMS. > > But I wonder how to combine this with a TM like JOTM? FWIW there's an example in CVS now which uses JOTM directly for its TransactionManager. Just set the transactionManager property on the JCAContainer. > And a related question: does the JCA Container support JDBC CA > Datasources, too? The JCAContainer & JCAConnector classes have no JMS dependencies and so should work with any JCA ResourceAdapter. The only thing we've done is provide a default EndpointFactory which uses JMS by default; just set a different EndpointFactory on the JCAConnector bean and hey presto you're using anything else you like. > With other words: > > How does a combination of Spring + JOTM + JCA Container compare to > a J2EE/EJB Server? The biggest difference is there's no EJB :) James ------- http://radio.weblogs.com/0112098/ |