"Marc T. Calello" wrote:
>
> I believe that the JCA spec changed since the BlackBox sample
> ResourceAdapter
> was implemented. According to JCA 1.0 section 5.4.1.
> I should deploy and EJB with a ResourceReference tag that
> refers to the specific ConnectionFactory implemetation
> class for my RAR. Then, I can perform a JNDI lookup on that
> ConnectionFactory, and use it to actually get a connection to
> my EIS. With that said, will the RARDeployer still behave the same?
What change are you referring to? When you say JCA 1.0, do you mean the
public final draft?
> I notice that when I perform a JNDI lookup on java:/BlackBoxDS what I get
> back is
> an instance of a com.sun.connector.blackbox.JdbcDataSource, I was expecting
> to get back
> some sort of ConnectionFactoryImpl. Or do I get the ConnectionFactoryImpl
> back after
> I have deployed an EJB that references the ConnectionFactory?
You get back whatever object the resource adapter returns from
ManagedConnection.getConnection(). This should compatible with the type
you specified in your <res-type> tag, but I don't think this is enforced
in JBoss (and you're not using the java:comp/env namespace anyway).
What do you mean by "ConnectionFactoryImpl"?
Toby.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]