on Jun 18th, 2010Chapter 10 Errata
To make it easier to run the examples in standalone mode, we recommend running a local XMPP server and running the Eliza bot locally as you work through the examples. Here are the steps:
- Download the Openfire server, install, and run it.
- Using the admin web ui for Openfire, add 2 users: ‘eliza’ and ‘reader’. Set their respective passwords to ‘secret’.
- Load the sample code for Chapter 10 and select the ‘org.eclipsercp.eliza’ project and from the context menu click Run As > Eclipse Application. This will start eliza and from the Openfire admin ui you should see her as logged in now.
- The Eliza bot will now be part of the sample code for Chapters 10 and on.
From this point on, you can continue with the sample code an use your machine name (e.g., localhost) instead of ‘eclipsercp.org’ in all code that connects to the server.