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 use of resourcebundle.properties file in Struts Validation framework?

990


Where should struts xml be placed?

865


How to upload struts file?

970


What applications use apache struts?

882


What are the two types of validations supported by validator framework?

973


What are interceptors in struts 2?

964


How to convert struts to spring mvc?

938


What is the life cycle of actionform?

967


Explain about struts relation to html tags?

907


What are the ways in which duplicate form submission can occur?

880


What is role of action class?

973


Does struts include its own unit tests?

961


What is a custom tag?

881


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1016


What is the purpose of @customvalidator annotation?

923