aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How to produce the clientID ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "How to produce the clientID ?" Watch "How to produce the clientID ?" New topic
Author

How to produce the clientID ?

Zhou Can
Ranch Hand

Joined: Sep 12, 2002
Posts: 34
In server side , we need a client ID to identify who lock a record . So , we must supply a way to produce the client ID . How about your ways ?
I use the client side machine name . Is it OK ?
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Zhou Can:
I use the client side machine name . Is it OK ?
Does the client machine necessarily have a name, or could it only have an IP? Are you excluding the possibility that multiple clients may be run on a Unix server or Windows Terminal Server? You could make this an assumption for your design -- the requirements are not explicit either way. It's rather less than ideal however. There are better ways. Searching through this forum will give you plenty of inspiration (do a search on "connection").
- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to produce the clientID ?