Versions Compared

Key

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

...

Warning
titleWarning

Due to some limitations in Geronimo Eclipse Plugin the deployment plan(openejb-jar.xml) does not have the correct namespace. Replace the existing namespace as shown in the figure with the following
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2" xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">

Developing a Java Client

  1. Select File->New->Project->Java->Java Project. Select Next.


    Image Added


  2. In the New Project Window give the Project name ss ApplicationClient and select Next.


    Image Added


  3. On the Java Settings window. Select the Projects tab and click add.
    Image Added


  4. Check the box for SimpleEJB and Select OK.


    Image Added!


  5. This will add the SimpleEJB project to the build path of the Application Client as shown in the figure. Select Finish.


    Image Added!


    Tip
    titleWhy add to build path :(

    This is because the build path is used to find the classes referenced by your Client source code. These classes will be required for compilation of Client source code.