[jBPM Development] - JBPM-2928 - BPMN2 - business rule task
by Maciej Swiderski
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"JBPM-2928 - BPMN2 - business rule task"
To view the discussion, visit: http://community.jboss.org/message/559870#559870
--------------------------------------------------------------
Hi,
I create prototype of business rule task for bpmn2 support. I tried to follow spec as much as possible (and as much as I understood it).
In general, it follows the same concept as RulesActivity and uses Drools for rules evaluation. So, you need to to provide facts for the business rule task that will be used to create state full knowledge session and fires all matching rules.
This is how definition of business rule task should look like (there can be many dataInputRefs)
<businessRuleTask id="_3" name="Validation">
<ioSpecification>
<inputSet>
<dataInputRefs>itemDefinition1</dataInputRefs>
</inputSet>
</ioSpecification>
</businessRuleTask>
In addition, item definitions should be declared
<itemDefinition id="itemDefinition1">
<jbpm:var name="fact" />
</itemDefinition>
I am not sure that referencing item definitions directly from dataInputRef is correct and according to spec?!
Complete example with all code changes can be found in https://jira.jboss.org/browse/JBPM-2928 jira
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559870#559870]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Tools] - Webinar tomorrow, Clouds and bringing life back to BPEL
by Max Andersen
Max Andersen [http://community.jboss.org/people/max.andersen%40jboss.com] modified the blog post:
"Webinar tomorrow, Clouds and bringing life back to BPEL"
To view the blog post, visit: http://community.jboss.org/community/jbosstools/blog/2010/08/31/webinar-t...
--------------------------------------------------------------
I'm returning from a way too busy 3-week vacation thus I thought I would give a little update on some of the events occuring while I was out.
h2. Webinar
First of, a reminder that tomorrow I'll be doing a webinar for JBoss Tools and Developer Studio in the http://jboss.org/webinars.html JBoss Developer Webinar Series.
The webinar will show off some of the JBoss Tools specific features in Eclipse but many of the tips and tricks I will be showing applies just as well to a plain Eclipse so there should be something for every taste ;)
You need to register to be able to join the webinar; the time and registration links are as follows:
*Date:* Sept 1, 2010 **
*Time:* 16:00 UTC, 12:00 Noon Boston, 9:00 San Francisco, 12:00 Midnight Singapore**
*Registration:* https://inquiries.redhat.com/go/redhat/20100901MadMaxTools Register Now
h2. Clouds
Last week, Red Hat revealed its strategy for http://www.jboss.com/solutions/PaaS/ Red Hat Platform-as-a-Service (PaaS) and JBoss Tools/Developer Studio is a major part of these efforts.
The functionallity we are adding is three levels of remote deployment and management of JBoss Application servers.
First level is to perform this via SSH and SCP (secure shell/secure copy) allowing it to work with all existings systems on your local or remote networks/clouds that you have SSH access to (that should cover most cases today ;) . In current versions we only had a SSH only server which did not integrate start/stop/debugging of JBoss AS easily; with this it will.
Second level is to provide Eclipse tooling for the current DeltaCloud which enables us to do portable start/stop of virtual machines at any cloud provider DeltaCloud has a driver for (i.e. RHEV-M, EC2, Rackspace, etc.). This integration will make it super easy to start and stop these instances and together with the SSH/SCP we are already well on our way to have a fully "cloud" enabled IDE with some manual work required.
Third level is to integrate with the CoolingTower functionallity which adds some more abstraction on and around the DeltaCloud API's allowing things like deployment and provisioning to be done just as portable as DeltaCloud is for start/stop of virtual machines. Within the IDE you will not notice this much, beyond the registration to the CoolingTower service and then you can develop/deploy/debug your locally developed applications in any cloud (public or private) that allows execution of Java EE based applications.
We've already been working on it for a while and you will soon see some of this functionallity in the milestone releases.
h2. BPEL at Eclipse
Now something completely different. We or rather Bob and Grid, have been working hard on providing a BPEL runtime ( http://jboss.org/riftsaw Riftsaw) and related BPEL Tooling (JBoss BPEL Tools). Initially we tried to do this as extensions on top of fine http://www.eclipse.org/bpel Eclipse.org BPEL functionallity but for some reason there were noone around the Eclipse BPEL project to react for any requests, patches or even doing releases for a long time.
Thus we got tired of waiting and forked of our own BPEL Tooling so we could fix bugs, do releases and move forward.
We did all this and still tried to bring life back into Eclipse.org BPEL project and eventually we got commit access and recently Bob Brodt took over leadership of the BPEL project. Thus we can now merge back our fork into Eclipse.org BPEL and start bringing some life into it again!
Bob outlines the planned work in his blog announcing the move http://dev.eclipse.org/blogs/bpel/2010/08/20/the-eclipse-bpel-designer-pr... here
h2. Questions/Comments ?
If you got questions about the Cloud and BPEL at Eclipse https://inquiries.redhat.com/go/redhat/20100901MadMaxTools join the webinar tomorrow for the Q&A or leave a comment here or on our forums.
Have fun!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/jbosstools/blog/2010/08/31/webinar-t...]
14 years, 4 months
[Beginner's Corner] - ajp session request remote address
by Nathan Boyce
Nathan Boyce [http://community.jboss.org/people/nateboyce] created the discussion
"ajp session request remote address"
To view the discussion, visit: http://community.jboss.org/message/559863#559863
--------------------------------------------------------------
I'm looking for a way to pull the ajp session request remote address's without using the web console. Anyone know of a better way to pull ajp session request address? I dont want to run this on a server with over 1000 active sessions because its going to run ("active session" + "1") twiddle request and take minutes to finish.
#!/bin/bash
HOST=localhost
#script start
res1=$(date +%s.%N)
AJPCOUNT=$(/usr/local/jboss/bin/twiddle.sh -s $HOST get "jboss.web:name=ajp-0.0.0.0-8009,type=ThreadPool" currentThreadCount |awk -F\= '{print $2}')
for X in $(seq 1 $AJPCOUNT); do /usr/local/jboss/bin/twiddle.sh -s $HOST get "jboss.web:name=AjpRequest$X,type=RequestProcessor,worker=ajp-0.0.0.0-8009" remoteAddr|awk -F\= '{print $2}';done |sort -n |uniq -c
#script end
res2=$(date +%s.%N)
echo "Elapsed Time: $(echo "$res2 - $res1"|bc )"
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559863#559863]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months