Originally posted by Ko Ko Naing:
You might find the following link helpful for you...
http://sales.esicom.com/sales/oracle/java.816/a81354/samapp9.htm
In the document Ko Ko posted a link to, there's this code sample:
What struck me in the eye was that this code doesn't specify
where the database server is or
which database to connect to. Is there some kind of default-to-localhost mechanism in Oracle's
JDBC DataSource implementation?
PS. They do have
another sample where the server name, port number and database name are explicitly set: