Using it
Basic usage of Speculoos follows the following pattern:
- Create a configuration descriptor, using either the console or
manually generating an XML file,
- 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,
- 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,
- Bundles everything together so that XML configurator can correctly
configures a MapperManager,
- Use Mapper Mananager to retrieve and use mappers.