Versions Compared

Key

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

...

In the New EAR Application Project window select the Generate Deployment Descriptor checkbox.

geronimo-sample-ear-generatedd.png|align=centerImage Added

Press Next.

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

...

You should now have the following project structure.

unmigrated-wiki-markup
Note

Don't

worry

about

the

error

*

cvc-complex-type.2.4.b:

The

content

of

element

'application'

is

not

complete

. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java

.

sun

.

com/xml/ns/javaee":module}' is expected

.

*

for

now.

You'll

fix

it

in

the

next

step

when

you

define

an

ejb

module

(and

webapp

module

afterwards).

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.

...