Give dbConnection to Java Service

I have a Java Service that is “called” from a Flow, in the Flow a Database Connection is opened and I want to give the dbConnection to the Java Service.

I have no Idea how I can solve this.

Thanks for your help

I am looking at the same problem. I was hoping that the webMethods Java API might provide methods to access the JDBC Adapter Connections, from a Java service. But it looks like this is not possible.

I am having the Same Scenario but I am trying to connect to DB2.
how can i use the db2Alias to connect DB2

i am not able to find an ConnectionManager Class or getNamedConnection()

Any help is greatly appriciated.