You can share classes, with only one instance created by using IS package dependencies. You can set these from Developer by doing right click Open on the package and clicking the add dependency button. Enter the package name and you can use . for the version.
MySharedPackage
/code/jars/myutils.jar
MyPackage1 dependent on MySharedPackage
services that reference myuyils.jar
MyPackage2 dependent on MySharedPackage
services that reference myuyils.jar
This kind of construct keeps stuff off the server classpath, allows you to fully install your stuff via package replication. The only issue is that if you reload MySharedPackage the package classloader gets thrown away and I’m not sure if those dependent packages are automatically reloaded.
HTH,
Fred
#Integration-Server-and-ESB#webMethods-General#webMethods