1 Reply Latest reply on Jul 12, 2002 1:41 PM by adrian.brock

    Catalina Optimized for JVM calls?

    nickduong

      Hi all,

      Just have a quick question.

      According to the JBoss 3.0 QuickStart pdf, the Web Integration section mentioned that the Jetty-JBoss integration is optimized for JVM calls. That is "the overhead of RMI is avoided when the servlet and EJB containers are run in the same JVM."

      I tried some test to see of this is true for Catalina. It appeared to be true. I printed out the hashCode from the EJB and then printed the hashCode again in the Servlet. They match!!!

      I just want to confirm that the JBoss-Catalina integration is optimized for JVM calls.

      Thanks,
      Nick

        • 1. Re: Catalina Optimized for JVM calls?

          Yes,

          No marshalling/serialization occurs between the
          web container and the ejb container in the same JVM.

          The ability to turn this optimization off for spec
          compliance when using remote interfaces was accidently
          removed for jboss3.0.0 :-)

          Regards,
          Adrian