2 Replies Latest reply on Sep 8, 2004 10:16 AM by darranl

    local/remote interface

    doshiaj

      If I create a CMP entity bean with local and remote interfaces, and then I call this entity bean from within a session bean, the call made by JBoss from session to entity bean would be a remote call or a local call?

      Would there be any difference in behaviour of JBoss in case of versions 2.4, 3.0 and 3.2.3?

        • 1. Re: local/remote interface
          doshiaj

          Hello? Any clues?????

          • 2. Re: local/remote interface
            darranl

            Not sure about JBoss 2.x, within 3.x I think the call will be optimised so that it is local for both interfaces (The reason I am a little vague is because another user on here performed some profiling that seemed to sugest the calls were going remotely but I don't know all the details of their tests).

            It is however good practice to just use Local interfaces for entity beans to stop external clients manipulating them directly, also Local interfaces are required if you want CMR.