Results 1 to 2 of 2

Thread: Remotely accessible & transaction-aware beans (XA)

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    3

    Default Remotely accessible & transaction-aware beans (XA)

    Hi all,

    (Context:: XA transaction through Caucho remoting protocol)

    I have a question regarding the transaction propagation when we use Spring for remoting.

    In fact I would like to use POJOs as service facades (then remotely accessible). For that I need to apply remote behavior on POJOs who are already transaction-enabled, in order to gain access to the distributed transaction.

    Is the transaction context given to those remotely accessible bean ?

    To summarize: Can we imagine decorating a TransactionProxyFactoryBean with a HessianProxyFactoryBean, for example ???

    Many thanks for your help.
    /xavier
    /xav

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Is the transaction context given to those remotely accessible bean ?
    Not out of the box. AFAIK, this is best handled by (gulp) EJB.

    The recent (excellent) Spring book, Pro Spring, indicates that it is possible to add remote transaction support (not sure how yet), but recommends EJB for remote transactions.

    Note that executing a single remote invocation will execute on the server in it's own local transaction. If you can do this, it may greatly simplify your solution.

Similar Threads

  1. Replies: 3
    Last Post: Nov 12th, 2005, 02:29 PM
  2. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  3. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  4. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  5. Transaction pb Hibernate/MySQL
    By syluser in forum Data
    Replies: 2
    Last Post: Aug 28th, 2004, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •