Package Dependency Requirements and Guidelines
This section contains a list of dependency requirements and guidelines for user-defined packages. For instructions for setting package dependencies, see the webMethods Service Development Help for your release.
![*](chapterTOC_bullet.png)
A user-defined package must have a dependency on its associated adapter package, WmHBaseAdapter. (The WmHBaseAdapter package has a dependency on the WmART package.)
![*](chapterTOC_bullet.png)
Package dependencies ensure that at start-up the
Integration Server automatically loads or reloads all packages respectively: the WmART package, the adapter package, and the user-defined packages. The WmART package is automatically installed when you install
Integration Server. You should not need to manually reload the WmART package.
![*](chapterTOC_bullet.png)
If the connections and adapter services of an adapter are defined in different packages, then:
![*](chapterTOC_bullet.png)
A package that contains the connections must have a dependency on the adapter package.
![*](chapterTOC_bullet.png)
Packages that contain adapter services must have a dependency on their associated connection package.
![*](chapterTOC_bullet.png)
Keep connections for different adapters in separate packages so that you do not create interdependencies between adapters. If a package contains connections for two different adapters, and you reload one of the adapter packages, the connections for both adapters will reload automatically.
Integration Server will not allow you to enable a package if it has a dependency on another package which is disabled. That is, before you can enable your package, you must enable all packages on which your package depends. For information about enabling packages, see
Enabling Packages.
Integration Server will allow you to disable a package even if another package that is enabled has a dependency on it. Therefore, you must manually disable any user-defined packages that have a dependency on the adapter package before you disable the adapter package. For information about disabling packages, see
Disabling Packages.
![*](chapterTOC_bullet.png)
You can provide same name for the connections, and adapter services, if they are in different folders and packages.