Creating the payment plug-in EJB project

In this step, you will create the payment plug-in EJB project, which will contain the payment plug-in session bean and the payment plug-in deployment descriptor file.

Procedure

  1. Open WebSphere Commerce Developer.
  2. Open the Java EE perspective.
  3. Click File > New > EJB Project.
  4. In the Project Name field, type MyPaymentPlugin.
  5. In the EJB Module version list, select 2.1.
  6. Make sure that the Add project to an EAR option is selected.
  7. In the EAR Project Name field, select WC; then click Next.

    The EJB Project page of the New EJB Project dialog

  8. Clear the Create an EJB Client JAR module to hold the client interfaces and classes option:
  9. Click Finish.
  10. In the Enterprise Explorer view, right-click MyPaymentPlugin; click Properties.
  11. In the left navigation pane, click Java EE Module Dependencies; select PSPSimClient.jar, WebSphereCommerceServerExtensionsData.jar and WebSphereCommerceServerExtensionsLogic.jar

    The Module Dependencies page of the New EJB Project dialog

  12. Click OK.
  13. In the Enterprise Explorer view, expand EJB Projects and confirm that the MyPaymentPlugin project has been created.