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

Can you explain struts.properties in struts2?

706


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

776


What is apache struts cve 2017 5638?

722


What are the sections into which a strut configuration file can be divided?

760


What are the struts2 configuration properties that control file uploading process?

816


What is the purpose of '@keyproperty'?

782


Are the struts tags xhtml compliant ?

705


Explain about the validation steps which have to be carried during validation of client-side address?

730


What is the actionform?

752


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

734


What are the major differences between html tags and strut specific html tags?

712


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

724


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

668


Which components are available using actioncontext map?

908


How to use forward action to restrict a strut application to mvc?

774