Deploying SQLJ applications that use container-managed persistence (CMP) with the ejbdeploy tool
Embed Structured Query Language in Java™ (SQLJ) statements in your applications to maximize the efficiency of transactions with your databases. Before your applications can take advantage of SQLJ, you must deploy the application and customize the SQLJ profiles that are created. The application server provides functionality to use SQLJ as the persistence mechanism for enterprise beans that use container-managed persistence. Use the ejbdeploy tool to deploy the application.
About this task
Alternatively, the application server includes enhanced
SQLJ support for applications that use container-managed persistence (CMP). The new features include:
- Deploying CMP beans during the application installation in the application server.
- Customizing and binding SQLJ profiles with the administrative console or scripting.
- Customizing and binding SQLJ applications again without needing to reinstall the application.