Using it

Basic usage of Speculoos follows the following pattern:

  1. Create a configuration descriptor, using either the console or manually generating an XML file,
  2. Create the necessary beans (business model) corresponding to those beans referenced by the configuration. Note that of course, this step can take place before configuration if manually editing,
  3. Creates the business logic classes, that is classes that use the mappers defined in the configuration descriptor. Applicative code can use composite mappers to create sophisticated behavior from atomic mappers defined earlier,
  4. Bundles everything together so that XML configurator can correctly configures a MapperManager,
  5. Use Mapper Mananager to retrieve and use mappers.