Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-180

Clarify request context lifecycle during remote method invocation of EJB

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Major Major
    • 1.1.PRD
    • 1.0
    • None
    • None

      CDI 1.0 spec states in 6.7.1. Request context lifecycle:
      "The request scope is active: during any remote method invocation of any EJB" and "The request context is destroyed: after the EJB remote method invocation"

      However it doesn't cover various invocation scenarios. For example it's possible to do in-VM invocation (via remote interface) from the same deployment or from a different deployment. Is the request context shared in this case? Will be destroyed after the EJB remote method invocation?

      Also take into account that application servers often do optimization and handle remote interface calls in a local interface manner within the same JVM.

            bergmark_jira Joe Bergmark (Inactive)
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: