Chapter 6. EIS integration using Java Message Service 159
3. In the next window browse to the EJB and select the method that you wish to
call from the BPEL process.
4. Click Next. You can accept the defaults for the service name and the names
of the WSDL files and click Finish.
The wizards creates the three WSDL files that describe the service: its interface,
the EJB binding details, and the EJB service location details. You can later
include the EJB service as BPEL partner link into a BPEL process (see
Chapter 9, “Integration into business processes” on page 241).
WebSphere Business Integration Server Foundation includes the extended
messaging feature that extends the base JMS support and support for MDB by
introducing container managed messaging. Additional types of EJBs, for
example a sender EJB, are introduced and new management objects are
available at the administration console to configure the environment for those
beans. Although we have not attempted to use extended messaging in our
sample scenario, we would recommend that you evaluate its use for real
environments.
6.4.4 Deploying the EIS component
The Trader EIS component consists of EJB modules including session EJBs,
MDB, and Java utility classes. To deploy the component to the test environment
or to a WebSphere Application Server instance, you have to create and configure
the following administration objects for that server:
???? A JAAS security alias for the IMS user on the IMS host. The alias is later used
when creating the J2C connection factory.
???? A J2C IMS connection factory to connect to the J2C IMS resource adapter.
???? JMS connection factories for the MDB and for the sender bean of the EIS
component’s client.
???? JMS destinations and queues for the MDB and for the sender bean.
???? A JMS listener port for the MDB.
Configuration of these resources is error-prone. In particular, mismatches when
specifying JNDI names often cause issues. Even in production environments, we
have seen misconfigurations (for example, for the JMS listener ports). To avoid
bottlenecks and to be able to process many messages simultaneously, you might
have to adapt the size of the thread pool for a JMS listener port.