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
Does struts include its own unit tests?
What are the two scope types for formbeans?
Which library is provided by struts for form elements like check boxes, text boxes etc?
What is the purpose of plug-in tag in struct-config.xml?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is the purpose of @validations annotation?
What is the difference between struts and spring? Explain
What is the purpose of @result annotation?
What is validate() and reset() functions?
Which class of struts is responsible to converts data types from string and vice versa?
Are interceptors and filters different?
Can you explain aware interfaces in struts2?
What is structs 2 validation framework?
What is the purpose of dispatcher result type?
What is the default location of result pages and how can we change it?