-
1. Re: why is my bean working in synchronus way
carpy1970 Jun 7, 2004 3:03 AM (in response to armandoxxx)I assume that what you're trying to prove is that the 2 clients can both access their instances of the beans simuletansously without blocking each other? If this is the case then it occurs to me that what your're doing is not a very good test of this. After all how long is it going to take a your computer to count to 100? Even if you fire off the requests almost simuletaneously, the first request received could be caught and and processed before the second request is received. I would try putting a pause of say a couple of seconds within your loop. This would then be a much more valid test (IMO).
-
2. Re: why is my bean working in synchronus way
armandoxxx Jun 7, 2004 3:23 AM (in response to armandoxxx)this was a stupid test .. I agree ..
the only think I wanted to know was if the request would perform in sync way or asycn way ..
bye
Armando -
3. Re: why is my bean working in synchronus way
armandoxxx Jun 7, 2004 3:25 AM (in response to armandoxxx)and since this bean does a lot of stuff .. like searching the database .. the practise would be really moronic if I had to wait for 10 users to complete the search and than my turn came out !
bye
Armando