Building the Channel Component

Now that some basic techniques have been covered, we can move on to apply them to our sample application, ChatRoom. From the earlier description, we can see that the application has been partitioned into five primary components. One of the five components is a third-party JMS implementation. Of the four remaining components, the common, client, and server components are domain-specific. The Channel component is infrastructure that may be reused by other applications.

The requirements for Channel were derived from the requirements for ChatRoom. Although Channel may be reused in the future, only ChatRoom is currently using it. Therefore, the task of building and maintaining Channel rightfully falls within the realm ...

Get Ant Developer’s Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.