Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Select File -> New, select Project... and in the popup window select select Enterprise Application Project in J2EE category and click Next.
    Image Removed \\!new_prj.jpg!
  2. In the EAR Application Project wizard type in SampleEAR as the Project name: and select Apache Geronimo v2.1 in Target Runtime. Leave the rest as it is.
    Image Removed \\!ear_prj_1.jpg!
  3. Click Next twice.
  4. In the J2EE Modules to Add to the EAR window select the Generate Deployment Descriptor checkbox and click Next.
    Image Removed \\!ear_prj_2.jpg!
  5. In the Geronimo Deployment Plan window enter the values as specified below. To find out more about what these values mean check the Deployment plans section.
    indent
    1
    1
    * Group Id: *sampleear*
    * Artifact Id: *sample-ear*
    * Version: *1.0*
    * Artifact Type: *ear*
    Image Removed \\!ear_prj_3.jpg!
  6. Click Finish.

If asked about changing to the Java EE perspective, click 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.
Image Removed \\!ear_prj_4.jpg!

Note
titleError message

Don't worry about the error cvc-complex-type.2.4.b: The content of element 'application' is not complete... for now. We'll fix it in the next step when you define an ejb module (and webapp module afterwards).

...