Localservicemap and serviceReaderUrls

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

Localservicemap and serviceReaderUrls

jonwimp
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
Reply | Threaded
Open this post in threaded view
|

Re: Localservicemap and serviceReaderUrls

BJ Freeman
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
>
>
>