Re: Business rules and filtering
Re: Business rules and filtering
- Subject: Re: Business rules and filtering
- From: Pascal Robert <email@hidden>
- Date: Thu, 14 Feb 2013 08:10:32 -0500
Le 2013-02-14 à 08:07, Ralph Scheuer <email@hidden> a écrit :
> Hi Pascal,
>
> You could consider the JBoss Drools Framework, or, if you want to implement more complex processes, jBPM.
Yeah, I was thinking of using Activiti (another BPM engine). And I wrote the workflow of the store in BPM notation (with OmniGraffle, the Actviti designer don't have all of BPMN activities).
> http://www.jboss.org/jbpm
>
> http://www.jboss.org/drools/
>
> JBPM comes with a nice Eclipse plugin that even lets you define the process as a nice flowchart and hook it up to your Java code.
>
> Advantage: the rules and the process model can be changed without redeploying the app, you just change the file and call a refresh method to read it.
>
> I am currently using this for validation rules in an online shop that needs frequent modifications of those rules.
>
> It's a piece of cake to integrate this into a WO app. All you need to do is add some Jars to your project.
>
> I have built a little test Project as a proof of concept. Let me know if you would like the source. If more people are interested, I might write a Wiki page…
I would like to see it, because I'm going to talk about Activiti at WOWODC! Viewing an example of jBPM would be nice too.
>
> Cheers,
>
> Ralph
>
> Von meinem iPad gesendet
>
> Am 14.02.2013 um 13:38 schrieb Pascal Robert <email@hidden>:
>
>> Hi guys,
>>
>> In a shopping cart, how would you apply discount based on business rules? For example, if someone buy a quantity of 3 of the same item, you apply discount X, or if an item is ordered before a certain date, you apply discount Y. Yes, I can do that all in code, but that's not very flexible.
>>
>> Any ideas?
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden