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
How exceptions are handled in struts application?
How action-mapping tag is used for request forwarding in struts configuration file?
How is the action mapping specified?
Which library is provided by struts for form elements like check boxes, text boxes etc?
What are the two different types of validations that the validator framework supports?
Which class of struts is responsible to converts data types from string and vice versa?
what is meant by Struts Validator Framework?
What is actioninvocation?
What’s the difference between struts and turbine?
How can we work with error tags?
What is the difference between validation.xml and validator-rules.xml files in struts?
What are the benefits of Struts framework?
What is the purpose of @results?
What’s the difference between struts and espresso?
Explain about the validation steps which have to be carried during validation of client-side address?