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...

we have two applications A1 & A2 both are accesing the same
databse table employee at the same time how we will manage
this so that both application can get the correct no of
emloyee while A1 is inserting a employee at the same time
while other applicatuion is getting the empployee list.

Answer Posted / shaik baji

If it is a simple and small application synchronize the
Connection object other wise set the lock on the respective
table.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the classes used in struts?

1092


What is the use of forwardaction?

1017


Which design pattern the interceptors in struts2 is based on?

924


What is the purpose of struct-config.xml in struct2?

979


What are the sections into which a strut configuration file can be divided?

1053


What is the purpose of form-beans tag in struct-config.xml?

913


What is dispatchaction?

1100


How can duplicate form submission be handled in struts 2?

989


Explain the difference between dispatchaction and lookupdispatchaction in struts?

6361


List some bundled validators?

994


Why is action servlet a singleton in struts?

1094


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

916


What is the purpose of @urlvalidator annotation?

993


What is struts validator framework?

994


What are the main classes which are used in struts application?

982