3 Replies Latest reply on Jun 20, 2003 9:52 PM by jonlee

    How to benefit from local interfaces?

    siegfried1

      How do I configure a GUI client to benefit from local interfaces?

      How do I configure Tomcat and Jetty to use local interfaces?

      Anybody got an example?

        • 1. Re: How to benefit from local interfaces?

          > How do I configure a GUI client to benefit from local
          > interfaces?

          GUI clients do not benefit from local interfaces.

          > How do I configure Tomcat and Jetty to use local
          > interfaces?

          There's nothing you need to do on the web-tier configuration.

          • 2. Re: How to benefit from local interfaces?
            siegfried1

            What kinds of programs are candidate benificiaries of local interfaces?

            Sounds like JSPs and servlets are. Anything else?

            Anybody know of any example source code?

            Thanks,
            Siegfried

            • 3. Re: How to benefit from local interfaces?
              jonlee

              EJBs that call other EJBs will also benefit from the local calls. The savings you get are:
              1. Pass by reference (memory use)
              2. Not over the wire (delay)
              3. No PortableRemoteObject (delay)

              Since all but the simplest applications have complex (chained) EJB logic, most applications will benefit from the middle-tier optimizations.