...
- Press Ctrl-N, select Dynamic Web Project in Web category and click Next.
- In the Dynamic Web Project wizard type in SampleWAR as the project name and select Add project to an EAR checkbox. Leave the rest as is and click Next.
- Make sure that 5.0 for the Java facet in the Project Facets popup window's selected and click Next twice.
- Fill in the Geronimo Deployment Plan fields with the following values:
Section - Group Id: sampleear
- Artifact Id: sample-war
- Artifact Type: war
- Click Finish.
You should now have the following project structure.
Create Stateless Session EJB
...