-
1. Re: JBPM basic questions
salaboy21 Nov 21, 2013 4:20 AM (in response to careerscale)HI Hiranath,
You can take a look at this repository: https://github.com/droolsjbpm/jbpm-playground
for project examples. Now in version 6 we have introduced the concept of kjar which is a deployable unit, which means that you can deploy into a runtime environment to execute your business processes.
Of course that you can use a simple approach and embed jBPM as a framework in your application. Look at the *-test projects, they show how to instantiate the Process Engine using the Runtime Manager. Those tests cases are exactly the same as if you were creating a very simple app to run the processes.
HTH
-
2. Re: JBPM basic questions
careerscale Nov 21, 2013 5:55 AM (in response to salaboy21)Thanks. sure I will check the examples.
Also I am following your book as well.
-
3. Re: JBPM basic questions
salaboy21 Nov 21, 2013 5:57 AM (in response to careerscale)Great, some of the things had changed for the better, the introduction of the Runtime Manager will help you a lot to get you started.
Cheers
-
4. Re: JBPM basic questions
careerscale Nov 21, 2013 7:40 PM (in response to salaboy21)yes, the new API looks better, older one is tricky manage the tasks through code, i couldn't get to do that with 5.x but with latest one it is lot easier.
thanks for pointing it out
-
5. Re: JBPM basic questions
careerscale Nov 22, 2013 2:28 AM (in response to salaboy21)Also do you have any suggestions for me to deploy database (mysql) on my own and use the jbpm as part of my application on stand alone basis?
I tried executing the script files in my local computer, here is how the location of these files look like
C:\Users\harinath\Documents\GitHub\jbpm\jbpm-installer\db\ddl-scripts\mysql5
is this correct one? I tried adding META-INF/persistence.xml and change the properties to reflect mysql.
but still I am getting errors like this
2013-11-22 12:51:52,540 [main] ERROR HHH000388: Unsuccessful: alter table Attachment add index FK_7ndpfa311i50bq7hy18q05va3 (attachedBy_id), add constraint FK_7ndpfa311i50bq7hy18q05va3 foreign key (attachedBy_id) references OrganizationalEntity (id)
2013-11-22 12:51:52,546 [main] ERROR Unknown data type: "FK_7NDPFA311I50BQ7HY18Q05VA3"; SQL statement:
alter table Attachment add index FK_7ndpfa311i50bq7hy18q05va3 (attachedBy_id), add constraint FK_7ndpfa311i50bq7hy18q05va3 foreign key (attachedBy_id) references OrganizationalEntity (id) [50004-168]
I am sure there must be some instructions somewhere which do not talk of jboss and jbpm-installer and may solve my problem.
can you provide me some pointer towards the same?