what is the best way, in terms of performance, to do
multiple insert/update statements, a PreparedStatement or
Batch Updates?
Answer Posted / nirmal
The easiest way is to use RMI to start the app and check to
see if it's already running.
The basic structure is this:
The main method of your app checks the RMI registry to see
if the app is started. If so, exit.
Otherwise, the main creates an instance of the app (which
is a remote object) and registers it in the RMI registry.
The class' constructor creates the GUI and displays it.
Alternatively, you could create a "start" method that you
call via RMI to start the app.
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Jdbc-odbc bridge is multi-threaded or not?
How can you retrieve data from the resultset using jdbc?
How can we maintain the integrity of a database by using jdbc?
Is jdbc a web technology?
What are the conditions applies to varchar variable, when using in procedures?
What is jdbc dialect?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
How does jdbc driver work?
How can I get or redirect the log used by DriverManager and JDBC drivers?
What is jdbc thin client in oracle?
Explain the role of driver in jdbc.
What do you mean by metadata and why we are using it?
Discuss the significances of jdbc.
How many types of statements are there in jdbc?