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
What are the classes used in struts?
What is the use of forwardaction?
Which design pattern the interceptors in struts2 is based on?
What is the purpose of struct-config.xml in struct2?
What are the sections into which a strut configuration file can be divided?
What is the purpose of form-beans tag in struct-config.xml?
What is dispatchaction?
How can duplicate form submission be handled in struts 2?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
List some bundled validators?
Why is action servlet a singleton in struts?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
What is the purpose of @urlvalidator annotation?
What is struts validator framework?
What are the main classes which are used in struts application?