Versions Compared

Key

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

...

  1. Launch Eclipse and select Window->Open Perspective->Other->JavaEE and select Ok





  2. Right Click under Project Explorer and create a new EJB project. Mention the fields as shown in the figure. For all the other windows give default values and select Finish.





  3. Under Project Explorer, Right click on SimpleEJB and create a new package. Mention the fields as shown in the figure. Select Finish.





  4. Right click on SimpleEJB project under project explorer and select properties.


    Image Added


  5. Select Java Build Path and select Add External JARs.


    Image Added


  6. Browse to the directory <GERONIMO_HOME>\repository\org\apache\geronimo\specs\geronimo-ejb_3.0_spec\1.0.1 and select geronimo-ejb_3.0_spec-1.0.1.jar.


    Image Added


  7. Once done select Ok. You can see the geronimo-ejb_3.0_spec-1.0.1.jar added to the build path. This jar provides the essential classes required for the EJB development.


    Image Added