Creating and applying property sets
In the Using a custom property to populate a sequence attribute and Overriding doDML() to populate an attribute with a gapless sequence recipes of this chapter, we introduced custom properties for generic ADF business component programming. In this recipe, we will present a technique to organize your custom properties in reusable property sets. By organizing application-wide properties in a property set and exporting them as part of an ADF Library JAR, you can then reference them from any other ADF-BC project. This in turn will allow you to centralize the custom properties used throughout your ADF application in a single property set.
getting ready
We will create a property set in the SharedComponets
workspace. I suggest that you go over the Using a custom property to populate a sequence attribute and Overriding doDML() to populate an attribute with a gapless sequence recipes in this chapter before continuing with this recipe. To run the recipe's test cases...