I created a web service that connects to universe db.
I used to connect uv stablishing a direct session and getting the result witth the response command like this:
session = Conn_d.getConnection();
cmdString = “EXTRA.PROGRAM.WS”;
command = session.command();
data_d = command.response().toString();
And it worked.
But now I’m working with a pool connection.
initContext = new InitialContext();
DataSource ds = (DataSource) initContext.lookup(“java:/comp/env/jdbc/universe”);
cn = ds.getConnection();
I stablished the connection, but I´m having troubles calling the “EXTRA.PROGRAM.WS” program trhough my ws.
What could be the equivalent to command.setCommand(cmdString) using the connection pooling?