Java Reference
In-Depth Information
address of . Even though this appears to be an e-mail
address, Wave uses an HTTP mechanism to contact the robot.
Follow the steps in the next exercise to complete the robot. Once you have copied
the code into the appropriate files, we'll go through the major functions in more
detail. When you've completed the exercise you should see a directory structure that
resembles the one shown in Figure 9-10.
Figure 9-10. The desired application structure
Creating the Google Wave Robot
The following steps will complete your Google Wave Robot. You need to create a servlet to
respond to the HTTP POST requests from Wave, a servlet to describe your robot to Wave, and
some configuration files for Wave. After you've copied the following code to the newly created
files, you'll test out the Wave Robot, and then we'll examine the code in more detail.
Search WWH ::

Custom Search