Adapter for Enterprise JavaBeans 6.5 SP3 | webMethods Adapter for Enterprise JavaBeans Documentation | webMethods Adapter for Enterprise JavaBeans Installation and User’s Documentation | Adapter Package Management | Managing the Adapter Package | Setting Package Dependencies
 
Setting Package Dependencies
You set package dependencies if a given package needs services in another package to load before it can load. For example, any packages you create for Adapter for Enterprise Javabeans services should identify the webMethods Adapter for Enterprise JavaBeans package (WmEJBAdapter) as a package dependency because they require services in the WmEJBAdapter to load first. Use the following guidelines:
*Set package dependencies from the adapter service package to the package containing the connection if you configure a connection in one package and the adapter services in another package. That is, the package that contains the connection should load before the adapter service package.
When you set this package dependency, it ensures that if someone disables the connection package and then re-enables it, the adapter services will reload correctly.
*If both the connection and adapter services are in the same package, set this package to have a dependency on the WmEJBAdapter package.
*In general, packages containing connections should have a dependency set to the adapter package itself. That is, the adapter service package should depend on the adapter connection package, which should depend on the adapter package. Similarly, if the adapter services are in the same package as the connections, the only dependency that you need to set is between the adapter connection package and the adapter package.
For more information about setting package dependencies, see the webMethods Service Development Help for your release.