Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-871

Invocation on nested SFSB does not trigger replication of parent context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AS 4.2.0 GA
    • EJB 3.0 RC9 - Patch 1
    • Clustering
    • None

      An invocation on a clustered @Local nested SFSB causes the replication of the ProxiedStatefulBeanContext. This object does not actually hold the bean instance's state, so replicating it is meaningless.

      When a nested bean is involved, what should be replicated is the context that represents the ultimate parent of the tree of nested beans.

      Need to handle the case of nested invocations, i.e. a call to one bean in the tree results in a call to another. In this case the replication should only occur when the outer call completes. An inner call should only mark the parent bean context as needing replication.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: