how to implement workflow in java
A Workflow Precess Step implementation in Java is a Class which implements the Interface JavaProcessExt (or JavaProcess if no external attributes are used). This Class must be a OSGI Service and implement the method execute(WorkItem item, WorkflowSession session, String[] args).