What should be the behabior if I have 2 Statefull components as below:
@Statefull @Name("compo1") class Component1Bean ... { @Begin start() { //do something } @End end() { // end of conversation } yetAnotherMethod() { } } @Statefull @Name("compo2") class Component2Bean ... { @Begin start() { //do something } @End end() { // end of conversation } }
compo1.start(); // <- this creates the conversation compo2.start(); // <- what does this ? Creates a new conversation or not? compo2.end(); // <- this ends also converstaion started at compo1.start? compo1.yetAnotherMethod(); // <- this is still in the conversation created by compo1.start? compo1.end(); // <- this should end the first created conversation?