Appendix B. Example Code

The first rule of magic is simple: Don’t waste your time waving your hands and hoping when a rock or a club will do.

—McCloctnik the Lucid

The following pages contain the complete code for the examples used in the introductory chapters of this book. The sources are listed in alphabetical order by the full name, including the package name. For your convenience, here is a mapping from the simple class name to its fully-qualified class name:

ChatMessage........... chat.ChatMessage

ChatProxy............. chat.ChatProxy

ChatServer............ chat.ChatServer

ChatServerAdmin....... chat.ChatServerAdmin

ChatServerImpl........ chat.ChatServerImpl

ChatSpeaker........... chat.ChatSpeaker

ChatStream............ chat.ChatStream

ChatSubject ...

Get Jini™ Specifications, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.