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

What are the exceptions in jdbc?

923


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

963


What is jdbc thin client?

935


Is jdbc a protocol?

887


Explain the various types of locking system in jdbc?

841


Explain about DSN?

927


What are the standard isolation levels defined by JDBC?

1051


Is jdbc part of j2ee?

942


Explain what should be done when a SQL exception is raised?

937


Describe how the jdbc application works.

981


What are restrictions on triggers?

2169


How can I create a custom RowSetMetaData object from scratch?

955


Is there another way of dealing with the result set that could execute faster?

977


What protocol does jdbc use?

935


What is the role of the jdbc drivermanager class?

899