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 / krish

By implementing the class with SingleTheeadModel interface.
(Or) by writing the separate synchronized methods for insert
and retrieve methods. (or)by avoiding to declare Connection
object as instance variable.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between filters and interceptors ?

1248


What is the use of struts config xml file?

938


What is the difference between empty default namespace and root namespace?

1208


Are interceptors and filters different?

1115


What are inner class and anonymous class?

1047


What do you mean by actionform?

1020


What is the purpose of @urlvalidator annotation?

1030


What are the major differences between html tags and strut specific html tags?

980


How to display validation errors on jsp page?

1060


What do you mean by tiles in struts?

1075


Explain the complete struts validator framework.

1075


What helpers in the form of jsp pages are provided in struts framework?

1030


Is struts efficient?

972


How does struts work?

1034


Explain about how requests from the client are sent?

1088