1.13 Create EJB Service Dialog or Update Reference or Update Service Dialog
Use to integrate Enterprise JavaBeans with SOA composite applications.
Integration is achieved through use of service data object (SDO) parameters or Java interfaces. Integration with SDO-based EJBs uses a Web Services Description Language (WSDL) file to define the interface. Integration with Java interfaces does not use a WSDL file to define the interface.
SDOs enable you to modify business data regardless of how it is physically accessed. Knowledge is not required about how to access a particular back-end data source to use SDO in a SOA composite application. Consequently, you can use static or dynamic programming styles and obtain connected and disconnected access.
EJBs are server-side domain objects that fit into a standard component-based architecture for building enterprise applications with Java. These objects become distributed, transactional, and secure components.
Oracle SOA Suite interfaces are described by the WSDL file. EJB interfaces are described by Java interfaces. Invocations between the two are made possible in Oracle SOA Suite by an EJB Java interface that corresponds to an Oracle SOA Suite WSDL interface.
Through this interface, Oracle SOA Suite provides support for the following:
-
Invoking EJBs with SDO parameters through an EJB reference
-
Invoking an EJB service through EJBs with SDO parameters
Integration of Enterprise JavaBeans with Oracle SOA Suite through Java interfaces eliminates the need for WSDL file definitions. This type of integration provides support for the following objects:
-
Native Java objects
-
Java Architecture for XML Binding (JAXB)
Element | Description |
---|---|
Name |
Accept the default value of |
Type |
Select the direction in which you want the EJB service to operate.
|
Version |
Select the version of EJB to support: EJB2 or EJB3 (the default selection). Note: This field only displays if you dragged the EJB Service icon into the External References swimlane. |
Interface |
Select the interface. |
JAVA |
Select to create a Java interface-based Enterprise JavaBeans integration with SOA composite applications (does not use a WSDL file to define the interface). |
WSDL |
Select to create an SDO-based Enterprise JavaBeans integration with SOA composite applications (uses a WSDL file to define the interface). |
JNDI Name |
Enter the JNDI name. This field only displays if you selected the following:
|
JAR File |
Click the Search icon to select the EJB JAR file. The JAR file must include the interface class and any supporting classes. Note: If you select a JAR file outside of the current project, Oracle JDeveloper creates a copy of the JAR file in the |
JAVA Interface |
Click the Browse icon to invoke the Class Browser dialog for selecting the fully qualified Java class name of the previously created Enterprise JavaBeans interface. This class must exist in the selected JAR file. If a JAR file is not specified, it is assumed that the class is in the If you have a new JAR file, you must add it to the project by selecting Project Properties > Libraries and Classpath > Add JAR/Directory from the Application main menu. This enables the JAR file to display in the Class Browser. |
WSDL URL |
Note: Ensure that have already created the annotations for the EJB interface before generating the WSDL file. Select the Web Services Description Language (WSDL) file to use. This field only displays if you selected the WSDL radio button in the Interface section. This file describes the capabilities of the service that provides an entry point into a SOA application or a reference point from a SOA application. The WSDL file provides a standard contract language and is central for understanding the capabilities of a service. Note: Do not manually update the WSDL location in your file in Source View. This action is not supported. Only updates made in Design View are supported. |
Find existing WSDLs icon |
Click to select an existing WSDL file. |
Generate WSDL from Java Interface Class icon |
Click to generate a WSDL file from a Java interface class that represents the EJB interface. If no JAR is specified, then classes in |
Port Type |
Select the port type or use the automatically specified value. This field only displays if you selected the WSDL radio button in the Interface section. |
Callback Port Type |
Select the callback port type for asynchronous processes. This field only displays if you selected the WSDL radio button in the Interface section. |
Related Topics
Integrating Enterprise JavaBeans with SOA Composite Applications in Developing SOA Applications with Oracle SOA Suite