Topic
  • 1 reply
  • Latest Post - ‏2014-07-16T07:45:42Z by TrushkinAndrey
NeeleshShukla
NeeleshShukla
3 Posts

Pinned topic Invoke Stateful EJB from BPEL

‏2014-07-16T07:18:46Z |

Hi All,

I need to invoke stateful EJB from BPEL. BPEL supports WS-AT and EJB supports EJB-Transactions. I need to also span the transaction from BPEL to Stateful EJB. What would be the best possible way to do so?

Thanks.

  • TrushkinAndrey
    TrushkinAndrey
    72 Posts

    Re: Invoke Stateful EJB from BPEL

    ‏2014-07-16T07:45:42Z  

    Hi.

     

    I think, that the best way for stateful EJB usage is custom code, which you can call from snippet, because standard way is stateless EJB usage (it's service-oriented way).

    For transaction logic you should carefully design transaction style for BPEL process and separate activities.

     

    Andrey