if you have in mind jBPM console I think there are two things to do:
- define your custom service task in CustomWorkItemHandlers.conf that should be embedded in jbpm-gwt-console-server.war/WEB-INF/classes/META-INF
- place your custom work item handler on server class path
HTH