Do you think I would be penalized for doing this..... I dont think so...
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Roel De Nijs wrote:If you decide to use RMI as networking protocol you don't have that guarantee and you need something like the clientId or some other alternative. But if you use sockets you don't need such an approach.
Roel De Nijs wrote:You could also make sure that subsequent calls made by a client are handled at the server by the same thread and then you can just use the id of the thread as a lockCookie.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
SCJA, OCPJP, OCMJD
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |