Application Patterns (Model + Code)

To get you going with a code based project as fast as possible, Enterprise Architect helps you to generate starter projects including model information, code and build scripts for one of several basic application types. Patterns include:

  • MFC Windows applications
  • Java programs
  • ASP.NET web services

Access Package | New (Ctrl+Shift+M) > Application Patterns

Project Browser | Right-click on a Package | Add a Model using Wizard > Application Patterns

Generate Models



See also


Select the appropriate technology.


Displays the application patterns available for the selected technology; select the required pattern to import.


Displays a description of the selected pattern.

Destination folder

Browse for and select the directory in which to load the source code for the application.

Use Local Path

Enable the selection of an existing local path to place the source code under; changes the 'Destination folder' field to a drop-down selection.

Compiler command

Displays the default compiler command path for the selected technology; you must either:

  • Confirm that the compiler can be found at this path, or
  • Edit the path to the compiler location

Local Paths Local Paths Dialog

Edit Local Paths

Many application patterns specify their compiler using a local path.

The first time you use any pattern you must click on this button to ensure the local path points to the correct location.

The 'Local Paths' dialog displays.


  • If required, you can define custom application patterns by adding files to the AppPatterns directory where Enterprise Architect is installed; top level directories are listed as Technologies and can contain an icon file to customize the icon displayed for the technology
    Directories below this are defined as groups in the patterns list; the patterns are defined by the presence of four files with a matching name: a zip file (.zip), XMI file (.xml), config file (.cfg) and optional icon (.ico)
  • The config file supports these fields:
         -  [provider], [language], [platform], [url], [description], [version] - all displayed in the <description> field
         -  [xmirootpaths] - the root path of the source code in the exported xmi; this is replaced with the selected destination
            folder when the user applies the application pattern

Learn more