* after running this program.
*/
public static void main(String[] args) throws Exception {
//TODO explain in web we use Jetty here (what is jetty? what is a restful web server?)
//TODO understand & explain what this "webroot" is & what so setup elsewhere to get jRest working ...
RestServer rs = new RestServer(8888, "./step1");
// default is RestServer rs = new RestServer(5555);
// which stores content in "./web"
// creating singleton instance:
instance = new Step1();
//TODO explain the concept Restlet
rs.registerRestlet("add", instance);
// to unregister Restlet: rs.unregisterRestlet("step1");
rs.start();
// to stop the RestServer: rs.stop();
//TODO clear confusion about rs.run() & rs.start()
}