Developing java application using embedded camunda

864 views
Skip to first unread message

vasif...@gmail.com

unread,
Jul 30, 2015, 7:11:38 AM7/30/15
to camunda BPM platform contributors
Hello
I want to develop application using Camunda Bpm
i am searching simple model example that use camunda api , db and html forms.
thanks.

Vasif
Best regards

thorben.lindhauer

unread,
Jul 30, 2015, 7:17:07 AM7/30/15
to camunda BPM platform contributors, vasif...@gmail.com
Hi Vasif,

Perhaps the getting started guide for developing process applications is what you are looking for: http://docs.camunda.org/7.3/guides/getting-started-guides/developing-process-applications/

Cheers,
Thorben

vasif...@gmail.com

unread,
Jul 30, 2015, 7:23:39 AM7/30/15
to camunda BPM platform contributors, thorben....@camunda.com
Thanks your reply Thorben
I have done that example. I dont want to use camunda distubution servers

thorben.lindhauer

unread,
Jul 30, 2015, 7:28:07 AM7/30/15
to camunda BPM platform contributors, vasif...@gmail.com
So would you like to use an embedded or a shared process engine? See [1] for the distinction.

[1] http://docs.camunda.org/7.3/guides/user-guide/#introduction-architecture-overview-camunda-bpm-platform-architecture

vasif...@gmail.com

unread,
Jul 30, 2015, 7:39:39 AM7/30/15
to camunda BPM platform contributors, thorben....@camunda.com
i have added camunda jar files into my project. i will not use any container
I will just test process model using something like gettasklist, assignTask(userid), claimTask etc.
sorry my english((

thorben.lindhauer

unread,
Jul 31, 2015, 11:33:20 AM7/31/15
to camunda BPM platform contributors, thorben....@camunda.com, vasif...@gmail.com
Hi Vasif,

Perhaps example [1] is useful to you.

It implements a unit test that

a) starts an embedded process engine
b) completes a user task via TaskService API
c) implements a service task

For details on how to create and configure an embedded process engine, I can also recommend the user guide [2].

There is not yet an example of how to use processes with an embedded engine in combination with Camunda Tasklist for form display. If that is what you need, you could have a look at example [3]. Note that this example assumes that you use a shared engine and webapps of the pre-built distribution.

If you want to use an embedded engine, make sure to:

1) Work with one of our supported containers (like Tomcat, JBoss, etc.). Tasklist cannot run on its own.

2) Change the form paths in the BPMN XML from something like

embedded:app:start-form.html

to

embedded:/path-of-your-webapplication/start-form.html

3) Deploy your process application as a web application to your server.

4) Deploy the standalone Tasklist webapp to your server [4]. Make sure to read the webapp installation guide [5] and especially the part on configuring the database connection.

I hope that helps.

Best regards,
Thorben

[1] https://github.com/camunda/camunda-bpm-examples/tree/master/servicetask/service-invocation-synchronous
[2] http://docs.camunda.org/7.3/guides/user-guide/#application-managed-process-engine
[3] https://github.com/camunda/camunda-bpm-examples/tree/master/usertask/task-form-embedded
[4] http://docs.camunda.org/7.3/guides/user-guide/#introduction-download-standalone-web-application-distribution
[5] http://docs.camunda.org/7.3/guides/installation-guide/standalone/
Reply all
Reply to author
Forward
0 new messages