前面概述了GeoServer的功能(GeoServer学习手记(一):GeoServer概述,http://blog.csdn.net/suen/archive/2009/10/25/4726204.aspx),和代码下载及在Eclipse中加载的方法(GeoServer学习手记(二):代码下载及在Eclipse中加载,http://blog.csdn.net/suen/archive/2009/10/25/4726733.aspx),接下来得开始正式的分析了。 分析的开始一般都会总体上来说一说,但是因为这是学习手记,我是边学习边写,对于架构还不能很好地把握,因此题目也只能说<浅谈>,只简单地转载其他的技术文章,同时说说我的理解.以后等我理解透彻再好好说说.这里也请各位读者谅解.(不知怎么的,Google的拼音调不到中文符号,只能用英文符号,晕) 1 GeoServer工程及设计(此部分内容转载,转载自http://geoserver./documentation/javadocs/index.html) The GeoServer Project - the open Internet gateway for geographic data
The GeoServer Project - the open Internet gateway for geographic data The GeoServer Project is a Java (J2EE) implementation of:
GeoServer is free software, available under the GPL 2.0 license. Users who would like to access and modify their geographic data over the Internet using flexible, industry-approved standards should take a look at GeoServer. GeoServer DesignGeoServer is constructed using a Layered Design as outlined in the diagram below. There are two Layer systems in use - the classic J2EE Servlet/Handler/Request/Response and the STRUTS Framework. Use of GeoTools2As seen in the above Layer Diagram GeoServer makes use of the wonderful GeoTools2 library to provide data access. GeoServer maintains its own geotools.jar available in the lib directory. This jar is often more recent then the latest GeoTools public beta. Many GeoServer classes implement GeoTools2 interfaces inorder to facilitate reuse and intergration with subsystems such as validation. 2 GeoServer架构(此部分内容转载,转载自http:///display/GEOSDOC/1+GeoServer+Architecture) The following diagram provides an Overview of the GeoServer architecture. The GeoServer application is comprised of a series of modules. GeoServer modules can be combined with our maven 2 build sytem to form a deployable war.
At runtime a module can make use of Spring to obtain classes providing services from other modules. This ability to "plug-in" additional functionality forms the basis for GeoServers extension mechanism. This mechanism is used to provide additional OGC web services (by the WFS and WMS modules) and to implement support for different WMS image encodings. The core geoserver modules serve as a useful example of how new services can be added. You can review the web module for an example of packaging modules into a deployable war. 备注: GeoServer采用分层设计,在GeoTools的基础上,实现了应用层和Web容器层的逻辑,主要工程包括Data,Main,Validation,Web,WMS,WFS等。由于基于Spring框架,系统具有良好的可扩展性,可增加新的服务 |
|