They are created in the same way.
If you are using a type-4
JDBC driver then just change the hostname of the database to connect to.
If you are using a type-2 JDBC driver then you will need the Oracle OCI client installed and you will need to configure the database connection in tnsnames.ora (use Net8 Assistant). Once this is done then just add the Connection Pool in WebLogic like you did before.