How Do I: Add Support for Conversations?

You can use Design View in WebLogic Workshop to add support for a conversation by choosing the methods, callbacks, and callback handlers that will participate in the conversation, and then setting the conversation phase attribute for those items.

Note that adding conversation support assumes that state-related data is held in member variables whose types support serialization. WebLogic Workshop uses serialization to save state-related data between communications with clients and resources. In most cases, you may find that supporting serialization requires no extra effort on your part. For more information, see Supporting Serialization.

To Add Support for Conversations in Design View

1. In Design View, click the method that will begin this conversation.

2. In the Properties pane, expand the conversation property.

3. From the drop-down list corresponding to the phase attribute, select start.

4. For each method and callback that will participate in the conversation, set the conversation phase attribute to continue.

5. Click the method or callback that will finish this conversation, then set the conversation phase attribute to finish.

Related Topics

Overview: Conversations