There are no instances created for your services as all service methods are static. LocalDispatcher (or RemoteDispatcher for RMI) is the class responsible for calling your services using runSync or runAsync methods. Your services are defined in a xml file and included in ofbiz-component.xml file of your application. When your component is loaded, your services are also loaded. You can check the webtool app for the available services.

Thanks,

Raj

On 07/07/10 13:29, BJ Freeman wrote:
look for a service that is java for an example

soumya jyoti guru sent the following on 7/7/2010 12:33 AM:


=========================
BJ Freeman <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man

Hi all,
        While writing services, I found that I am writing it similarly
as if i am writing a class.So as a beginner i would like to know that
do we need to create any object to make this services work?
         Do this services work similar to class and if they work
similar than how and, if not than how they work?I would be very
helpful if somebody shows me the flow with some simple codes and
explaining the necessary tags.
with regards
Soumya



Reply via email to