There are a couple of reasons you might want to deploy Java server methods as BOF modules.
- You want to deploy the implementation in the same dar/docapp as the dm_method definition
- You want to avoid jar hell by avoiding the java_methods directory
- You want hot deployment for your method implementation
In order to deploy your method as a module you have to do the following:
- Define a module by subclassing DfSingleDocbaseModule or have your module implement the marker interface IDfModule directly
- Have your module implement IDfMethod – not IDmMethod (no interface jar)
- Put the module name – not the class name – in the command_verb of the dm_method object
- Make your module self-contained. You have no visibility to classes in the java_methods directory so you must be able to find anything you need in one or more BOF modules.
That’s it.
More information, please refer to
http://donr7n.wordpress.com/2008/10/20/methods-as-bof-modules/
http://developer.emc.com/developer/Articles/CreateGenericModule.htm
https://community.emc.com/message/3017;jsessionid=46C4E0068FA00C0B290C4F799249FBF6