--People who are new to Java EE --People who want to run JavaEE tutorials
--eclipse, git must be installed -* The following procedure is performed on Eclipse 4.8 (photon) and git2.20 windows.
--The explanation of JavaEE functions and tutorial code is omitted. (Because I'm studying ...)
git clone https://github.com/javaee/tutorial-examples
https://javaee.github.io/glassfish/download Web Profile version is OK
Import the cloned project into Eclipse.
Select [Menu]-[Import]-[Maven]-[Existing Maven Project]
Add a plugin so that you can deploy from Eclipse to GlassFish.
Select [Menu]-[Help]-[Install New Software] Click the "Add" button and enter the url of glassfish-tools.
After adding, restart Eclipse.
Add server settings in Eclipse.
Select [Menu]-[Window]-[View View]-[Others]-[Server]
Specify the installed GlassFish home directory and Java home directory
Add any resource. (If you cannot add it, re-execute after creating the server)
Start and access the GlassFish server from Eclipse. The default is "http: // localhost: 8080 / web / hello1"
Press the submit button after entering text