Data Transformation Engine Intelligent Business Integration Reference Guide

Chapter 3 - Methods of Execution Servlet Execution Model
Intelligent Business Integration Reference Guide
38
This approach has been successfully employed in a number of implementations, in
particular, to provide the capability to Web-enable legacy applications. The
powerful transformation and connectivity capabilities of Mercator products provide
the application connectivity. Utilization of the automatically generated servlet
exposes the power of this application integration capability to the Web.
The servlet generated by the Servlet Integrator utilizes the Mercator Java API,
which in turn instantiates the maps via the native Mercator Platform API function
libraries. In essence, the mechanism that is used is the same as for providing the
runtime instructions for a map’s execution from the command prompt—overrides
are submitted to control the map’s execution. The difference is that these
overrides are supplied programmatically, in memory, rather than on the command
line. However, even under Command Server execution, the overrides specified on
the command line are passed by the Command Server, in memory, to the core
execution code, which is embodied in the Platform API. Note that whichever
execution model is employed, the same underlying Mercator technology prevails.
Servlet Integrator
The Servlet Integrator is a stand-alone, Java-based graphical wizard tool for
generating Java servlets that enable you to expose maps to the Web using a third-
party Web or application server that has a servlet engine available (such as
Internet Information Server (IIS) or IBM WebSphere).
The Servlet Integrator enables you to:
Select one or more maps to expose to the Internet (HTTP)
Configure map-related options for the selected map(s); for example, retry,
trace, and audit settings
Generate a servlet to one or more target directories within the Web or
application server and servlet space
Execute the servlet using standard HTTP
POST or GET syntax to invoke the
corresponding map
Note Refer to the Mercator Integration for Java Reference Guide for more information.
Using the Servlet Integrator
The Servlet Integrator guides the user through the following process of tailoring
and generating servlets to execute maps:
Associating servlets with compiled map files
Specifying details for compiling Java servlet class files