Preface Acknowledgments About the Author Introduction p. 1 IBM SOA Foundation p. 2 Service Design and Service Creation p. 2 Service Integration p. 3 Service Connectivity p. 5 Service Security and Management p. 7 Service Registry and Service Governance p. 9 p. xix p. xxv p. xxvii How This Book Is Organized p. 10 Service Design with IBM Rational Software Architect p. 13 Product Overview p. 13 What Is UML? p. 14 What Are UML Models and UML Diagrams? p. 14 How Does It Support SOA? p. 15 Tutorial Overview-Design a Time Zone Converter Service p. 16 Service Specification p. 17 System Requirements p. 17 What Is Included in the CD-ROM? p. 18 Use a UML Model to Capture a Service Design p. 18 Capture the Use Cases for a Service Using a Use Case Diagram p. 21 Design the Blueprint for a Service Using a Class Diagram p. 23 Detail the Flow of a Service Using a Sequence Diagram p. 33 Share the Service Design with Others p. 38 Transform the Service Design to Implementation with Round-Trip Engineering p. 40 Transform UML to Java p. 41 Transform Java to UML p. 46 Complete the Implementation p. 51 Summary p. 52 Service Creation with IBM Rational Application Developer and IBM WebSphere Application Server p. 55 Product Overview p. 55 How Do They Support SOA? p. 59 Tutorial Scenario p. 61 System Requirements p. 62 What Is Included in the CD-ROM? p. 62 Create, Deploy, and Test a Web Service p. 63 Creating a Web Project p. 66 Creating a Java Object-DrivingRecord p. 66 Creating a Web Service Java Class-DrivingRecordWebService p. 67 Creating a Web Service p. 68
Examining the WSDL Interface p. 69 Testing the Web Service p. 71 Create a Database Table p. 73 Create a Database Connection p. 73 Creating a Data Model p. 75 Invoke a Web Service and Persist the Data Using Java Persistence API p. 80 Creating a JPA Web Project p. 84 Generating a Web Service Client p. 86 Creating a Web Application to Invoke the Web Service p. 87 Running the Web Application in a Browser p. 91 Creating a JPA Entity p. 91 Create a Utility Class p. 95 Set Up the JDBC Configurations in the Persistence XML File p. 97 Modifying the Web Application p. 98 Running the Web Application p. 101 Export the Project as an EAR File p. 103 Deploy an Application into a WebSphere Application Server p. 104 Set Up the Database p. 104 Start the WebSphere Application Server p. 104 Start the Integrated Solutions Console p. 104 Install and Start the DriversWebServiceProjectEAR Enterprise Application p. 105 Install InsuranceJPAProjectEAR Enterprise Application p. 107 Changing the Web Service Endpoint p. 107 Updating the JDBC Datasource p. 110 Examine the Ports p. 110 Server Logs p. 112 Stop the WebSphere Application Server p. 114 Summary p. 114 Service Governance with IBM WebSphere Service Registry and Repository p. 115 Product Overview p. 115 The Scenario p. 115 What Is WebSphere Service Registry and Repository? p. 116 How Does It Support SOA? p. 126 p. 127 A Day with WSRR Scenario p. 127 System Requirements What Is Included in the CD-ROM? p. 128 Set Up the Registry and Repository as an Administrator p. 129 Set Up the Business Model Templates p. 130 Load Classification System p. 133 Publish a New Service as a Service Developer p. 135
Import Service Documents p. 135 Create a Concept p. 137 Make the Concept Governable p. 139 Reuse Services as an Application Developer p. 141 Find Reusable Services p. 141 Import Artifacts into Eclipse Workbench p. 143 Create an Application Concept p. 147 Update Existing Services as a Service Developer p. 148 Impact Analysis p. 148 Load New Version of the Artifacts p. 150 Create a New Service Concept p. 151 Deprecate the Old Service Concept p. 152 Summary p. 153 Service Integration with IBM WebSphere Integration Developer and IBM WebSphere Process Server p. 155 Product Overview p. 155 How Do They Support SOA? p. 159 p. 160 System Requirements p. 161 What Is Included in the CD-ROM? p. 161 Create a Business Process p. 162 Import Existing Web Services to Workbench p. 162 Create an Integration Solution with a Library and a Module p. 162 Copy Interface Files from Existing Web Service p. 164 Create a Business Object p. 164 Create a WSDL Interface File for the Business Process p. 167 Create a Business Process p. 168 Add a New Variable p. 169 Add an Assign Node p. 170 Add an Invoke Node p. 172 Add a Human Task Activity p. 174 Add Visual Snippet Logic p. 176 Add Sticky Notes p. 180 Assemble and Execute the Module p. 181 Assembling in the Assembly Diagram p. 181 Exploring the Integrated Solution Diagram p. 183 Deploy the Module Application to the Server p. 185 Run the Business Process p. 186 Export the Projects as EAR Files p. 189 Deploy to a WebSphere Process Server p. 189 Start the WebSphere Process Server p. 189 Start the Integrated Solutions Console p. 190
Install and Start SupplierService Enterprise Application p. 190 Install ManufacturerSolution_ModuleApp Enterprise Application p. 192 Changing Web Service Endpoint p. 192 Executing the Business Process in the Standalone Server p. 194 Summary p. 197 Service Connectivity with IBM WebSphere Message Broker p. 199 Product Overview p. 199 The Difference Between WebSphere MQ and WMB p. 199 WebSphere Message Broker Basic Key Concepts p. 201 WebSphere Message Broker Toolkit p. 201 How Does It Support SOA? p. 204 p. 207 System Requirements p. 208 What Is Included in the CD-ROM? p. 210 p. 210 Databases Used by the Library Book Search Service p. 210 WebSphere Message Broker Runtime Artifacts p. 212 WebSphere MQ Queues for Message Flow p. 213 Configure Message Broker Toolkit with Predefined Databases and Runtime Artifacts p. 215 Configure the Library Database with the WebSphere Message Broker Toolkit p. 215 Set Up Association for WebSphere Message Broker Runtime Artifacts in Toolkit p. 219 Create the Message Flow and Message Set for Library Book Search Service p. 222 Create Message Definition from Predefined XML Schema p. 222 Configure Message Flow with WebSphere MQ Queue p. 225 Configure Parse Options for Input Message p. 227 Creating ESQL for Library Book Search Query p. 227 Define the Logic of Message Flow p. 230 Create Mappings for SearchResponse Message p. 232 Deploy and Test Library Book Search Service p. 237 Establish Connection with Broker Runtime p. 237 Initialize the Test Client p. 237 Testing with Test Client p. 238 Summary p. 241 Collaboration with IBM WebSphere Portlet Factory and IBM WebSphere Portal p. 243 Product Overview p. 243 What Is a Portal? p. 243 IBM WebSphere Portlet Factory p. 244 IBM WebSphere Portal p. 245 How Do They Support SOA? p. 247 Tutorial Overview p. 247 End-to-End on Developing, Testing, and Deploying of a Portlet p. 247
System Requirements p. 250 What Is Included in the CD-ROM? p. 250 p. 250 WebSphere Portlet Factory-Create a Deployment Configuration p. 250 DB2-Create a Database and a Table p. 253 WebSphere Application Server-Create a Datasource p. 259 Create and Test a Simple Portlet p. 266 Create a Project in IBM WebSphere Portlet Factory p. 266 Create and Test a Simple Portlet p. 266 Create and Test a Portlet That Accesses a Database p. 277 Create a Service Provider Model p. 277 Create a Service Consumer Model p. 280 Deploy a Portlet p. 284 Install a Portlet in IBM WebSphere Portal p. 285 Add a Portlet to a WebSphere Portal Page p. 288 Access a Portlet as a New User p. 292 Set Access Permissions for a Portlet p. 293 Summary p. 295 Service Security with IBM Tivoli Federated Identity Manager p. 297 Product Overview p. 297 What Are WS-Security and WS-Trust? p. 298 What Are Security Token Service (STS) and Web Services Security Management (WSSM)? p. 300 How Does It Support SOA? p. 302 p. 304 System Requirements p. 305 What Is Included in the CD-ROM? p. 306 Enable Security for a Service Provider p. 307 Configure a Service Provider to Use WSSM for Token Consumption Using RAD p. 308 Configure the STS Module Chain to Be Invoked by the WSSM Token Consumer Using TFIM p. 315 Deploy the Service Provider to WAS p. 321 Enable Security for a Service Requester p. 323 Configure a Service Requester to Use WSSM for Token Generation Using RAD p. 325 Configure the STS Module Chain to Be Invoked by the WSSM Token Generator Using TFIMp. 331 Deploy the Service Requester to WAS p. 336 Test the Service p. 339 Summary p. 340 Conclusion p. 342 Table of Contents provided by Blackwell's Book Services and R.R. Bowker. Used with permission.