views:

27

answers:

0

I'm exposing my EJBs (3.0) as Web Services deployed to JBoss AS 5.1 (using annotations @WebService ,etc). I 'm very satisfied with JBoss's transaction management, especially automatic rollbacks on exceptions.

My question is, will Web Service endpoints also behave the same way as remote/local EJBs? or would I lose the Container Managed Transactions if I expose EJBs as Web Services? If so, any alternatives? I have heard of WS-AT and WS-BA but they seem rather complicated. Thanks!