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

What does action do in struts?

539


What is the purpose of plug-in tag in struct-config.xml?

496


What configuration changes are required to use Tiles in Struts?

570


What are different ways to create Action classes in Struts2?

593


What is role of actionservlet?

567






Which design pattern the interceptors in struts2 is based on?

494


Does apache struts run on windows?

536


What is container struts2?

529


State the procedure for using forward attribute of link tag’s.

544


What is apache struts cve 2017 5638?

550


What does apache struts do?

508


What are construction struts?

513


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4041


Can we use struts and spring together?

533


What is apache struts framework?

524