Ejemplo n.º 1
0
 public String testConversation() {
   String value = bean.getValue();
   if (!"foo".equals(value)) {
     throw new IllegalStateException("bean's value was not foo");
   }
   return conversation.getId();
 }
Ejemplo n.º 2
0
  public String beginConversation() {
    conversation.begin();
    conversation.setTimeout(500);

    bean.setValue("foo");
    return conversation.getId();
  }