Component archives
A single descriptor file can serve to identify as many components as necessary. However, to register all the referenced component classes successfully, you need to provide them with the descriptor. If you create a .zip component archive that includes the descriptor file, all the referenced component classes, as well as all their non-WorldServer-based dependencies, you can then use this archive to register and deploy the components to WorldServer.
When creating component archives for your custom component modules, consider the following:
- The desc.xml file must be at the base of the archive.
- In the archive, classes must be located under the proper Java package structure. The base directory of the archive will be considered the root of the class path.
- The archive must not contain any .jar or .zip libraries, because they are not handled appropriately. To use such libraries, you must either expand them completely in your archive or have them added to the class path of your WorldServer installation.