On 2001.11.12 11:15:59 -0500 Terry Dexter wrote:
>
> > Could I ask how you are planning to connect the rules engine to Castor
> or
> > for that matter any java code?
>
> I'm not sure on the particular implementation details at this point. I'm
> interested in managing business rule logic for a large data-entry and
> reporting application. When the number of concurrent states for an
> object
> grows, the complexity of the number of invalid states also grows
> exponentially. Ultimately, it would be desirable to check for rule
> conflicts and missing rules in the business logic.
Ok, you might be interested in what I did. I didn't want the rules
application to affect the ejb's in any way, so I used the meta-class
capabilities of the ejb container to call out to the rule engine on ejb
method invocations (either call or return). (this is very easy in jboss). I
haven't figured out any way to do this in Castor or jdo, since the method
invocations are plain java. It seems to me that the only way to connect
rules into a spec-compliant jdo implementation (I don't know how Castor
works) is through the persistence manager- when it tries to store the data
it can check rules. IMHO this is useful but less flexible than being able
to check rules on method invocation. So far this leads me to
(conceptually) prefer EJB 2 to JDO. I would be very interested to hear of
any other connection method you come up with.
Thanks
david jencks
>
> -terry
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev