Login  Register

Users - Services and dispatchers

Posted by Firas A.-2 on May 21, 2006; 5:19pm
URL: http://ofbiz.116.s1.nabble.com/Users-Services-and-dispatchers-tp139382.html

Hello,

I need to understand one thing: What's the added value of running services
throw a dispacther. For ex:
dispatcher.runSync("calculateProductPrice", priceContext);

Would it be wrong to call PriceServices.calculateProductPrice() directly
(and pass all the requested parameters to it)?

Thanks!

</Firas>


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users