Using the CMI EJB Service in Visual Composer
Prerequisites
-
You have installed SAP NetWeaver Developer Studio 7.1.
-
You have created the EJB development component in the JEE perspective.
-
You have created the Enterprise Application (EA) development component in the JEE perspective.
-
Prepare the development components so that the EJBs defined in the EJB development component can be used from another development component. In addition, select the Permissions tab and set the following check box: Entity Forwarding Allowed for EA DC .
-
You have created the Web Dynpro model that imports the EJB service into the Web Dynpro framework. More information: Models
-
Add the EJB model to the Public Part of the Web Dynpro development component.
-
You have built and deployed the EA and the Web Dynpro development component to the same server where the Visual Composer model will be deployed.
Context
You use a Common Model Interface (CMI) Enterprise Java Bean (EJB) to consume EJB services directly in Visual Composer instead of converting them into a Web service and then using the Web service in Visual Composer, as this can be time consuming.
You create the EJB services in the Java Enterprise Edition (JEE) perspective, import them into the Web Dynpro framework and then into Visual Composer.