Database Reference
In-Depth Information
We're done with JDeveloper and now we can proceed with the OSB part. We assume that
you already have a JNDI provider configuration file in the root of your OSB project. If
not, you should create one now, pointing to your development server (usually
ht-
tp://localhost:7001
, for a more complex clustered JIT environment, you could
have
t3://jitosbhost:<port>,jitosbhostmirror:<port>
)
(1)
. Now we
are ready to create Business Service.
Go to the
Business Service
subfolder, select
Business Service Wizard
from the context
menu, and name it accordingly
(2)
. Select
Transport Type Service
in the
Service
tab be-
low and then go to the
Transport
tab. Set protocol as
JEJB
and set the Endpoint URI as a
concatenation of your JNDI Provider's name and JNDI name from the
Client
class
mentioned earlier
(3)
.
Click on
JEJB Transport type
, set
EJB Spec Version
as
3.0
, and click on
Browse
for
the Client jar. Go to the Client's jar location, pick it, and validate the client's method in the
Methods
sections. For simplicity purposes, we have created it with only one method. You
will see the EJB-based Business Service created in the
Operation
field
(4)
.
Deploying the EJB service on OSB
Search WWH ::
Custom Search