
Originally Posted by
Amol Nayak
To answer your question if invocations on beans from different application context can be executed in one transaction? Yes, it is possible but will need to know your use case for that.
my scenario is sth like this :
Code:
confirmScenario(T entity){
localBean.validate(entity);
localBean.process(entity);
legacySystemA.validate(entity);
legacySystemB.process(entity);
externalPaymentService.doPayment(entity);
.
.
.
}
I want to know is there anyway to make this scenario transactional ?
communication with external systems is almost with Web Service, but in case of communication with our legacy systems we haven't decided yet, if special communication way such as JMS can help us and Web Service doesn't, we can use those communication methods.