ArcGIS SERVER ADF

What is installed with the Web ADF

Web ADF是针对独立于任何服务器产品而设计的,譬如:ArcGISArcIMS。它不仅能够自我装载,还包含与远程服务协作的组件。另外,一系列的IDE集成开发组件都包含了该组件以增强开发者的开发体验。

Web ADF组件被安装在$ArcGISHome/java/web/webcontrols,包括本地的和互操作库、核心JavaScript还有JSF功能库。

Web ADF库位于$ARCGISHOME/java/web/webcontrols/WEB-INF/lib下,包括:

       Web ADF native libraries

· arcgis_webcontrols.jar

· arcgis_webcontrols_ags.jar

· arcgis_webcontrols_arcims.jar

· arcgis_webcontrols_arcweb.jar

· arcgis_webcontrols_ejb.jar

· arcgis_webcontrols_wms.jar

       ArcObjects Java interop libraries

· arcobjects.jar

       Web ADF JSF libraries

· arcgis_webcontrols.jar

       Enterprise ADF libraries

· arcgis_ejb.jar

· arcgis_ejb_stubs.jar

· arcgis_jca.jar

       ArcGIS Web Services

· arcgis_agsws_stubs.jar

       ArcGIS Security

· arcgis_securityapi.jar

· arcgis_securityutil.jar

       ArcGIS Web Map Service (WMS) Client

· arcgis_wmsclient.jar

· arcgis_wmsclient_impl.jar

地图应用程序结构:

 Web ADF为开发者提供了一个预生成的工程骨架,它位于$ARCGIS/java/web/web_map_application下,骨架如下:

folder for file

explanation

web_map_application

Root map application project folder

/JavaSource

Provided template source code directory.  This folder is where you place you own Java Source classes and properties files. 

/WebContent

This folder holds the actual Web ADF application files used by the application server. 

  /css

This folder inside the WebContent folder holds the template stylesheet files you can reference for a consistent look and feel for your application. 

  /help

This folder inside the WebContent folder holds help system files your application can reference.

  /images

This folder inside the WebContent folder holds template image files used in your web map application.

  /js

This folder inside the WebContent folder holds client side javascript files referenced by your web application. 

  /themes

This folder inside the WebContent folder holds all the required stylesheet and image files for the different out-of-the-box web application templates provided by the Web ADF. 

  /WEB-INF

This folder inside the WebContent folder holds files that are used as part of the runtime Web application but are hidden from your browser. 

    /classes

This folder inside the WEB-INF folder holds compiled Java classes along with properties files required by the Web ADF.  These files are typically copied from JavaSource. 

    /functionalities

This folder inside of the WEB-INF folder holds extended JSF configuration details.

    faces-config.xml

This file inside the WEB-INF folder is the JSF configuration file.  This file lists bean resources and map entry configuration information required by your web map application.

    web.xml

This file inside the WEB-INF folder is the Web Application Deployment Descriptor for your application.  This is an XML file describing servlets and other components that make up your application.

     ajax-renderers.xml

This file inside the WEB-INF folder is an extended JSF configuration file which lists AJAX managed bean resources for your web application.

 

依赖库

Web ADF遵循MVC框架,可以与应用对应的依赖库分为三个层次。有效的使用Web ADF依赖库可以帮助你确保应用程序是高效的。

库的层次:

1.     Core

2.     Resource

3.     Business Logic

Web ADF核心库为arcgis_webcontrols.jar。它将被你所有的Web ADF应用所使用,无论是所需的资源和必要的服务器相关的。

Resource library是与你的应用连接资源类型相关的。以下是资源及与其相对应的库参考:

1.     ArcGIS Server: arcgis_webcontrols_ags.jar

2.     ArcIMS: arcgis_webcontrols_arcims.jar

3.     ArcWeb: arcgis_webcontrols_arcweb.jar

4.     OGC/WMS: arcgis_webcontrols_wms.jar

业务逻辑库(Business logic library)是与你所连接的资源的逻辑操作相关的。以下是资源及与其相对应的库参考:

1.     ArcGIS Server: arcobjects.jar (local connection) & arcgis_agsws_stubs.jar (remote connection)

2.     ArcIMS: arcims_jconnect.jar

3.     ArcWeb: arcgis_arcweb_stubs.jar

4.     OGC/WMS: arcgis_wmsclient.jar & arcgis_wmsclient_impl.jar

如果你的应用只是使用唯一的一个ArcGIS Server本地连接资源,那么你需要以下的Web ADF库:

1.     Core: arcgis_webcontrols.jar

2.     Resource: arcgis_webcontrols_ags.jar

3.     Business logic: arcobjects.jar

 

你可能感兴趣的:(ESRI)