You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jonathon -- Improov <jo...@improov.com> on 2007/12/30 03:57:31 UTC

Localservicemap and serviceReaderUrls

It appears it is possible to have private services defined within a webapp. Is that how parameter 
"serviceReaderUrls" (in web.xml) works?

Does it make sense to have little private services defined within a webapp, never to be reused by 
other webapps?

If the answer is no, then does it make sense to even have a separate dispatcher (WebAppDispatcher) 
for each webapp? Seems like all services in OFBiz are global, not private.

And by the way, why does ContextFilter not automatically create a WebAppDispatcher when no 
"localDispatcherName" parameter is defined? It does so for a GenericDelegator.

Jonathon

Re: Localservicemap and serviceReaderUrls

Posted by BJ Freeman <bj...@free-man.net>.
I think this is from a previous version of obiz
the services.xml does not exits. WEB-INF/services.xml is configuration
files not a service.
now reader info is gotten from the ofbiz-components.xml
and yes the reader is global and reads different data from each app.

the default dispatcher is defined in the is used to access the app
specific services.

note: the default delegator is defined in framework/entity/entityengine.xml.


Jonathon -- Improov sent the following on 12/29/2007 6:57 PM:
> It appears it is possible to have private services defined within a
> webapp. Is that how parameter "serviceReaderUrls" (in web.xml) works?
> 
> Does it make sense to have little private services defined within a
> webapp, never to be reused by other webapps?
> 
> If the answer is no, then does it make sense to even have a separate
> dispatcher (WebAppDispatcher) for each webapp? Seems like all services
> in OFBiz are global, not private.
> 
> And by the way, why does ContextFilter not automatically create a
> WebAppDispatcher when no "localDispatcherName" parameter is defined? It
> does so for a GenericDelegator.
> 
> Jonathon
> 
> 
>