Add EJB Control Dialog
Use this dialog to add a new EJB control to your web service. An EJB control enables a web service to utilize an Enterprise JavaBean.
Enter a unique name for this EJB control. The name that you choose will be the variable name that you use to refer to this EJB control in your web service's code, so it must be a valid Java identifier.
To add an existing EJB control to your service, select the option "Use an EJB control already defined by a CTRL file". Type the path and file name, or click the Browse button to locate the CTRL file.
To create a new EJB control, select the option "Create a new EJB control to use with this service," and enter a name for the new control. The word "Control" will be automatically appended to the name you enter. The name you enter plus "Control" must be a valid Java identifier, as it will be used as an interface name.
If you make this a control factory, web services can dynamically create multiple instances of this control. To learn more about control factories, see Control Factories: Managing Collections of Controls.
Control factories are most useful for Timer controls and Service controls.
If you're creating a new EJB control, you must specify the home interface and the bean interface for the EJB that you wish to use. The interfaces must be made available to WebLogic Workshop by placing the target EJB's JAR file or client JAR file in the WEB-INF/lib folder in your WebLogic Workshop project.
You must also specify the JNDI name for the EJB. The Browse button will display a browser listing the EJBs that are registered in the JNDI directory on your development WebLogic Server.
Controls: Using Resources from a Web Service
EJB Control: Using an Enterprise Java Bean from Your Web Service