...
In the EAR Application Project wizard type in SampleEAR as the project name and select Apache Geronimo v2.0 in Target Runtime. Leave the rest as is.
Press Next twice.
In the New EAR Application Project window select the Generate Deployment Descriptor checkbox.
geronimo-sample-ear-generatedd.png|align=center
Press Next three times.
Fill in the Geronimo Deployment Plan's fields with the following values (you want to know more why they're important? Read it on in the Geronimo documentation - http://cwiki.apache.org/GMOxDOC12/deployment-plans.html):
- Group Id: sampleear
- Artifact Id: sample-ear
- Artifact Type: ear
Press Finish.
When asked about changing to the Java EE perspective, press Yes. You may want to select the Remember my decision checkbox to avoid dealing with it in the future.
...
You should now have the following project structure.
Note | ||
---|---|---|
|
Create EJB project
The next step is to create an EJB project to hold your EJBs. Press Ctrl-N and select EJB Project in EJB category.
...