Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: API
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      20

      Description

      Currently we have apis for creating http listener and virtual servers. We need
      to add more apis that are commonly used.

      [Tracking bug; we talked about this with web container team.]

        Activity

        Hide
        Nazrul added a comment -
        Show
        Nazrul added a comment - <JF> Take a look at how Grizzly can be embedded: https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/http/embed/GrizzlyWebServer.html </JF>
        Hide
        Byron Nevins added a comment -

        Waiting for requirements from web team (Rajiv Mordani)...

        Show
        Byron Nevins added a comment - Waiting for requirements from web team (Rajiv Mordani)...
        Hide
        Byron Nevins added a comment -

        Web team came back with no requests for API items.

        Show
        Byron Nevins added a comment - Web team came back with no requests for API items.
        Hide
        Nazrul added a comment -

        Based on conversation with Rajiv, web team wanted to expose their Engine object
        in embedded. Rajiv to clarify the APIs.

        import com.sun.enterprise.web.WebContainer;
        import org.apache.catalina.Engine;

        @Inject(name="com.sun.enterprise.web.WebContainer")
        WebContainer wc;

        { Engine[] engines = wc.getEngines(); ... }
        Show
        Nazrul added a comment - Based on conversation with Rajiv, web team wanted to expose their Engine object in embedded. Rajiv to clarify the APIs. import com.sun.enterprise.web.WebContainer; import org.apache.catalina.Engine; @Inject(name="com.sun.enterprise.web.WebContainer") WebContainer wc; { Engine[] engines = wc.getEngines(); ... }
        Hide
        Nazrul added a comment -

        Please expose org.apache.catalina.Engine and associated objects as API. See
        Javadocs here:

        http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/Engine.html

        Show
        Nazrul added a comment - Please expose org.apache.catalina.Engine and associated objects as API. See Javadocs here: http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/Engine.html
        Hide
        Byron Nevins added a comment -

        Jennifer – I thought you were working on this?!?

        If not - reassign it to me...

        Show
        Byron Nevins added a comment - Jennifer – I thought you were working on this?!? If not - reassign it to me...
        Hide
        Jennifer Chou added a comment -

        Yes I have added the getEngines() method to the Server class.
        Jan and Jeanfrancois gave an example of how to use this to deploy a simple
        Servlet which I would like to try.
        Also, Nazrul followed up with Dhiru on webtier APIs. Nazrul requested him to
        assign someone to closely review this so that we can close on this issue. He
        will get back to us.

        Show
        Jennifer Chou added a comment - Yes I have added the getEngines() method to the Server class. Jan and Jeanfrancois gave an example of how to use this to deploy a simple Servlet which I would like to try. Also, Nazrul followed up with Dhiru on webtier APIs. Nazrul requested him to assign someone to closely review this so that we can close on this issue. He will get back to us.
        Hide
        Jennifer Chou added a comment -

        Web tier folks will expose the WebContainer API replacing some of the existing
        methods on Server, like createVirtualServer and createHTTPListener.
        Transfer to Rajiv - the web folks will work on this from embedded prelude branch.

        Show
        Jennifer Chou added a comment - Web tier folks will expose the WebContainer API replacing some of the existing methods on Server, like createVirtualServer and createHTTPListener. Transfer to Rajiv - the web folks will work on this from embedded prelude branch.

          People

          • Assignee:
            rajiv
            Reporter:
            Nazrul
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: