Hi,
it depends what you want to achieve. The simplest is to make use of public api of jBPM to interact with process engine. Take a look at java docs for details.
jBPM by default provides freemarker templates to display task forms, but it is mainly targeted to be used with BPM Console.
HTH
Maciej