David Van Couvering wrote: > I did notice that when a client connects to the network server, there > is code that creates a connection number by incrementing a variable in > DB2jServerImpl (it's disconcerting that it's not synchronized),
I think perhaps the reason it is not synchronized is because there is just one ClientThread object listening on the socket, assigning connection numbers and creating connections. > So, I am leaning towards the increment approach for generating a new > connection id rather than using UUID, especially since it will work in > the client code as well. Sounds good to me from a usability perspective. When forced to pour over a trace I find it much easier to tell 1 from 2 than one UUID from another. Kathey
