While wM 8 also has adapter service template to pass on Connection to a java service from the Adapter pool, its not much useful while using Types, especially Oracle Types. The DB Connection object passed is a proxy object and cannot be used within java service to register for Oracle Type. We need a OracleConnection object, which is having additional features to handle Oracle Types (VARRAY or STRUCT). So, better write a java service.
For connection pooling, you can use any open source connection pooling mechanism, such as c3p0, dbcp or Oracle’s.
#webMethods#Integration-Server-and-ESB