I am working on a system that needs to update a web service (WS) and a database 
(DB) within a single transaction. Since the WS is non transactional, I make an 
update to the DB first, then make a call to the WS; if the WS succeeds the DB 
update is committed (DBC). 

Details: 

Client makes a call to a stateless session bean. The ssb uses container managed 
transactions. 
The session bean updates an entity bean. 
The session bean then makes a call to the web service. 

This approach works well except in the following scenario: If there is a 
network problem during DBC the WS and DB get out of sync. 

Does anyone know if it is possible to configure JBoss to continue to retry the 
DBC in the event of a network problem? 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033421#4033421

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033421
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to