Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6635

EJB2 CMB beans: ejbActivate callback is called after the bean creation

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: EAP 6.1.0.Alpha (7.2.0.Final)
    • Fix Version/s: None
    • Component/s: EJB

      Description

      Called ejbActive after the create() call on home interface is incorrect by spec.

      10.1.3
      There are two possible transitions from the pooled to the ready state: through the ejbCreate<METHOD> and ejbPostCreate<METHOD> methods, or through the ejbActivate method. The container invokes the ejbCreate<METHOD> and ejbPostCreate<METHOD> methods when the instance is assigned to an entity object during entity object creation.
      The container invokes the ejbActivate method on an instance when an instance needs to be activated to service an invocation on an existing entity object—this occurs because there is no suitable instance in the ready state to service the client’s call or the ejbTimeout method.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                wdfink Wolf-Dieter Fink
                Reporter:
                wdfink Wolf-Dieter Fink
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: