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

Which interceptor is responsible for file upload support?

1031


State an example of struts configuration file as an action parameter for action servlet.

1007


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

982


What is the difference between struts and spring? Explain

911


Explain the components of struts?

975


What is the purpose of @stringlengthfieldvalidator annotation?

1102


What validate() and reset() method does ?

1098


What do you mean by ognl?

1002


What is the use of form bean in struts?

914


What applications use apache struts?

942


How duplicate form submission can be controlled in struts?

1120


How we can controlled duplicate form submission in struts?

951


What is actionform in struts?

1016


For a single Struts application, can we have multiple struts-config.xml files?

987


How tag libraries are defined in Struts?

996