In an XAR definition, you can specify that an RM switch module be registered either statically or dynamically:
In general, dynamic registration is preferred because it requires less overhead, especially when multiple XARs have been defined.
As discussed in Building RM Switch Modules, both static and dynamic versions of an RM switch module are created during generation.
Once you have generated your switch modules, you specify either the dynamic or the static module as part of the XAR definition - the field module. This tells the enterprise server region what module to use and whether to register it statically or dynamically. See Defining XARs for more information.