yes, it can be done with jBPM5 and much more :)
To have similar functionality as java activity in version 4 you should use ServiceTask of BPMN2. Please take a look at examples shipped with jBPM5 and get started with documentation.
Reply to this message by going to Community
Start a new discussion in jBPM at Community