GeoServer

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoServer 
GeoServer
License:GNU General Public License (GPL)
URL:http://geoserver.org/
Description:GeoServer is an open source server that connects your information to the Geospatial Web.
Package NameComment
net.opengis.ows
net.opengis.ows.impl
net.opengis.wfs
net.opengis.wfs.impl
net.opengis.wfsv
net.opengis.wfsv.impl
net.opengis.wfsv.util
org.geoserver
org.geoserver.data
org.geoserver.data.test
org.geoserver.feature
org.geoserver.feature.retype
org.geoserver.filters
org.geoserver.logging
org.geoserver.ows
org.geoserver.ows.adapters
org.geoserver.ows.kvp
org.geoserver.ows.security
org.geoserver.ows.util
org.geoserver.ows.xml.v1_0
org.geoserver.platform
org.geoserver.platform.util
org.geoserver.request
org.geoserver.security
org.geoserver.template
org.geoserver.test
org.geoserver.test.ows
org.geoserver.util
org.geoserver.wcs
org.geoserver.wfs
org.geoserver.wfs.kvp
org.geoserver.wfs.response
org.geoserver.wfs.v1_1
org.geoserver.wfs.xml
org.geoserver.wfs.xml.filter.v1_1
org.geoserver.wfs.xml.gml3
org.geoserver.wfs.xml.v1_0_0
org.geoserver.wfs.xml.v1_1_0
org.geoserver.wfs.xml.xs
org.geoserver.wfsv
org.geoserver.wfsv.kvp
org.geoserver.wfsv.response.v1_0_0
org.geoserver.wfsv.response.v1_1_0
org.geoserver.wfsv.xml.v1_1_0
org.geoserver.wms
org.geoserver.wms.kvp
org.geoserver.wms.util
org.geoserver.wms.xml
org.geotools.referencing.operation.projection
org.mortbay.start
org.mortbay.stop
org.vfny.geoserver GeoServer package

Contains all interface servlets, one for each WFS response.

This appears out of date. Appears to have tomcat and execption handling 12/17/03 dz.

GeoServer Exception revolves around the ability of ServiceException to turn itself into a propert XML response document.

We have chosen to embed a version of Tomcat to provide an easier setup process for new users.

org.vfny.geoserver.action
org.vfny.geoserver.action.data package org.vfny.geoserver.action.catalog Contains Actions for configuring the GeoServer Data Model.

All GeoServer STRUTS Actions should be branched off of GeoServerAction which provides authentication for the configuration system.

In the future we may wish to rethink this policy of other subsystems beside configuration start to make use of the STRUTS framework.

org.vfny.geoserver.action.global
org.vfny.geoserver.action.validation
org.vfny.geoserver.action.wcs package org.vfny.geoserver.action.wfs Contains Actions for configuring the GeoServer Web Feature Server.

All GeoServer STRUTS Actions should be branched off of GeoServerAction which provides authentication for the configuration system.

In the future we may wish to rethink this policy of other subsystems beside configuration start to make use of the STRUTS framework.

org.vfny.geoserver.action.wfs package org.vfny.geoserver.action.wfs Contains Actions for configuring the GeoServer Web Feature Server.

All GeoServer STRUTS Actions should be branched off of GeoServerAction which provides authentication for the configuration system.

In the future we may wish to rethink this policy of other subsystems beside configuration start to make use of the STRUTS framework.

org.vfny.geoserver.action.wms package org.vfny.geoserver.action.wms

Contains Actions for configuring the GeoServer Web Map Server.

All GeoServer STRUTS Actions should be branched off of GeoServerAction which provides authentication for the configuration system.

In the future we may wish to rethink this policy of other subsystems beside configuration start to make use of the STRUTS framework.

org.vfny.geoserver.config GeoServer Config package Configuration Model being edited.

This class opperates as the Configuration Model and is stored in Web Container.

Details:
  • Represents the Model of the STRUTS based Model-View-Controller Design
  • Will support additional user-interface state, beyond requirements of the GeoServer application.
  • Makes use of GeoTools2 Catalog/DataStore for FeatureType type names and FeatureType schema information/generation.
  • To access live content, use the DataConfig.findDataStore()

Of the course of sorting this stuff out we have had a couple of bad ideas:

  • It is tempting to replace a lot of these classes by changing the scope of the FormBeans to session, rather than request. I cannot convince my self that this would be a good idea, as storing the configuration model (and associated resources in the Web Container) is sure to prevent duplication in the face of multiple users configuring differnt subsystems. If the state was limited to session - they would manage to overwrite each other with no prior warning.
  • It is tempting to make the Actions use the DTO objects directly (or forgo the config classes entierly). Having the config classes allows us to make whatever methods we need for easy, quick ui developement without breaking the rest of the application.
