EJB 3.0
  1. EJB 3.0
  2. EJBTHREE-2110

Add flag to enable an optimization to skip serialization/deserialization of Remote interfaces running locally

    Details

    • Component Fix Version(s):
      1.3.3, 1.5.0
    • Similar Issues:
      Show 10 results 

      Description

      When an application uses a remote EJB3 interface the call is serialized and deserialized. While mandated by spec this is unnecessary if the EJB is running in the same JVM as the calling client. Having the option to skip serialization would bring JBoss inline with other major JEE vendors. Performance tests on a transactional application that has all business logic in stateless session bean methods is showing 20% cpu overhead just for the serialization. Having 20% more production CPU capacity is more important than claiming strict EJB3 compliance. JBoss AS response times are better too.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Carlo de Wolf added a comment -

            The patch creates a global configuration item which can be enabled by setting system property "org.jboss.ejb3.IsLocalInterceptor.passByRef" to true.

            Show
            Carlo de Wolf added a comment - The patch creates a global configuration item which can be enabled by setting system property "org.jboss.ejb3.IsLocalInterceptor.passByRef" to true.
            Hide
            jaikiran pai added a comment -

            Patch applied to ejb3-core 1.3 branch http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/branches/jboss-ejb3-core-1.3/ as well as EJB3 trunk.

            Show
            jaikiran pai added a comment - Patch applied to ejb3-core 1.3 branch http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/branches/jboss-ejb3-core-1.3/ as well as EJB3 trunk.
            Hide
            Carlo de Wolf added a comment -

            jboss-ejb3-core-1.3: rev 106978
            trunk: 106979

            Show
            Carlo de Wolf added a comment - jboss-ejb3-core-1.3: rev 106978 trunk: 106979
            Hide
            Sergiu Pienar added a comment -

            How can the patch be applied?

            Thank you.

            Show
            Sergiu Pienar added a comment - How can the patch be applied? Thank you.
            Hide
            Dennis Reed added a comment -

            There's a typo in the property name in Carlo's comment.
            It should be "org.jboss.ejb3.remoting.IsLocalInterceptor.passByRef"

            Show
            Dennis Reed added a comment - There's a typo in the property name in Carlo's comment. It should be "org.jboss.ejb3.remoting.IsLocalInterceptor.passByRef"
            Hide
            Sergiu Pienar added a comment -

            Is this patch embedded into JBoss 7 ?

            Show
            Sergiu Pienar added a comment - Is this patch embedded into JBoss 7 ?
            Hide
            Mike Miller added a comment -

            Hoping against hope - any chance this code made it into JBoss 4.2.3.GA for EJB3? Testing migration from EJB 2.x to 3.0 and this may be big.

            Show
            Mike Miller added a comment - Hoping against hope - any chance this code made it into JBoss 4.2.3.GA for EJB3? Testing migration from EJB 2.x to 3.0 and this may be big.

              People

              • Assignee:
                Carlo de Wolf
                Reporter:
                Ben Schofield
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development