Embedded/external forms

Can embedded forms be .form files rather than html. They fail if
I use them in the twitter example
How can I use Camunda forms so they work in the java executable jar after Maven install