配置ArcGIS Server 9.3的Java开发环境(eclipse)

<!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:微软雅黑; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 705641554 22 0 262175 0;} @font-face {font-family:"/@微软雅黑"; panose-1:2 11 5 3 2 2 4 2 2 4; mso-font-charset:134; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147483001 705641554 22 0 262175 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:宋体; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:1.0pt;} h5 {mso-style-priority:9; mso-style-unhide:no; mso-style-qformat:yes; mso-style-link:"标题 5 Char"; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; mso-outline-level:5; font-size:10.0pt; font-family:宋体; mso-bidi-font-family:宋体; font-weight:bold;} a:link, span.MsoHyperlink {mso-style-noshow:yes; mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:宋体; mso-bidi-font-family:宋体;} span.5Char {mso-style-name:"标题 5 Char"; mso-style-priority:9; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"标题 5"; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:宋体; mso-ascii-font-family:宋体; mso-fareast-font-family:宋体; mso-hansi-font-family:宋体; mso-bidi-font-family:宋体; mso-font-kerning:0pt; font-weight:bold;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:42.55pt; mso-footer-margin:49.6pt; mso-paper-source:0; layout-grid:15.6pt;} div.Section1 {page:Section1;} -->

【概述】叙述如何在Window 下配置ArcGIS Server 9.3Java 开发环境(eclipse

【环境】Windows XP SP2ArcGIS Server 9.3

先决条件

ArcGIS Server Java 开发首先需要安装Java Web 服务器, ArcGIS Server 9.3 支持的服务器种类有:
Apache Tomcat
IBM WebSphere
JBoss

这里采用的是Tomcat 6.0.16

下载 eclipse

ArcGIS Server 9.3 支持的eclipse 版本为3.3europa ),需要eclipse 基本平台和WTP 2.0 ,建议直接下载针对J2EE 开发的All In One 套件包:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/europa/winter/eclipse-jee-europa-winter-win32.zip

从本地安 装ArcGIS 插件

eclipse 主菜单中选择Help->Software Updates->Find and Install ,选择“Search for new features to install” ,点击右侧的“New Local Site” ,添加本地插件升级路径:“%ARCGISHOME%/java/tools/eclipse_plugin /arcgis_update_site/server/” ,确定。另外,与此类似,添加“%ARCGISHOME%/java/tools /eclipse_plugin/arcgis_update_site/doc”

在上述操作完成后,下一步eclipse 将自动扫描上述路径,发现可用插件时会给出提示,后续操作根据提示下一步即可。

Internet 安装ArcGIS 插件

相 比从本地安装ArcGIS 插件,从Internet 安装更能在以后保持软件的升级更新。安装过程和从本地类似,只不过在添加升级站点的时候,选择“New Remote Site” ,添加升级地址:“http://downloads.esri.com/EDN/java/plugins/eclipse/v93/”

Ok ,当eclipse 提示你重启时,插件已经安装完成,重启eclipse 后可以看到新的Overview 屏幕,上面包含了新增的ArcGIS 的 内容。

新建项目 进行环境测试

1. eclipse 主菜单选择New->Project… ,点击“ESRI Templates” 下的“ArcGIS Web Project”

2. 在新建ArcGIS Web Project 窗口对项目进行必要的配置,还没有配置Target Runtime 时,首先点击右侧的“New…” 按钮新建一个已经安装的J2EE Web 服务器。

3. 点击下一步,在此界面应该可以添加GIS Server ,忽略之,因为不能双击“Add GIS Server” 列表项(破解版XPbug ,可能在某些番茄花园版xp 等系统上出现),点击完成。

4. 运行项目,出现如下界面,表示项目部署运行成功,但是没有数据。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值