10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3-6 View in Notes database showing FAQs and answersEach question document contains a question and answer, and also a field forpossible variations on the question. The ability to use this multi-valued field is apowerful feature of Domino’s full-text search functionality. Figure 3-7 shows asample question document.Figure 3-7 Sample question document showing variations and answerOnce the two Java class files (SametimeBot and FAQBot) have been deployedto a servlet engine, the bot can be started by requesting the URL of the FAQBotservlet in a browser:http://yourserver/servlet/FAQBotThis will call the init() method defined in the SametimeBot class, which willattempt to login the bot. Figure 3-8 on page 72 shows a buddylist with the FAQBot added to it.Chapter 3. Sametime Bots 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!