■ CONTENTS
xi
MDB Model ........................................................................................................................................... 401
MDB as a Consumer ............................................................................................................................. 405
MDB as a Producer............................................................................................................................... 406
Transaction........................................................................................................................................... 407
Handling Exceptions ............................................................................................................................. 408
Putting It All Together ....................................................................................................409
Writing the OrderDTO............................................................................................................................ 409
Writing the OrderSender....................................................................................................................... 409
Writing the OrderMDB........................................................................................................................... 410
Compiling and Packaging with Maven ................................................................................................. 411
Creating the Administered Objects....................................................................................................... 413
Deploying the MDB on GlassFish.......................................................................................................... 413
Running the Example............................................................................................................................ 414
Summary .......................................................................................................................414
■Chapter 14: SOAP Web Services ..........................................................................415
Understanding SOAP Web Services ...............................................................................415
XML....................................................................................................................................................... 416
WSDL .................................................................................................................................................... 417
SOAP..................................................................................................................................................... 417
UDDI...................................................................................................................................................... 417
Transport Protocol ................................................................................................................................ 418
SOAP Web Services Specification Overview..................................................................418
A Brief History of SOAP Web Services .................................................................................................. 418
Java EE Specifications ......................................................................................................................... 418
Reference Implementation ................................................................................................................... 420
How to Invoke a SOAP Web Service...............................................................................420
Java Architecture for XML Binding ................................................................................422
Binding ................................................................................................................................................. 423