Sun Java Communications Suite 2005Q4 Evaluation Guide

The Instant Messaging Demo

Now return to the Portal Server desktop demo (Communications Suite Through Portal Server) where Instant Messaging was presented as a channel within the Portal Server desktop. The channel displayed all of Duncan's online buddies.

In this section, you start the Sun Java System Instant Messaging client, Instant Messenger, and use it on its own. Like Sun Java System Messaging Server and Sun Java System Calendar Server, Sun Java System Instant Messaging is also standards based. Java System Instant Messaging uses the XMPP protocol, which is an IETF standard also referred to as the Jabber standards. Because the Instant Messaging server and client communicate using XMPP, they can interoperate with any other XMPP-compliant server or client.

ProcedureTo Chat

Before You Begin

Robert is already logged in as a Gaim user and Kathy is logged in as a Sun Java System Instant Messaging user. For more information about Gaim, see To Create Sample Instant Messaging Data. You access the Portal Server desktop as Duncan.

  1. From the Portal Server desktop channel, start Instant Messaging by clicking the Instant Messenger link in the channel.

    The Instant Messaging window appears with a list of Duncan's contacts and contact groups. If there are no contact groups, you can create one later.

  2. From Duncan's Instant Messaging window, double-click the presence icon for Robert to initiate a chat with this online buddy.

  3. Start chatting with Robert.

    Robert's name appears in a tab in the chat window. You can change the text font, size, color and more while chatting. Instant Messaging also supports emoticons and file attachments.

  4. From Duncan's buddy list, start a chat with Kathy by double-clicking on Kathy's presence icon.

    Duncan's chat window now shows two tabs: one for Robert and one for Kathy. You can have multiple simultaneous chat sessions from the same chat window through this tabbed interface.

  5. Continue with the next task.

ProcedureTo Manage Individual and Multiple Buddy Chat Sessions

Use this procedure to end one chat session while keeping other chat sessions active.

  1. In Duncan's chat window, click the tab for Robert.

  2. Click the File link and select Leave.

  3. Approve any verifications.

    This does not affect your chat session with Kathy.

  4. Chat more with Kathy.

  5. Continue with the next task.

ProcedureTo Invite Others to Chat

You can invite others to join your current chat window.

  1. In Duncan's chat window, click Invite Users to Chat (icon of a person's head).

  2. Invite Robert to rejoin the chat then click OK.

    To invite Robert, you can either select his name from the Contacts List and click the Add button; or, you can enter his name or User ID in the appropriate field.

  3. Type an invitation such as Welcome and click OK.

  4. As Robert, click Accept to accept the chat invitation.

    Robert is now part of the chat room. This is a dynamic conference room which is different from the persistent conference rooms you will explore later.

  5. Close Robert's chat window and quit Gaim.

  6. Close all other chat windows from Duncan and Kathy.

    Do not quit the Instant Messaging applications for Duncan and Kathy.

  7. Continue with the next task.

ProcedureTo Create Alerts and Polls

Alerts are pop-up notifications that can be sent to others. Polls are instant surveys that can be sent to others.

  1. From Duncan's main Instant Messaging window, select Kathy and choose Alert from the Tools drop-down menu.

    The Send Alert window appears.

  2. Type a subject and compose your alert message.

    You can vary the text font, color, place an image, and more.

  3. Select the Show Delivery Status check box and click Send.

    The alert appears.

  4. Close all alert windows.

  5. From Duncan's main Instant Messenger window, select Kathy again.

  6. Choose Poll from the Tools drop-down menu.

    The Poll Users window appears.

  7. Type a poll question.

    To change the available answers, highlight the existing answers and remove them. Click Add Answer to add your own answers.

  8. When your poll question is complete, click Send.

    The poll question is sent. As the poll sender, Instant Messaging informs you of the recipients' answers to the poll.

  9. Continue with the next task.

ProcedureTo Create Conference Rooms

