Versions Compared

Key

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

...

You should now have the following project structure.
Image Removed
Image Added

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).

...

You should now have the following project structure.
Image Removed
Image Added

Note
titleImportant

Remove ejbModule/META-INF/openejb-jar.xml file in the SampleEJB project as it causes deployment issues. See the file highlighted in the image above.

...

  1. Select File -> New, select Dynamic Web Project.
  2. 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 twice.



  3. Fill in the Geronimo Deployment Plan fields with the following values:
    Section
    • Group Id: sampleear
    • Artifact Id: sample-war
    • Artifact Type: war
    Image Removed Image Added

  4. Click Finish.

You should now have the following project structure.
Image Removed
Image Added

Create Stateless Session EJB

...