I tried to start Payara Micro server. Firsly, I wrote it as java code, like this.
PayaraMicro payaraMicro = PayaraMicro.getInstance();
payaraMicro.bootStrap();
It run, but with 404 error (I don't know why also). After I also run jar file in command line and it was the same result. What I want it's to open page in browser, when my server is deployed. I need to open page with .jsf extension (or at lease html page with simple "Hello world!"). Is it possible? Am I need to write it like configuration in xml file or run from command line?
Notes: https://payara.gitbooks.io/payara-server/documentation/payara-micro/appendices/cmd-line-opts.html It seems that there is no info in this documentation, or I don't understand something...
Here my example https://github.com/dasha-buzovska/payaraMicro