There are two ways of doing this from Terminal.app's command window. Both use the DefaultApp executable that's in the <NeXT_Root>/NextLibrary/WebObjects/Executables directory.
./DefaultApp Examples/HelloWorldThis will start a single instance of the WebObjects application HelloWorld located in your DocumentRoot/Examples/HelloWorld directory.
This is the simplest way to start an application by hand, with the limitation that you can only have one application with this name running on the server host.
./DefaultApp -p 3000 -n 1 Examples/HelloWorldThis will start instance1 of HelloWorld on port 3000 of <myHost>.
Examples/HelloWorld:1@myHost 3000Save the file. This lets the WebObjects adaptor know that an application HelloWorld 1 is available on the computer named <myHost> at port 3000 for serving requests.
Now try contacting your application with the same URL as before
http://<myServerHost>/cgi-bin/WebObjects/Examples/HelloWorldAll requests for Examples/HelloWorld will be forwarded on <myHost> to this WebObjects application.
http://<myServerHost>/cgi-bin/WebObjects/Examples/HelloWorld:1@myHostRemember always to pick ports greater than 1024 as ports under 1024 are reserved on UNIX platforms.