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

How exceptions are handled in struts application?

538


How action-mapping tag is used for request forwarding in struts configuration file?

586


How is the action mapping specified?

556


Which library is provided by struts for form elements like check boxes, text boxes etc?

512


What are the two different types of validations that the validator framework supports?

531






Which class of struts is responsible to converts data types from string and vice versa?

667


what is meant by Struts Validator Framework?

567


What is actioninvocation?

544


What’s the difference between struts and turbine?

558


How can we work with error tags?

554


What is the difference between validation.xml and validator-rules.xml files in struts?

513


What are the benefits of Struts framework?

564


What is the purpose of @results?

586


What’s the difference between struts and espresso?

506


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

547