Ofbiz is internally using RMI or Webservices ??

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ofbiz is internally using RMI or Webservices ??

Pankaj.Jain
Hi

In ofbiz to invoke services we use dispatcher.runSync() method, to invoke
events we just mention them in controller.xml
I want to know how we are actually invoking or calling any method or
service through remote client ( using web browser)

ie internally ofbiz is  using RMI or webservices or something else ?? , I
am very confused about it please do help ??

Thanks & Regards:

Pankaj Jain | L&T infotech |Navi Mumbai
"Whatever the mind of man can conceive & believe, it can achieve."



______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz is internally using RMI or Webservices ??

Jacques Le Roux
Administrator
Sorry but your question is not crystal clear to me.
Do you want to know how to call OFBiz services externally as Web services (example SOAP) or do you want to know how works OFBiz
services internally ?

Jacques

From: <[hidden email]>

> Hi
>
> In ofbiz to invoke services we use dispatcher.runSync() method, to invoke
> events we just mention them in controller.xml
> I want to know how we are actually invoking or calling any method or
> service through remote client ( using web browser)
>
> ie internally ofbiz is  using RMI or webservices or something else ?? , I
> am very confused about it please do help ??
>
> Thanks & Regards:
>
> Pankaj Jain | L&T infotech |Navi Mumbai
> "Whatever the mind of man can conceive & believe, it can achieve."
>
>
>
> ______________________________________________________________________


Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz is internally using RMI or Webservices ??

Pankaj.Jain
Hi

In ofbiz  I think we are directly invoking business logic (ie services or
events) after getting local dispatcher and delegator object in
ContextFilter and ControlServlet and then storing them in session, request
or context scope.
In dispatchers I found just RMIDispatcher which is a remote object ( ie
using this we can invoke remote methods, am I right?) other dispatchers
can't invoke remote methods or, are not capable of RMI

when we say dispatcher.runSync(),  I don't think we are using any
webservices concept here( please clarify me if I am wrong ??) I think here
we are using concepts of java reflection api to invoke services.

So My point is when we enter url  (say
"https://localhost:8491/partymgr/control/main" or other) how my business
logic is being executed ??  like in struts for business logic we use EJB's
that is internally using RMI.

As I am seing the code, I am finding that we are creating jar files of
business logic and directly putting them on webapps or war file them and
deplying them on server.  Am I right ??

I just want to know more of these concepts in ofbiz .

Thanks & Regards:

Pankaj Jain | L&T infotech |Navi Mumbai






Sorry but your question is not crystal clear to me.
Do you want to know how to call OFBiz services externally as Web services
(example SOAP) or do you want to know how works OFBiz
services internally ?

Jacques

From: <[hidden email]>
> Hi
>
> In ofbiz to invoke services we use dispatcher.runSync() method, to
invoke
> events we just mention them in controller.xml
> I want to know how we are actually invoking or calling any method or
> service through remote client ( using web browser)
>
> ie internally ofbiz is  using RMI or webservices or something else ?? ,
I

> am very confused about it please do help ??
>
> Thanks & Regards:
>
> Pankaj Jain | L&T infotech |Navi Mumbai
> "Whatever the mind of man can conceive & believe, it can achieve."
>
>
>
> ______________________________________________________________________



______________________________________________________________________



______________________________________________________________________