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 170 | Next

Frank Jennings, David Salter

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

Fault Handlers are
used for throwing and catching faults rather like the try ... catch and throw constructs
within Java code. We've seen how we can throw faults and then catch them with
specific fault handlers or catch-all handlers. The second type of handlers we
looked at were Event Handlers and we discussed how these are used to respond to
events??”either specific messages or timer messages. Both Fault Handlers and Event
Handlers are supported within the NetBeans BPEL designer allowing drag-and-drop
of components from within the NetBeans palette into BPEL processes.
Handling Events
[ 198 ]
Next, we looked at compensation handlers and discussed how these are used to
rollback data within a BPEL process. Finally we looked at termination handlers and
saw how these are called when a BPEL process is terminated unexpectedly. We
saw how the default termination handler invokes the default compensation handler
within a BPEL process scope.
In the next chapter, we're going to bring all the concepts and techniques we've
discussed so far together and build a real world enterprise application using
NetBeans and the NetBeans Enterprise Pack.
Building a Sample Application
In the previous chapters, you were introduced to NetBeans IDE and the IDE's
capability of designing enterprise applications using the built-in SOA tools.


Pages:
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182