• roo@lemmy.one
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Is there a simple way to do a http web server or socket? I’ve been looking around, but everything ends up being a page of instructions by the time I get it working.

    • lysdexicOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Is there a simple way to do a http web server or socket?

      What’s your definition of http web server or socket? Most frameworks nowadays provide you with tools to get a fully working project up and running with just a couple of clicks.

      For instance: https://start.spring.io/

      • roo@lemmy.one
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Python has a one liner that just runs.

        Is there a one liner that comes standard with Java now? There definitely hasn’t been before now.