Deploy custom filters as part of a deployment unit.
There are two methods that are supported.
- Create a JAR of the class.
- Deploy the JAR, by packaging it in a deployment unit using either:
- (Recommended) Unwired WorkSpace development tooling. During deployment of an MBO package, you can also deploy the JAR file. See Unwired
WorkSpace - Developing Mobile Business Objects > Packaging and Deploying Mobile
Business Objects.
- The Deploy command line utility. See System Administration of the Unwired Platform > System Reference > Command Line Utilities > Unwired Server Runtime Utilities > Package Administration Utilities > Deploy Application Package (deploy) Utility.
The packaged classes are copied to <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\deploy\sup\<deployment-packageName>\lib by the tool you use. In this case, the deployed package automatically refreshes, so no server restart is required.