The Web Graph Database

wiki:CodeGenerator

Term: CodeGenerator

The InfoGrid CodeGenerator interprets InfoGrid Models, checks them for correctness, and generates code from them.

It can generate:

  • ModelModuleAdvertisements for the Module Framework. This enables applications to discover the available Models at run-time,
  • XML files containing the Models (essentially the same as the input files). Used for normalization of the Model XML.
  • ModelLoader classes that instantiate the Model when run. This is a faster way of instantiating the Models at run-time as it requires no XML parsing.
  • Java interfaces and classes, inheriting from TypedMeshObjectFacade, that implement a type-safe facade of MeshObject for any given EntityType. This enables developers to use a Java interface Customer, for example, for MeshObjects blessed with a Customer type, instead of the generic MeshObject interface.

See also:

Last modified 5 years ago Last modified on 01/19/10 03:58:43