Hi Ralph,
That wil be nice of you
Saludos.

From: [email protected]
Subject: Re: Business rules and filtering
Date: Thu, 14 Feb 2013 14:07:42 +0100
To: [email protected]
CC: [email protected]

Hi Pascal, 
You could consider the JBoss Drools Framework, or, if you want to implement 
more complex processes, jBPM. 
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...

Cheers, 
Ralph

Von meinem iPad gesendet
Am 14.02.2013 um 13:38 schrieb Pascal Robert <[email protected]>:

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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/ralph.scheuer%40gmx.net

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/racso_gp%40hotmail.com

This email sent to [email protected]                                         
  
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to