You can use a wizard to regenerate EJB access beans if you change
the enterprise beans.
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.
To regenerate an access bean:
- In the Project Explorer of the J2EE perspective, right-click the
EJB project that contains the enterprise bean for which you want to edit an
access bean.
- From the pop-up menu, select . The Regenerate
Access Beans wizard opens.
- Select the access beans that you want to regenerate.
- Click Finish to regenerate the selected
access beans.