I need a simple HTTP server application that meets the following criteria:
- It should run on Windows.
- This does not require new installation of Windows of any kind: programs, frameworks, services, etc.
- It can be launched using Java (for example, JAR) or .NET, since these frameworks are already installed globally on servers.
- It must be able to run and on demand Ant build (and / or the command line) on demand.
- It should be able to host on the port specified at runtime (i.e. not in the configuration file).
- It should be able to host the main static content (JavaScript, CSS, Images, HTML) from the root directory specified at runtime (i.e. not in the configuration file).
- No huge distribution folder, for example. Jetty's full distribution is around 40 MB ... too big! Less than 1 MB was preferred.
- It does not need to support HTTPS (SSL).
- ITS DO NOT need to integrate with any IDE.
- He does not need to host any “web applications”, for example. EAR, WARS, JAR, etc.
Any recommendations? I will also need an explanation of the manual / tutorial to set them up, especially if they are based on Java, since I have very little background in Java (and, frankly, not much background in Ant).
Thank!
source
share