Module Metadata


A module's metadata folder contains configuration information for the module, hibernate, and spring.

  • config.xml
  • *.hbm.xml files
    • There should be a mapping file for each entity that hibernate is maintaining. (FormEntryQueue.hbm.xml, FormEntryArchive.hbm.xml, etc)
    • Mapping files will be copied into /WEB-INF/ in the web layer and hibernate will pick up the files automatically
    • Further configuration is not needed
  • messages_*.properties files
    • Each locale supported should have its own properties file.
    • The * should be the two letter language code (es, de, fr, etc)
    • The default English property file can be named messages.properties
    • Each file specified needs to also be defined in the config.xml file.
  • moduleApplicationContext.xml
  • sqldiff.xml