on 11-08-2005 4:59 PM
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
Hi,
You have to add the conection jar files in the java build path of your project in the studio and so your class path will be setup.
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.