[OFBiz] Dev - Different Datasource NON-JDBC Best Practice

mpf at zentric.com mpf at zentric.com
Mon Aug 2 08:41:08 EDT 2004






David
David Jones <jonesde at ofbiz.org> wrote on 02.08.2004 12:38:54:
> creating a service that represents each of those routines locally fits
> in much cleaner and my guess is that it would be easier to write and
> maintain.
....
> but I think it makes much more sense to keep it on the logic level in
> OFBiz too, which would be with services.
I looked at
      components\product\servicedef\services.xml
and
    components\product\script\org\ofbiz\product\price\pricesservices.xml
it seems that there are no services that are reading the calculated prices!
The only place
were pricereading logic is implemented is
\org\ofbiz\product\price\priceservice.java
So we are currently modifieing that file to get the job done.
This ended up in throwing away almost all existing code there and replacing
it with the SAP-Logic.

Is that what you mean with "keep it on the logic level" ?

Thanks for support!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/dev/attachments/20040802/09ce2cba/attachment.htm


More information about the Dev mailing list