Forums Register Login
1 How control the concurent users?
Suppose I have 4 concurent users but I want for the pariculer time one request should be handled.
2How can i make the bean syncronization?
It sounds like you're asking how to create a critical section of code. In Java, that's very easy. Just use the key word "synchronized". It's typically used to synchronize an entire method, by you can also synchronize a block of code if you want.
There can be 2 ways of doing this. Either make the method synchronized by using the keyword 'synchronized' or use the synchronized statement that allows u a finer granularity of locking.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

All times above are in ranch (not your local) time.
The current ranch time is
Oct 16, 2017 20:44:14.