Enabling Caching

Caching of server side files can be enabled per project to speed up the connection to the M3 Business Engine (BE) server or the time used in building of Java resources in M3 Adaptation Kit (MAK). The cached files can be shared between workspaces and projects in MAK. When the cache is enabled, the server side files that are more or less static are copied to the local cache folder. MAK automatically creates a local version of some parts of the M3 file structure that are considered common and static, such as the following:

  • Foundation libraries and javadoc

  • Classes in the base structure for any component

  • Classes in the VFix structure for standard, industry, and market components

Some of the files are packaged into zip files when the local cache structure is created to save space and increase performance when enabling the cache. The said zip files are also put in a cache folder under <MAK_HOME>, <M3 root>\tools\mak\cache, to be picked up by subsequent projects that enable the caching functionality against the same server.