arcgis开发指南ArcGIS Server Developer Guider
收藏
编号:85704803
类型:共享资源
大小:36.09MB
格式:PDF
上传时间:2020-06-05
上传人:我***
认证信息
个人认证
孔**(实名认证)
北京
IP属地:北京
20
积分
- 关 键 词:
-
arcgis开发指南ArcGIS
Server
Developer
Guider
arcgis
开发
指南
- 资源描述:
-
ArcGIS 9.0 ArcGIS Server Administrator and Developer Guide Copyright 2004 ESRI All Rights Reserved. Printed in the United States of America. The information contained in this document is the exclusive property of ESRI. This work is protected under United States copyright law and other international copyright treaties and conventions. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or by any information storage or retrieval system, except as expressly permitted in writing by ESRI. All requests should be sent to Attention: Contracts Manager, ESRI, 380 New York Street, Redlands, California 92373-8100, USA. The information contained in this document is subject to change without notice. ContrContrContrContrContrib ib ib ib ibuting uting uting uting uting WrWrWrWrWriteriteriteriteriters s s s s Eric Bader, Euan Cameron,Chris Davies, Shelly Gill, Sean Jones, Andy MacDonald, Glenn Meister, Mike Minami, Dan O’Neill, Anne Reuland, Rohit Singh, Steve Van Esch, Zhiqian Yu U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTSU.S. GOVERNMENT RESTRICTED/LIMITED RIGHTSU.S. GOVERNMENT RESTRICTED/LIMITED RIGHTSU.S. GOVERNMENT RESTRICTED/LIMITED RIGHTSU.S. GOVERNMENT RESTRICTED/LIMITED RIGHTS Any software, documentation, and/or data delivered hereunder is subject to the terms of the License Agreement. In no event shall the U.S. Government acquire greater than RESTRICTED/LIMITED RIGHTS. At a minimum, use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in FAR 52.227-14 Alternates I, II, and III (JUN 1987); FAR 52.227-19 (JUN 1987) and/or FAR 12.211/12.212 (Commercial Technical Data/Computer Software); and DFARS 252.227-7015 (NOV 1995) (Technical Data) and/or DFARS 227.7202 (Computer Software), as applicable. Contractor/Manufacturer is ESRI, 380 New York Street, Redlands, California 92373-8100, USA. PUBLISHED BY ESRI 380 New York Street Redlands, California 92373-8100 ESRI, ArcView, ArcIMS, Spatial Database Engine (SDE), the ESRI globe logo, ArcObjects, ArcGIS, ArcMap, ArcCatalog, ArcScene, ArcInfo, ArcEditor, ArcReader, ArcToolbox, 3D Analyst, ArcSDE, GIS by ESRI, the ArcGIS logo, , @, and StreetMap are trademarks, registered trademarks, or service marks of ESRI in the United States, the European Community, or certain other jurisdictions. Other companies and products mentioned herein are trademarks or registered trademarks of their respective trademark owners. Attribution.pmd3/22/2004, 2:27 PM2 Contents CHAPTER 1: INTRODUCING ARCGIS SERVER ..................................................... 1 ArcGIS 9 developer overview ..........................................................................................................2 ArcGIS Server overview .....................................................................................................................4 ArcGIS Server users ............................................................................................................................7 ArcGIS Server capabilities............................................................................................................... 11 ArcGIS Server developer kits......................................................................................................... 14 Getting started .................................................................................................................................. 17 Using this book.................................................................................................................................. 19 ArcGIS developer resources .......................................................................................................... 21 CHAPTER 2: THE ARCGIS SERVER ARCHITECTURE ......................................... 27 ArcGIS software architecture ....................................................................................................... 28 ArcGIS Server architecture............................................................................................................ 33 The ArcGIS Server system.............................................................................................................. 35 Server objects..................................................................................................................................... 40 ArcGIS Server security, impersonation, and identity............................................................... 46 CHAPTER 3: ADMINISTERING AN ARCGIS SERVER ......................................... 49 Getting started .................................................................................................................................. 50 Setting up and connecting to a GIS server............................................................................... 52 Adding and removing server objects........................................................................................... 58 Managing server objects ................................................................................................................. 62 Managing the server......................................................................................................................... 65 CHAPTER 4: DEVELOPING ARCGIS SERVER APPLICATIONS...................... 71 Programming ArcGIS Server applications .................................................................................. 72 ArcGIS Server APIs ........................................................................................................................... 75 Connecting to the GIS server....................................................................................................... 84 Programming with server objects................................................................................................. 87 Managing application session state.............................................................................................. 91 Working with server contexts ....................................................................................................104 Web controls and the server API...............................................................................................111 Programming Web services...........................................................................................................114 ArcGIS Server application performance tuning.....................................................................121 Putting it all together: Best practices ........................................................................................133 CHAPTER 5: DEVELOPING WEB APPLICATIONS WITH .NET ................ 135 The ArcGIS Server Application Developer Framework........................................................136 An overview of templates and Web controls .........................................................................137 Building your first Web applications ..........................................................................................143 Guidelines for creating your own Web applications ............................................................160 More about Web controls ...........................................................................................................172 Map control......................................................................................................................................174 Page layout control........................................................................................................................184 Overview map control ..................................................................................................................194 Toc control .......................................................................................................................................199 Toolbar control................................................................................................................................207 TOC.pmd3/16/2004, 11:25 AM3 iv • ArcGIS Server Administrator and Developer Guide CHAPTER 5 CONTINUED Toolbar control................................................................................................................................208 Impersonation control ..................................................................................................................215 North arrow control.....................................................................................................................218 Scale bar control .............................................................................................................................221 GeocodeConnection component .............................................................................................223 CHAPTER 6: DEVELOPING WEB APPLICATIONS WITH JAVA................. 227 The ArcGIS Server Application Developer Framework........................................................228 An overview of the templates and Web controls .................................................................229 Building your first Web applications ..........................................................................................236 Guidelines for creating your own Web applications ............................................................257 More about Web controls ...........................................................................................................262 Context control .............................................................................................................................265 Map control......................................................................................................................................274 Page layout control........................................................................................................................288 Overview control............................................................................................................................295 Toc control .......................................................................................................................................298 North arrow control.....................................................................................................................304 Scale bar control .............................................................................................................................307 Geocode control.............................................................................................................................310 Identify results control..................................................................................................................315 CHAPTER 7: DEVELOPER SCENARIOS................................................................ 319 Extending a Web application template (.NET) .....................................................................320 Extending a Web application template (Java) ........................................................................342 Developing an application Web service (.NET) .....................................................................366 Developing an application Web service (Java) .......................................................................383 Developing an ArcGIS Server Web service client (.NET)....................................................400 Developing an ArcGIS Server Web service client (Java) ......................................................433 Extending ArcGIS Server with server-side libraries ...............................................................461 APPENDIX A: SERVER LIBRARY................................................................................ 481 GISServerConnection class..........................................................................................................482 Server consumer objects .............................................................................................................483 ServerObjectManager class..........................................................................................................484 ServerContext class .......................................................................................................................486 ServerObject class ..........................................................................................................................491 The Info classes ...............................................................................................................................492 ServerObjectAdmin class ..............................................................................................................496 ServerObjectConfiguration class ...............................................................................................509 ServerMachine class .......................................................................................................................515 ServerObjectType class .................................................................................................................516 ServerDirectory class .....................................................................................................................517 APPENDIX B: CONFIGURATION AND LOG FILES ..................................... 519 ArcGIS Server Log Files .................................................................................................................520 ArcGIS Server Configuration Files .............................................................................................526 TOC.pmd3/16/2004, 11:25 AM4 Contents • v APPENDIX C: DEVELOPING APPLICATIONS WITH EJBS.......................... 537 Enterprise JavaBeans and ArcGIS Server .................................................................................538 EJBs and ArcGIS Server—a developer scenario.....................................................................541 APPENDIX D: DEVELOPER ENVIRONMENTS ................................................. 573 The Microsoft Component Object Model .............................................................................574 Developing with ArcObjects ......................................................................................................586 The Visual Basic environment ......................................................................................................595 The Visual Basic development environment............................................................................608 Visual C++.........................................................................................................................................615 .NET application programming interface ................................................................................657 Java application programming interface ...................................................................................693 APPENDIX E: READING THE OBJECT MODEL DIAGRAMS ..................... 707 Interpreting the object model diagrams...................................................................................708 GLOSSARY.......................................................................................................................... 711 INDEX ................................................................................................................................... VII TOC.pmd3/16/2004, 11:25 AM5 TOC.pmd3/16/2004, 11:25 AM6 Introducing ArcGIS Server ArcGIS Server is a platform for building enterprise geographic information system (GIS) applications that are centrally managed, support multiple users, include advanced GIS functionality, and are built using industry standards. ArcGIS Server manages geographic resources, such as maps, locators, and software objects for use by applications. This chapter will introduce you to ArcGIS Server, how you use it, and its different components. Topics covered in this chapter include: • an overview of ArcGIS 9 development • the ArcGIS Server product • what you can do with ArcGIS Server • the ArcGIS Server developer kits • a description of this book 1 2 • ArcGIS Server Administrator and Developer Guide WHO SHOULD READ THIS BOOK? This book will be of greatest use to programmers who want to use ESRI ArcGIS Server to build server applications, such as Web services and Web appli- cations, that do simple mapping or that include advanced GIS functionality. However, this book provides a general explanation of the use of ArcGIS Server and the possibilities when building and deploying custom applications and solu- tions. Several scenarios will illustrate, with code examples, some of the different types of applications that can be developed with the ArcGIS Server and the Application Developer Framework (ADF) developer kits. This book will also be of use to ArcGIS Server administrators who need to administrate aspects of an ArcGIS Server, such as its set of server objects, its output directories, and so on. ARCGIS 9 OVERVIEW ArcGIS 9 is an integrated family of GIS software products for building a com- plete GIS. It is based on a common library of shared GIS software components called ArcObjects™. ArcGIS 9 consists of four key parts: •ArcGIS Desktop—an integrated suite of advanced GIS applications. •ArcGIS Engine—embeddable GIS component libraries for building custom applications using multiple application programming interfaces (APIs). •ArcGIS Server—a platform for building server-side GIS applications in enter- prise and Web computing frameworks. Used for building both Web services and Web applications. •ArcIMS—GIS Web server to publish maps, data, and metadata through open Internet protocols. ARCGIS 9 DEVELOPER OVERVIEW Chapter 1• Introducing ArcGIS Server • 3 Each of the GIS frameworks also includes the ArcSDE gateway, an interface for managing geodatabases in numerous relational database management systems (RDBMS). ArcGIS 9 extends the system with major new capabilities in the areas of geopro- cessing, 3D visualization, and developer tools. Two new products, ArcGIS En- gine and ArcGIS Server, are introduced at this release, making ArcGIS a complete system for application and server development. There is wide range of possibilities when developing with ArcGIS. Developers can: •Configure/Customize ArcGIS applications such as ArcMap™ and ArcCatalog™ •Extend the ArcGIS architecture and data model •Embed maps and GIS functionality in other applications with ArcGIS Engine •Build and deploy custom desktop applications with ArcGIS Engine •Build Web services and applications with ArcGIS Server ArcGIS 9 has a common developer experience across all ArcGIS products (Engine, Server, and Desktop). This book focuses on building and deploying server applications using the ArcGIS Server. Developers wishing to customize the ArcGIS Desktop applications or work with the ArcGIS Engine should refer to the ArcGIS Desktop Developer Guide and ArcGIS Engine Developer Guide. The ArcGIS system is built and extended using software components called ArcObjects. ArcObjects components are software objects that have multiple devel- oper APIs. These include Component Object Model (COM), .NET, Java™, and C++. Developers can use these APIs to build applications that make use of ArcObjects functionality. ArcObjects is at the core of all the ArcGIS products: ArcGIS Desktop, ArcGIS Engine and ArcGIS Server. The ArcGIS Server provides a new set of deployment options and resources for developers as well as new and improved tools for developers to work with. ArcGIS Server is a set of the core ArcObjects and a framework for running ArcObjects in a server. The ArcGIS Server ADF is a set of components and Web controls that
- 内容简介:
-
-
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。