In this chapter you learned how to receive data into your application in the form of an event. You've seen the different ways an event and its attributes with types can be defined in XML or associated with a simple Java class.
We saw how to define a name for each event and discussed how events have a global scope in the entire OEP server on which they are deployed.
We looked at the out-of-the-box adapters and saw how we can customize them with a converter class to implement any specific data conversion logic that we may need while still leveraging the adapter's protocol capabilities.
We showed how easy it is to create your own adapter and how you take advantage of the lifecycle of an adapter to implement specific features of your adapter at the appropriate time. We also looked at how to leverage OSGi services when implementing our own custom adapter.
Finally, we looked at how we can package adapters and events separately from the main application so that they could be re-used. It is...