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

Details

    • Clarification
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 1.0
    • 1.1.PRD
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: