Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Jdbc-odbc bridge is multi-threaded or not?

910


How can you retrieve data from the resultset using jdbc?

990


How can we maintain the integrity of a database by using jdbc?

983


Is jdbc a web technology?

844


What are the conditions applies to varchar variable, when using in procedures?

2083


What is jdbc dialect?

864


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

993


What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?

903


How does jdbc driver work?

924


How can I get or redirect the log used by DriverManager and JDBC drivers?

883


What is jdbc thin client in oracle?

844


Explain the role of driver in jdbc.

938


What do you mean by metadata and why we are using it?

967


Discuss the significances of jdbc.

867


How many types of statements are there in jdbc?

864