[Design of JBoss jBPM] - Re: Why is the console a different repos
by tom.baeyens@jboss.com
i think's unwise for jboss to invest in 2 engines and then select the best one in this particular case.
exploring 2 technological strategies/solutions and see what works would be justifyable. but that is imo completely different from the situation we're discussing.
in this case, there is no feature that they target that cannot be build on jbpm. from the beginning i have tried to collaborate by pointing out how all the features they requested could have been build on on jbpm. apart from taste, i have not been able to see a real reason why they had to do it different.
in their logic, they think that they are doing things differently (mostly joint process/rule execution, and nicer integrated in drools codebase/api). and therefor must build their own version of the pvm.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239383#4239383
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239383
15 years, 8 months
[Design of JBoss jBPM] - Re: Why is the console a different repos
by heiko.braun@jboss.com
anonymous wrote :
| But I think, thats not for us to discuss, it would be a JBoss management task.
|
No, it's definitely not a management thing. JBoss projects are still OSS run by the project leads. It's something the project leads need to discuss and decide. There will not be a top-to-bottom decision on this. Actually it can't if you think about the way projects are organized within jboss.
Avoiding the discussion, or doing it non-public doesn't help either. So I am glad you guys share your concerns. IMO a public statement like drools did is a good step into the right direction: http://www.jboss.org/drools/drools-flow.html
But on the other hand, if I compare it to the web service project, there has always been open source competition. In our case it was Metro and CXF. Still this didn't question our approach to provide JBossWS in the first place. But in the long run, community and users did decide for another stack. In this case CXF. But we did make all three of them available on jboss. IMO we'll see something similar with drools and jbpm.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239333#4239333
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239333
15 years, 8 months
[Design of JBoss jBPM] - Re: Extending jBPM, Plugging in custom IdentityService imple
by shekharv
That is neat!
Works like a charm!
We also are trying out another extension for jbpm from our end. This is similar to what jbpm3 had with regards to CustomTaskInstance(s).
Use Case: Domain specific Task information to be stored in a separate table and linked up via the taskid to the jbpm Task table. Enables some custom extensions and reporting for tasks.
In jBPM4 we added a custom activity:
<custom-task>
Put in the binding for the same using jbpm.user.activities.xml.
Our Custom Activity simply extends the TaskActivity provided out of the box, and over rides the execute method of task creation,
This is where we add the code to also fire off an insert into our custom table with all the information that we need to persist.
And since we need a handle to the Task ID, we cannot simple call super(execution)
and instead we have to copy some of the code from execute in TaskActivity
| public void execute(ActivityExecution execution) {
| JpdlExecution jpdlExecution = execution.getExtension(JpdlExecution.class);
| TaskImpl task = jpdlExecution.createTask(taskDefinition);
|
| CustomTask customTask = new CustomTask(task);
| customTaskDAO.create(customTask);
|
| TaskHandler taskHandler = task.getTaskHandler();
| boolean wait = taskHandler.executionCreateTask(task);
|
| if (wait) {
| execution.waitForSignal();
| }
| }
|
Again wondering if this is the best way to do so? How does the design of jBPM allow for solving this?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239313#4239313
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239313
15 years, 8 months