08.06.2014 Views

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.2.3 Integration Designer best practices<br />

This section describes best practices for using Integration Designer.<br />

Choose microflows where possible<br />

Use macroflows only where required (for example, for long-running service invocations and<br />

human tasks). Microflows exhibit significantly improved performance at run time. A<br />

non-interruptible microflow instance is run in one J2EE transaction with no persistence of<br />

state. However, an interruptible macroflow instance is typically run in several J2EE<br />

transactions, requiring that state persist in a database at transaction boundaries.<br />

Where possible, use synchronous interactions for non-interruptible processes. A<br />

non-interruptible process is more efficient than an interruptible process because it does not<br />

use state or persistence in the backing database system.<br />

To determine whether a process is interruptible, in the Integration Designer, click<br />

Properties Details. A process is interruptible if the Process is long-running check box is<br />

selected.<br />

If interruptible processes are required for some capabilities, separate the processes so that<br />

non-interruptible processes can handle the most frequent scenarios and interruptible<br />

processes handle exceptional cases.<br />

Choose query tables for task list and process list queries<br />

Query tables are designed to provide good response times for high-volume task lists and<br />

process list queries. Query tables offer improved query performance in the following ways:<br />

►<br />

►<br />

►<br />

►<br />

Improved access to work items, reducing the complexity of the database query<br />

Configurable high-performance filters for tasks, process instances, and work items<br />

Composite query tables to bypass authorization through work items.<br />

Composite query tables that allow query table definitions reflecting information shown in<br />

task lists and process lists<br />

For more information, see the following references:<br />

► PA71: Business Process Manager Advanced - Query Table Builder<br />

http://www.ibm.com/support/docview.wss?uid=swg24021440<br />

► Query tables in Business Process Choreographer in the <strong>IBM</strong> Business Process Manager<br />

8.0 Information Center<br />

http://pic.dhe.ibm.com/infocenter/dmndhelp/v8r0mx/index.jsp?topic=%2Fcom.ibm.wb<br />

pm.bpc.doc%2Ftopics%2Fc6bpel_querytables_composit.html<br />

Choose efficient metadata management<br />

This section describes best practices for metadata usage.<br />

Follow Java language specification for complex data type names<br />

Business Process Manager Advanced Edition allows characters in business object (BO) type<br />

names that are permissible in Java class names, the underscore (_) character, for example.<br />

However, the internal data representation of complex data type names uses Java types. As<br />

such, performance is better if BO types follow the Java naming standards because valid Java<br />

naming syntax requires no additional translation.<br />

Chapter 2. Architecture best practices 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!