It is a simple Web application whose code is given in the tutorial. However, since Java EE 6 SDK is not available for Mac OS, I had to type in by hand the files for this example. These files which I typed in myself are index.xhtml, response.xhtml and a JavaBeans class Hello.java. The application runs on my Glass Fish 3+ server but the tutorial mentions this glassfish-web.xml file which I believe should be created automatically, like the web.xml file.
Anyone knows whether this file should be created automatically? If yes, how do I get it? The tutorial does not show its contents. The Web application runs without this file and then I also wonder why is this file used for?
This file only contains context root and it is server specific.It should be created automatically once you create web application using glassfish server.
For a web application only web.xml file is required.