But you can fake it by implementing a custom javax.naming.spi.ObjectFactory and returning an object implementing javax.resource.cci.ConnectionFactory. I have done this to mimick the Kodo JDO JCA adapter so that whether the app is running in Weblogic or Tomcat, I access the JDO persistence manager in exactly the same way....
public Connection getConnection()
{
return (javax.resource.cci.Connection) pmf().getPersistenceManager();
}note: KodoPersistenceManager implements javax.resource.cci.Connection which is why this works.
See: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html#Adding%20Custom%20Resource%20Factories
Jake
At 12:09 AM 2/4/2005 +0100, you wrote: >On Thu, 03 Feb 2005 18:04:00 -0500, Edmon Begoli <[EMAIL PROTECTED]> wrote: >> I understand that Tomcat is not a full J2EE app. server, but I would >> like to know if there >> are any options to deploy .rar JCA adapters on Tomcat 5.5.7? > >No, Tomcat doesn't support JCA, sorry. > >-- >xxxxxxxxxxxxxxxxxxxxxxxxx >R�my Maucherat >Developer & Consultant >JBoss Group (Europe) S�RL >xxxxxxxxxxxxxxxxxxxxxxxxx > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
