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
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
How action-mapping tag is used for request forwarding in struts configuration file?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What are the features of struts 2?
What configuration files are used in struts?
What is execute method in struts?
What is the difference between struts and spring? Explain
Give an alternative way to protect jsp’s with not much features from direct access.
How client side validation is enabled on a jsp form?
What is struts?
Why we use struts in java?
What do you mean by tiles in struts?
How many struts config file in a struts application?
What is the use of resourcebundle.properties file in Struts Validation framework?
what is ACID test for fresh engineers??what is the pattern??