2009/12/9 Jody Garnett <[email protected]>
> So you have a name? We like to be social around here ....
>
> You will find that geoserver has a dispatcher and a framework in the
> support of OGC style services. Have a look through the hello world tutorial
> (and the rest of the developers guide). You will find that requests are
> parsed into objects (which are then passed into the code that processes them
> - called a Response). Some responses (like those for WMS) have multiple back
> ends capable of different output formats.
>
> :) Sorry,You can call me JianFeng Zhang, I am a Chinese.
To this topic:
I have seen the helloworld example,is it under version 2.0?
What confusing me is the request dispatch:
Take the wcs for example, I found a AbstactControl in
org.geoserver.ows.Dispatcher,is it the front controller for all the ows
request?
However I do not find the code judging the request type, in my opinion it
should have some codes like the following:
-----------
String serviceType=Request.getParameter("service").......
if(serviceType.equals("WCS")}
// do the logic.....
}
-----------------------
So how does geoserver dispatch the request?
Also I found the wcs,wms,wps extend a AbstactService,and the related modules
contains some KVPReaders,,.....
For my case, I have a SOS service already, which contains a servlet named
SOSServlet to handle the request and return a response,I wonder if I can add
it to geoserver by dispatch the request to the SOSServlet?
> Regards,
> Jody
>
> On 09/12/2009, at 1:48 PM, maven apache wrote:
>
> Hi;
> I want to know the architectural of the ows (such as wcs wms),that's to
> say how to integrate them to the geoserver,and I follow the docs in the
> geoserver website:
>
> http://docs.geoserver.org/2.0.x/en/developer/programming-guide/ows-services/index.html
> But it has no contents.
> In my opinion each ows should own a service something like "wcsServlet,
> wmsServer...." to handle the request from the client side,however I have
> not found any servlets in the wcs or wms module, also not in the wps module.
>
> I know geoserver use spring as the ioc container which make it a little
> hard for my understanding. I appreciate some one can tell me the work flow
> of a ows, about how to receive the original request, how to dispatch ,handle
> it?
> Since I have a ows (SOS) already, I try to add it to the geoserver, :)
> Looking forward for reply.
> Thanks.
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
>
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel