Architect Edition Overview

FireStorm/DAO™ Architect Edition allows custom code generation modules to be developed and integrated into the FireStorm/DAO™ product. The Archited Edition also ships with full source code for the product, including the user interface, allowing users to heavily customize FireStorm/DAO within their organization.

The FireStorm SDK provides two interfaces that must be implemented by user-defined code generation providers. These are the Provider and ProviderOptions interfaces.

Once the user-defined provider class has been developed it can be integrated with FireStorm/DAO™ by simply adding the class name to the firestorm-conf.xml file as in the following example:

<codegen-providers>
  <provider>com.mycompany.codegen.MyProvider</provider>
</codegen-providers>

This code generation provider will now be available within the "Generate" menu in the FireStorm/DAO™ user interface and will also be available to the Ant code generation task.

The following syntax can be used to invoke a user-defined code generation provider using Ant:

<codegen
  home="${firestorm.home}"
  src="${firestorm.home}/projects/myproject.xml"
  provider="myprovider"
  output="generated-code"
/>

For more information please refer to the Architect Edition documentation that ships with the product (the documentation is included in the Enterprise Edition which is free to download).