Container-Managed MDB calling Web Service

If I call a web service from my MDB, is the web service considered outside of the container management? More specifically, if that web service makes database transactions, is it responsible for commiting and rolling back those transactions?Thanks.RW
[270 byte] By [watts.ron@principal.coma] at [2007-10-3 4:54:44]
# 1

> If I call a web service from my MDB, is the web

> service considered outside of the container

> management?

Yes. In Java EE 5 there is no standard support for

flowing distributed transactions across web service

invocations.That is true regardless of what Java EE

component is acting as the webservice client : MDB,

SLSB, servlet, etc.There is some work going on

to add this support to the platorm.Here's a talk from

JavaOne on the topic :

http://developers.sun.com/learning/javaoneonline/2006/coreenterprise/TS-1603.pdf

>More specifically, if that web service

> makes database transactions, is it responsible for

> commiting and rolling back those transactions?

Yes.

>

> Thanks.

>

> RW

ksaksa at 2007-7-14 22:59:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...