Internal HTTP servers

From Aptana Development

  • Aptana Studio contains multiple Jetty HTTP servers used internally
    • Previewing a Jaxer sample
      • Created in JaxerPreviewHandler
      • Uses a free port between 8100 and 8500
    • Jaxer Console for internal Jaxer Server
      • Created in JaxerServerProvider
      • Uses a free port between 8300 and 8500
    • Jaxer Activity Monitor view
      • Created in JaxerActivityMonitor
      • Uses a free port between 8400 and 8500
    • Aptana Home
      • Created in PortalServer
      • Listens on two ports
        • HTTP traffic: 8500-8599
        • Comet traffic: 8600-8699
    • Internal preview server
      • Created in PreviewServerProvider
      • Users a free port between 8000 and 8500
  • One idea would be to combine all into one Server with multiple Connector for listening on different ports. This would then allow a servlet to delegate to other servlets and filters based upon the port of the request. Servlets could then register for a path spec and port that they want to handle requests for.