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
Why do we need struts?
What is difference between spring and struts?
What is declarative exception handling in struts?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
Briefly tell the two kinds of form beans.
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
Is there a particularly good ide to use with struts?
How can forward action be used to restrict a strut application to mvc?
What is execute method in struts?
Which components are available using actioncontext map?
Which technologies can be used at view layer in struts?
Lists the bundled validators in struts?
What is difference between struts1 and struts2?
How many struts config file in a struts application?
What does it cost to replace struts?