Any java API to create and deploy a form model?

hi All,

I just want to create a form model with code and make it referencable from flow modeler web application.

I’ve tried to just insert one record into ACT_DE_MODEL and mark its model_type as 2, it’s working and can be reference from flow modeler, but it’s better If there any java api can do this.

any input is appreciate.
Jack.

@Jack1 have you solved this problem? I have the same trouble as you.