org.vfny.geoserver.config.validation Validation Config package Validation Model being edited.

This class opperates as the Validation Model and is stored in Web Container.

Details:
  • Represents the Model of the STRUTS based Model-View-Controller Design
  • Will support additional user-interface state, beyond requirements of the GeoServer Validation application.
  • Makes use of GeoTools2 and Vivid.

Of the course of sorting this stuff out we have had a couple of bad ideas:

  • It is tempting to replace a lot of these classes by changing the scope of the FormBeans to session, rather than request. I cannot convince my self that this would be a good idea, as storing the configuration model (and associated resources in the Web Container) is sure to prevent duplication in the face of multiple users configuring differnt subsystems. If the state was limited to session - they would manage to overwrite each other with no prior warning.
  • It is tempting to make the Actions use the DTO objects directly (or forgo the config classes entierly). Having the config classes allows us to make whatever methods we need for easy, quick ui developement without breaking the rest of the application.
org.vfny.geoserver.config.web
org.vfny.geoserver.config.web.tiles
org.vfny.geoserver.config.web.tiles.definition
org.vfny.geoserver.config.web.tiles.taglib
org.vfny.geoserver.crs
org.vfny.geoserver.filters
org.vfny.geoserver.form GeoServer Form Package (STRUTS) Java Beans used to represent input screens (STRUTS Form Beans).

FormBeans are used to communicate the state of the view to/from the Model.

Capabilites:

  • FormBeans are derived from ActionForm
  • FormBeans have a validate method for simple sanity checks
  • FormBeans have a reset method which we will use to aquire the model state for editing by the user
We may be able to replace the use of most simple FormBeans with use of the STRUTS DynaBean and Validation Framework. This allows us to make use of Maps, and to declaritively constrain input (rather than programatically with the validate method).
org.vfny.geoserver.form.data package org.vfny.geoserver.form.data

Contains Form Beans describing the GeoServer Data Model.

FormBeans should be derived from ActionForm. FormBeans are used to communicate the state of the view to/from the Model. They hold the validate method which should do some basic sanity checks. Actually testing that the model works should be left to the config package.

org.vfny.geoserver.form.global
org.vfny.geoserver.form.validation
org.vfny.geoserver.form.wcs package org.vfny.geoserver.form.wfs

Contains Web Feature Server Form Beans.

FormBeans should be derived from ActionForm. FormBeans are used to communicate the state of the view to/from the Model. They hold the validate method which should do some basic sanity checks. Actually testing that the model works should be left to the config package.

org.vfny.geoserver.form.wfs package org.vfny.geoserver.form.wfs

Contains Web Feature Server Form Beans.

FormBeans should be derived from ActionForm. FormBeans are used to communicate the state of the view to/from the Model. They hold the validate method which should do some basic sanity checks. Actually testing that the model works should be left to the config package.

org.vfny.geoserver.form.wms package org.vfny.geoserver.form.wms

Contains Web Map Server Form Beans.

FormBeans should be derived from ActionForm. FormBeans are used to communicate the state of the view to/from the Model. They hold the validate method which should do some basic sanity checks. Actually testing that the model works should be left to the config package.

In the future we may wish to rethink this policy of other subsystems beside configuration start to make use of the STRUTS framework.

org.vfny.geoserver.global GeoServer Global Maintains the GeoServer applicaiton state (This is the Application).

Common state used by the GeoServer Servlets is maintained by this package.

Features:
  • Contains the actual server state - that is WMS reflects the state of the Web Map Server
  • These classes should be saved in the Web Container (rather than the current singletons)
  • Application set up is provided using Data Transfer Objects from the global.dto package. Both the initial loading the initial XML configuration files and the dynamic configuraiton systems are handled in this manner.
  • Data contains "real" GeoTools2 DataStores with JDBC connections (and implements the GeoTools2 Catalog Interface)

GeoServer State Diagram

We would like to bootstrap this process using the STRUTS plug-in interface and store the GeoServer application state in the Web Container. Currently this information is accessed by a singleton, and bootstraped by the first GeoServer servlet request (JG - I think ).

org.vfny.geoserver.global.dto GeoServer Global DTO Maintains the Data Transfer Objects used to set up GeoServer.

Application set up is provided using Data Transfer Objects from this package. Both the initial loading the initial XML configuration files and the dynamic configuraiton systems are handled using these objects.

