how we can remove hard code in java?
Answer / sreenivas
by using command line arguments and System properties .
by using the command line arguments ,we can pass the values
from the command line as well as with same order with same
order .but in System properties, we can pass the values in
any order by using System.getProperty() meethod and pass
the values from the command line we specify the option -D
and followe by variable name=value.
| Is This Answer Correct ? | 19 Yes | 5 No |
What is ojdbc14 jar?
What do you mean by two phase commits?
Hi to all.. well i want to make a standalone application which can use the concept of connection pooling, constraint is that i have not to use any application server like weblogic etc. Please help me out. Thaks in advance.
Is possible to open a connection to a database with exclusive mode with JDBC?
After creating conntinpool in weblogic how to write the code in programe where i can use that pool object in the programe connecting to the database and how to debug programe withou eclipse
how to use CallableStatement? specially how to use their index given ..
What is jdbc driver for sql server?
What is jdbc url for mysql?
When do we get java.sql.SQLException: No suitable driver found?
What is difference between odbc and jdbc?
Why do we use jdbc statements?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?