Below are screenshots to guide you how to start GlassFish server 3.1 on JAVA EE using Eclipse.
Start Eclipse Enterprise and then follow the steps below:
Step 1