Regenerating EJB access beans

You can use a wizard to regenerate EJB access beans if you change the enterprise beans.

Before you begin

You need to regenerate an access bean if the following conditions are true:
  • The properties for the associated enterprise bean have been added, changed, or removed.
  • The methods for an enterprise bean that is associated with a Java™ bean wrapper or copy helper access bean have been added, changed, or removed in the home or remote interfaces.
  • The methods for an enterprise bean that is associated with an EJB factory or data class have been added, changed, or removed in the home interface.

Procedure

  1. In the Enterprise Explorer of the Java EE perspective, right-click the deployment descriptor for the EJB project that contains the enterprise bean for which you want to edit an access bean.
  2. From the pop-up menu, select Access Beans > Regenerate Access Beans.
  3. Select the access beans that you want to regenerate and click Finish.

Feedback