CHAPTER 2 Providing and Consuming Services

Service Oriented Architecture (SOA) is becoming an increasingly prevalent part of portlet design. A pattern I will refer to as the “service provider/consumer pattern” is employed to implement SOA in WebSphere Portlet Factory applications—in this chapter, you learn what this pattern is and how to use it. You also use the pattern to build a simple portlet that retrieves a staff roster, and you learn about how you can stub services to help test your portlets. By the end of the chapter you will understand the advantages provided by the service provider/consumer pattern, and you will be able to implement it effectively in other scenarios.

The files used in this chapter are available for download from ibmpressbooks.com/title/9780137134465 ...

Get Rapid Portlet Development with WebSphere Portlet Factory: Step-by-Step Guide for Building Your Own Portlets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.