You can to define WebSphere® Extension properties for your Enterprise Java™ Beans.
- In the Project Explorer view, right-click the EJB project that
includes the entity bean for which you want to define WebSphere Extension properties.
- Right-click on the Deployment Descriptor Editor and
select Open With.
- Select the bean on the Bean page of the
editor and scroll to the WebSphere Extensions section.
- Click Start EJB at Application Start:. This
option applies to all types of Enterprise Java Beans. This will ensure that your EJB
is loaded when the application starts.
- Click Disable synchronization before finder invocation:.
This option applies to Container Managed Persistence 1.1 Enterprise Java Beans
in a 2.x module, to Container Managed Persistence 2.x Enterprise Java Beans
in a 2.x module, and to Bean Managed Persistence Enterprise Java Beans
in a 2.x module. In other words, this option is valid for BMP, CMP2.x and
CMP1.1 in a 2.x module (but is not valid for a BMP or CMP (1.1) Enterprise Java Beans
in a 1.1 module).
- Click Use Lightweight Local Mode:. This
option applies to Container Managed Persistence 2.x Enterprise Java Beans
in a 2.x module and to Bean-Managed Persistence Enterprise Java Beans
in a 2.x module. In other words, this option is valid for BMP and CMP 2.x
in a 2.x module (but is not valid for a CMP 1.1 in a 2.0 module, or BMP or
CMP in a 1.1 module).
To select Use Lightweight Local Mode,
the EJB must also contain a local interface (it may also have a remote interface).
- Click Disable Enterprise Java Beanstore invocation if
EJB is unmodified:. This option applies to Container Managed
Persistence 2.x Enterprise Java Beans in a 2.x module. In other words,
this option is only valid for CMP 2.x Enterprise Java Beans, but not CMP 1.x beans (even
if defined in a 2.x module), and not for BMP Enterprise Java Beans.