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


Please Help Members By Posting Answers For Below Questions

Why are struts tightly coupled?

576


What are the contents on web.xml in struts application ?

503


What is the purpose of @doublerangefieldvalidator annotation?

544


Who makes the struts?

535


Explain about struts dispatch action?

540






What is includeaction?

570


What is the use of lookupdispatchaction?

551


What is the actionform?

567


What is lookupdispatchaction?

545


List the important attribute and elements of action mapping under struts.

518


What are the components of struts framework?

575


What types of validations are available in xml based validation in struts2?

539


What does validation interceptor?

539


What is the significance of logic tags in Struts?

568


What’s the utilization of resource bundle properties file in struts validation structure?

614