Samual Harvey<br />SCJP2<br />SCJD2
What is the best approach to test the multiple clients doing search and booking. I have used RMI and have done a lot of testing using 2-3 users booking at the same time same flight number. Do I have to really create multiple threads to perform this test.
Samual Harvey<br />SCJP2<br />SCJD2
But by creating multiple threads the same client tries to book the same flight multiple times and if the methods performing the booking operations are not synchronized then it may lead to the abnormal results.
Samual Harvey<br />SCJP2<br />SCJD2
Can you all look at the following code and tell me if I am doing anything wrong.
Samual Harvey<br />SCJP2<br />SCJD2
I tried using all these and still the same problem
Samual Harvey<br />SCJP2<br />SCJD2
Samual Harvey<br />SCJP2<br />SCJD2
Don't get me started about those stupid light bulbs. |