The use of Data Transfer Objects allows the Global package to not depend on either the Persistence Method (some DataStore configuration infromation may migrate from XML into the Database) or the Dyanmic Configuration System.

If GeoServer moved to a JXM scheme for management the DTO object will be used "over the wire".

org.vfny.geoserver.global.xml GeoServer Global XML Package Offers XML based persistence to the GeoServer application.

This package is the XML Persistence Subsystem. It contains methods to read and write the GeoServer configuration files based on the global.dto objects.

The use of Data Transfer Objects allows the XML Persistence package to not depend on Global Method or the Dyanmic Configuration System. In fact we could make use of this separation to back the configuration system directly onto the xml files (without geoserver) if needed.

org.vfny.geoserver.jetty
org.vfny.geoserver.requests.wms
org.vfny.geoserver.servlets GeoServer Servlets Package Provides Servlets Framework used by GeoServer.

Servelets in the WFS and WMS package contains all interface servlets, one for each WFS response.

The GeoServer framework:
  • Is built around Servlets derived from AbstractService
  • ActionService subclasses provide a mapping of Handler, Request, and Response
org.vfny.geoserver.sld
org.vfny.geoserver.sld.requests
org.vfny.geoserver.sld.responses
org.vfny.geoserver.sld.servlets
org.vfny.geoserver.testdata
org.vfny.geoserver.util GeoServer Response Package Manages all of the top-level responses.

Generally speaking, all of the response logic that does not tie directly to a data storage format can be found here.

Response is part of the Handler/Request/Response trinity requred by AbstractService.

Abstract Service makes use of the following workflow with Response:

This workflow can be somewhat hard to understand from the Source Code of AbstractService - it makes use of a series of Stratagy objects to allow you to fine tune your applications performance while maintaing the above contract with Response.

org.vfny.geoserver.util.requests GeoServer Request Package Handles all of the request processing for GeoServer.

This package contains both the Handlers and the Request objects. Request Objects seem to act as a Data Transfer Object between the Handlers (which parse the client's request), and the Response (which executes their request, and formulates a response document).

org.vfny.geoserver.util.requests.readers GeoServer Request Readers Package Client request processing into GeoServer Request objects.

These classes are instnaces of KvpRequestReader or XmlRequestReader and are used by the GeoServer handlers to parse information into Request Objects.

org.vfny.geoserver.wcs
org.vfny.geoserver.wcs.requests
org.vfny.geoserver.wcs.requests.readers
org.vfny.geoserver.wcs.responses
org.vfny.geoserver.wcs.responses.coverage
org.vfny.geoserver.wcs.servlets
org.vfny.geoserver.wfs.servlets GeoServer WFS Servlets Package Provides Servlets for the GeoServer Web Feature Server implementation.

There is one Servelet for each Web Feature Server response. These servlets should extend WFSService and provide the mapping of Handler, Request and Response required for the Service.

org.vfny.geoserver.wms
org.vfny.geoserver.wms.requests GeoServer WMS Request Package Handles all of the request processing for the WMS interfaces.

GetCapabilities seems to be located in the response package right now.

org.vfny.geoserver.wms.requests.readers
org.vfny.geoserver.wms.responses GeoServer WMS Response Package Manages all of the top-level WMS responses.
org.vfny.geoserver.wms.responses.featureInfo
org.vfny.geoserver.wms.responses.featureInfo.dummy
org.vfny.geoserver.wms.responses.helpers
org.vfny.geoserver.wms.responses.legend.gif
org.vfny.geoserver.wms.responses.legend.jai
org.vfny.geoserver.wms.responses.legend.png
org.vfny.geoserver.wms.responses.map
org.vfny.geoserver.wms.responses.map.georss
org.vfny.geoserver.wms.responses.map.geotiff
org.vfny.geoserver.wms.responses.map.gif
org.vfny.geoserver.wms.responses.map.jpeg
org.vfny.geoserver.wms.responses.map.kml
org.vfny.geoserver.wms.responses.map.metatile
org.vfny.geoserver.wms.responses.map.openlayers
org.vfny.geoserver.wms.responses.map.pdf
org.vfny.geoserver.wms.responses.map.png
org.vfny.geoserver.wms.responses.map.svg
org.vfny.geoserver.wms.responses.map.tiff
org.vfny.geoserver.wms.responses.palette
org.vfny.geoserver.wms.servlets GeoServer WMS Servlets Package Provides Servlets for the GeoServer Web Map Server implementation.

There is one Servelet for each Web Map Server response. These servlets should extend WMSService and provide the mapping of Handler, Request and Response required for the Service.

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.