No conference rooms exist for you to subscribe to. However, at the beginning of this evaluation, you used Access Manager to grant Duncan permission to create conference rooms, so you now exercise this functionality to create a few conference rooms.

Note –

Users Tina and Kathy do not have permission to create conference rooms. You can modify their permissions by using Access Manager.

  1. In Duncan's main Instant Messenger window, click the Conferences tab. In Kathy's main Instant Messenger window, click the Conferences tab.

  2. In Duncan's Instant Messenger client, choose Manage Conferences from the File drop-down menu.

    The Manage Conferences pop-up window appears.

  3. Click New Conference to create a conference room.

    You are asked for a conference room ID and name. For simplicity, choose the same name for both the ID and the name, for example, ID: Stocks, name: Stocks).

  4. Change the Default Access to WRITE then click OK.

    The Manage Conferences pop-up displays the new conference room.

  5. Click the New Conference button a second time to create a moderated conference room.

  6. When prompted for ID and name, type moderated, leave the Default Access at READ and click OK.

    The Manage Conferences pop-up window displays the new conference room.

  7. As Kathy, click Add Conferences to add a conference room to the list of subscribed rooms.

    The Add Conferences pop-up window appears.

  8. Click Browse Conferences to get a list of all available conference rooms.

  9. Select any conference other than the moderated room, for example, select Stocks, and click OK.

    The selected room appears in the Add Conferences window.

    1. Click OK to add the conference in the Conferences tab.

    2. Make sure that both Duncan and Kathy have the same conference in their main Instant Messenger window.

  10. As Duncan, double-click the name of the conference to join it.

  11. As Kathy, double-click the name of the same conference.

    Now both members can chat in this conference room.

  12. Continue with the next task.

ProcedureTo Moderate Conference Rooms

Because Duncan created the moderated room, he is the moderator by default. He can add additional moderators by giving them Manage access.

  1. Close all chat windows for both Duncan and Kathy.

  2. As Duncan, double-click the moderated conference room.

  3. In Kathy's Instant Messenger window, double-click the moderated conference room.

    Notice that Kathy's chat window behaves differently than Duncan's window. Kathy has only read permission, but Duncan has read, write, and moderate permission.

  4. In Duncan's chat window, choose Moderate from the File menu.

    Both Kathy's and Duncan's windows change. Resize the corner to change the vertical size of Duncan's window to see all of the options.

  5. As user Kathy, type in a chat message and send it.

  6. As user Duncan (the moderator), accept the message.

    To accept the message, highlight it and click Accept.

    Upon accepting it, the message appears in the main chat portion of the window for all participants to see.

  7. Continue with the next task.

ProcedureTo Define Access and Privacy Filters

Users can define their own privacy filters that can be used to block Instant Messaging from certain individuals or prevent users from seeing another user's presence status.

  1. As Duncan, choose Settings from the Tools menu.

  2. Select the Privacy tab.

    A short list of Privacy Profiles have already been defined.

  3. Click New Profile to add a new privacy profile.

    The New Profile pop-up window appears.

    1. In the Name field, type PriorityIM and check the Only Users in My Contacts radio button.

      Checking the radio button limits the presence updates to only those users in Duncan's contact list.

    2. Under Block Instant Messages From, check the Only These Users radio button and click Add to define a list of users whose instant messaging traffic you want to block.

      The Block Users pop-up window appears.

    3. In the Name field, type Test and click Find Recipient.

    4. Select the Test user and click OK to add this user to the blocked list.

      The Test user appears in the Only These Users list in the New Profile window.

  4. Click OK to create the PriorityIM privacy profile.

    This new profile appears in the list of available privacy profiles. You can select any profile to activate it.

  5. Click Close to close the Settings window.

    You have now completed the basic evaluation demos. You can continue with a look at more advanced Communications Suite features described in Chapter 4, Communications Suite Advanced Features