Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-524

axis module is not consistent with new jetty deployer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 1.0-M4
    • Component/s: webservices
    • Labels:
      None

      Description

      The axis module deployment of POJO web services doesn't work with the new jetty deployer. Relevant tests are disabled.

      To solve this, I suggest:

      1. determining which parts of axis have exactly one instance per vm. Write a gbean for each major axis singleton component that instantiates and completely configures each one of these parts of axis. The instantiation and configuration of the axis component should occur in the constructor of the gbean. Include these gbeans in the j2ee-server-plan.xml.

      2. Determine which parts of axis have exactly one instance per web service application. Write a gbean to instantiate and configure each one of these parts of axis. They will be set up by the axis builder

      3. Determine which parts of axis have exactly one instance per web service. I don't know exactly what this means but I think it is per POJO or ejb that can be invoked by a web service. Determine if these have a separate lifetime from JettyServletHolder and openejb GenericEJBContainer. If so, write separate gbeans. If not, determine if extensions to the existing container classes are needed, and if they are needed, write them. In any case, these gbeans will be set up by the axis builder.

      4. Create a separate axis-builder module. The axis builder should have an xmlbeans model of the web services deployment descriptors, and transfer the information from this model to the appropriate gbeans from (2) and (3), and add them to the earContext. It should be roughly similar to the jetty builder or connector builder.

      5. Add a slot for the web-services-builder to EarConfigBuilder. This needs to be called directly from earconfig builder or from the web and ejb builders when they detect a web services deployment descriptor.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: