The following procedure provides the steps for configuring the BPEL Service Engine for persistence.
In the NetBeans IDE Services window, expand the Sun Java System Application Server (GlassFish) -> JBI -> Service Engines Nodes.
Right-click sun-bpel-engine and select Properties.
The sun-bpel-engine Properties window appears.
Set the PersistenceEnabled property value to true.
Set the JNDIName property value to specify the JNDIName of the JDBC resource that you created when you configured the database.
Click Close to save your settings.
See Configuring the BPEL Service Engine Runtime Properties for property descriptions.
Stop, shut down, and start the BPEL Service Engine to enable your new settings.