timeservice
example at
www.artima.com/jini/resources/timeservice.html
This tutorial (and the pages it contains) are covered by the OpenContent license. This basically gives you freedom to do what you want with the document in a similar way to the GNU license for software. Any changes that you make must be made publically available.
On the other hand, the programs that this tutorial references are also available unbundled from the tutorial, and do not have the restriction that source derived from them must be made publically available. So you can derive your own source code from them, without having to make it public. I'm not sure what suitable license will do this...
The author is currently on a sabbatical program at the CRC for Distributed Systems Technology, and the work reported in this tutorial has been funded in part by the Co-operative Research Centre Program through the Department of Industry, Science and Tourism of the Commonwealth Government of Australia.
This file is Copyright ©Jan Newmarch (http://jan.newmarch.name) jan@newmarch.name