SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 157 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"

They are as follows:
Fault handlers
Event handlers
Compensation handlers
Termination handlers
Fault handlers allow exceptions to be caught and managed within a BPEL process.
Event handlers allow events to be triggered when specified messages are retrieved
within a BPEL process or when specific timed events occur. NetBeans provides GUI
support for both fault handlers and event handlers allowing them to be graphically
modeled as part of a BPEL process.
Compensation handlers allow business processes to be rolled back in a similar
fashion to a rollback statement issued against a relational database. Termination
handlers allow specific code to be executed when a BPEL process exits. Both
compensation and termination handlers are defined by XML within a BPEL process.
NetBeans provides editing support for these types of handlers within the Source tab
of the BPEL designer rather than in the Design tab.
Let's discuss each of these handlers in turn.
Fault Handlers
Fault handlers are probably the most common type of handlers that are used within
a BPEL process. The purpose of fault handlers is similar to that of Exceptions in the
Java language, allowing fault cases to be caught and thrown and reported back to the
application that invoked the BPEL process.
Within a BPEL process, we can throw faults if a particular situation occurs.


Pages:
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169