Beruflich Dokumente
Kultur Dokumente
> 120 s
Wait
TimeOut
Wait for Map Wait for
PORequest OrderCanonical Notification
(TN) isValid = false
Handle
isValid = true InvalidOrder
Send ACK
(TN)
Design: The Logic
Convert OrderAccept to a
bizdoc & route to TN.
Doc will be identified and
ProcessErrors a business rule will
change the User Status =
Delivered
Wait for
PORequest
(TN)
Send ACK
(TN)
Assemble: Over to you!
Mixed Monitoring
Java Services
Tomcat Web Container
A Web Container is the J2EE term for a software engine that supports the
running of Java Servlets and Java Server Pages (JSP)
Tomcat is the Web Container created by the Apache Jakarta project
Apache is the world’s leading HTTP (Web) Server
Jakarta is the Java Run Time Environment for Apache
Tomcat is Open Source
Plugged into Integration Server 6.0 instead of Jakarta
Source is unmodified for IS 6.0
Configuration Changes Required
Disable Native HTTP stack and use IS instead through Connector API
Tomcat Custom Security Realm plugin for WebMethods IS Security
Reconcile with IS Directory and Package structures
What the Web Container Provides
IntegrationServer\web directory
webMethods JSP Tag Library
webm-taglib.tld
conf directory
Global web.xml containing a default
<web-app> definition, providing defaults
for all Tomcat Web Apps
wars directory
WAR (Web ARchive) files
Standard Web App deployment file
Example Workflow
Workflow\WEB-INF contains web.xml
file for Workflow Web App
Workflow\WEB-INF\lib contains
implementation files (*.jar)
work directory for app work areas
Tomcat Configuration (continued)
<webm:invoke serviceName="ShoppingCart.JDBC:InsertOrders">
<webm:usePipeline>
<%-- out.println("The pipeline = " + webm_pipe.toString()); --%>
<%
IDataCursor c1 = webm_pipe.getCursor();
IData d = (IData)IDataUtil.get(c1, "GetLastOutput");
IDataCursor c2 = d.getCursor();
String inputstr = IDataUtil.getString(c2, "OrdID");
Web Container
Mixed Monitoring
Java Services
Mixed Monitoring environment
Ter1 jdbc
Broker 5 Broker 6
Logger
TerBrok5 TerBrok6
1
processLog
Integration 1
Monitor WorkflowLog
G V
IN OUT Log
1 1
Order processLog
Logging Utility
Monitor
Components 1 Audit Runtime 1
(Programming Logic) JDBC/File Transient
The 46 Component
Mixed Monitoring
Java Services
Objectives
An IData Object
It is an IData object that contains an ordered collection of
name/value pairs on which a service operates
It can contain any number of elements of any valid Java object,
including other IData objects
Instantiated by server when the service is run
Dropped when service completes
Input / Output & IData
Code:
IData Position
populatedCursor
Code:instantiated
IData
Code: Get Value
Get Cursor
input1
input1
input1 Hello
Hello
Hello IData.getCursor();
Integration
Server
http post Trading
Trading
Networks
Networks
input2
input2
input2 World
World
World
Data arguments:
input1 = Hello String myInput =
Cursor.first(“input2”);
input2 = World (String)
Cursor.getValue();
Cursor Types
create Cursor
get string1
from pipeline
get string2
from pipeline
do work
output
results
IData & Records
{
addrDoc = IDataFactory.create();
addr1 12 High St.
String java.lang.String
Input
Output
Integration Server Code Namespace
Source Code
…\packages\package-name\code\source\folder\folder\…
Compiled Code
…\packages\package-name\code\classes\folder\folder\…