Skip to Content
0
Former Member
Nov 08, 2005 at 04:59 PM

JCA and EJB's

36 Views

Hi, can someone help me.

The code below is will give me a valid ConnectionFactory

But how do I configure the connection properties.

ConnectionFactory cf = (ConnectionFactory) ctx.lookup("java:comp/env/edward");

I can get a connection in two ways.

Connection conn = cf.getConnection();

or by adding some implementation of ConnectionSpec.

Connection conn = cf.getConnection(connectionSpecInstance);

ConnectionSpec is a Interface. So is there a class that implements this interface?

or

How do I configure the WAS. In order to use the

Connection conn = cf.getConnection();

B.T.W.

ResourceAdapterMetaData a= cf.getMetaData();

a.getAdapterShortDescription();

returns "SAP Connector for Portal Connectivity Framework"

Can someone tell me what liberies I need to add?

Thanx already