2 Replies Latest reply on May 3, 2010 11:09 AM by Andrew Rubinger

    ServletMethodExecutor in GlassFish Embedded Container

    Andrew Rubinger Master

      Because GlassFish Embeded runs in-VM, is there a reason we don't use LocalMethodExecutor here in GlassFishEmbeddedContainer.deploy?

       

      try 
            {
               return new ServletMethodExecutor(
                     new URL(
                           "http",
                           "localhost",
                           configuration.getBindPort(), 
                           "/")
                     );
            } 
            catch (Exception e) 
            {
               throw new RuntimeException("Could not create ContianerMethodExecutor", e);
            }

       

      S,

      ALR