Part 3. Runtime policies

 

In the second part of the book we looked at the policies that can be applied during design time. Once a service is created and is ready to be deployed, we enter the runtime governance phase. In this phase we want to be able to monitor our services and make sure they comply with the policies we defined. In this last part of the book we’ll look at runtime governance and how tools can help you in creating such a monitoring environment.

You’ll start by creating a runtime governance environment using the open source Bamos server. This is an easy-to-use event processing server that you can easily integrate with your existing services and applications. In chapter 7 I’ll show you how to use the Bamos server to monitor various metrics of your application.

Besides monitoring your services it’s important to have a well-defined lifecycle for your services and policies. A well-defined service lifecycle helps in communicating when your service is ready to be tested, can be used by your consumers, and finally becomes obsolete and is removed. Besides a service life-cycle I’ll also show you how you can define a lifecycle for the policies you define.

In the last chapter of this part, we’ll focus on how you can integrate the various tools and techniques we discussed in this book with existing tools. I’ll show you examples of how to integrate ESBs, BPM tools, and various non-Java languages.