websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-7

Boostrapping websocket containers in web container and standalone

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      For now the API has a ContainerProvider class that can use the service loader mechanism to load
      different implementations of the Client and Server containers. This will be ok for the Java SE client
      API, but probably not for Java EE.

      We will explore other mechanisms in the Java EE case. Perhaps making the ServerContainer a CDI managed bean that can
      be injected into developer code, perhaps into a ServletContext initializer, for example. Or an annotation that the web
      container must scan for that indicates that a given class implementing one of the Container interfaces must be loaded at
      startup.

        Activity

          People

          • Assignee:
            dannycoward
            Reporter:
            dannycoward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved: