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 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.