1. If the Databases support SSL (Oracle DB support this)
2. The DB driver support this (could be thin or a thick client)
Assuming OC4J is connecting to Oracle DB (which is configured to listen in SSL) here are the steps using Oracle JDBC thin driver.
For OracleAS, you could config SSL as the connection pool
properties, for example:
WLS to Oracle DB
For WLS, I don't see any doc for this type configuration. I don't
think it could be configured as the connection pool preperty.
However, these might work:
1) Specify the property in the java program as the following example:
//specify the properties object
java.util.Properties info = new java.util.Properties();
// Set the SSL version
// Set the wallet location
info.put ("oracle.net.wallet_location", "(SOURCE=(METHOD=file)
// Set the cipher suite
// Force dn to match service name
2) Using WLS SSL protocal, like submitting Context.SECURITY_PROTOCOL
= "ssl" along with in getting the JNDI initial context.
Copying Steve and Dave, they may have more infor on this.
Thanks to Frances Zhao for this information & let me know of your experience with this information.