Thanks Matthew. Good idea - we'll look into that. Cheers, David.
________________________________ From: Matthew Adams <[email protected]> To: [email protected] Cc: GESCONSULTOR - Óscar Bou <[email protected]> Sent: Thursday, 8 August 2013 12:53 AM Subject: Re: rules externalised from the code Just a thought, but you might consider using Groovy to script the rules. Your domain objects can store the script text in the appropriate domain object, then you can create a Groovy scripting context, compiling the script & binding the appropriate variables into its context (like "this") to allow the script author to access whatever he needs. That way, you have full programming control in the script with no Java recompilation as the rules change. -matthew On Wed, Aug 7, 2013 at 5:20 AM, David Tildesley <[email protected]> wrote: > Hi Oscar, > Thanks. That's handy. We'll explore that new feature. > > Cheers, > David. > > Sent from Yahoo! Mail on Android > > -- mailto:[email protected] <[email protected]> skype:matthewadams12 googletalk:[email protected] http://matthewadams.me http://www.linkedin.com/in/matthewadams
