Actually, I thought the logs were alright and quite adequate when it comes to SECAs. They do say which service triggered which action (another service).

At the moment, I can't imagine how the SECA logs can be further improved.

Even if not relying on logs, one can use grep fu to say "find all services that trigger this particular service". Hmm... I believe Adam Heath is also quite strong in the force here. :) For those trying to pick up OFBiz (or any other open source stuff) real quick, grep fu is certainly one good fu to pick up.

As for adding a ECA rule in some corner of an OFBiz implementation, and finding out months later that it broke things (this is mentioned in another message on the thread)... the above grep fu can help us make informed choices before we introduce those potentially destabilizing ECA rules.

Jonathon

[EMAIL PROTECTED] wrote:
BJ

You are not alone here.  Ofbiz is a great huge beast that unless you have
lived with it for years, you cannot possibly comprehend it all.  Sadly,
comments, and examples are fairly minimal.  Fortunately, documentation is
slowly improving.  Now if everyone would just comment the heck out of their
work, over time, things will improve.

The biggest problem I see is in the use of SECAs.  Things happen with these
bad boys that have you have no idea of unless you happened to write the
thing.

Skip

-----Original Message-----
From: BJ Freeman [mailto:[EMAIL PROTECTED]
Sent: Friday, November 02, 2007 7:07 PM
To: [email protected]
Subject: /framework/example


I am sometime, a slow dumb witted learner.
I have to have examples, and most importantly something that ties things
to gather step by step, from a code point on view.

I have been looking for a way to put this down for others that have a
hard time figuring things out.

here is an example.

in the /framework/example/webapp/example/WEB-INF/web.xml

I would like to see

<!-- Dispatcher and delegator are two of many parameter that are passed
in context which is a map of parameters search code for examples-->

<!-- Search for runsync( in code for how Dispatcher is used-->

    <context-param>
<param-name>localDispatcherName</param-name><param-value>example</param-valu
e>
        <description>A unique name used to identify/recognize the local
dispatcher for the Service Engine</description>
    </context-param>

<!-- See
http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setu
p+Guide
 Database Setup-->
<param-name>entityDelegatorName</param-name><param-value>default</param-valu
e>
        <description>The Name of the Entity Delegator to use, defined in
entityengine.xml</description>
    </context-param>

I am willing to add what I have learned this way into the example.
Hopefully others will do the same



Reply via email to