arcgis runtime sdks: building java apps...arcgis for developers bring the power of location to your...

25
ArcGIS Runtime SDKs: Building Java Apps Gary Sheppard | Software Engineer | Esri garys-esri @garysheppardjr DevSummit DC 2017

Upload: others

Post on 04-Sep-2020

28 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

ArcGIS Runtime SDKs: Building Java AppsGary Sheppard | Software Engineer | Esri

garys-esri

@garysheppardjr

DevSummit DC 2017

Page 2: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Thank youfor working with us.

Page 3: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

First Things First

If you’re here to learn about JavaScript or web apps, we still love you but this is not the right workshop.

Page 4: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

GIS is Becoming an Interconnected PlatformOpening, Integrating and Simplifying

Creating an Open and Real-Time Network of Geospatial Services

Desktop(Individual)

Server(Workgroup)

Cloud / Services (Enterprise)

Networks ofOrganizations

Distributed GIS(Systems of Systems)

Page 5: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

1

Workforce

Drone2Map

Collector

Survey123

Navigator

Field

Maps for Office

Maps for Power BI

Operations Dashboard

GeoPlanner

Maps for SharePoint

Explorer ArcGIS Earth

Maps forAdobe Creative

Cloud

Office

Open Data

StoryMaps

Quick Report

CrowdsourcePolling

Initiatives

Community

PhotoSurvey

BusinessAnalyst

Focused, Powerful and Ready-to-Use

Apps: Extending ArcGIS Capabilities Everywhere

Page 6: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

ArcGIS for DevelopersBring the power of location to your apps with ArcGIS

Learn more at developers.arcgis.com

Building Apps Extending the Platform Accessing Content & Services

Page 7: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

ArcGIS Runtime SDKs

• Build desktop and handheld apps

• Work offline

• Use advanced cartography

• Leverage ArcGIS Online and ArcGIS Enterprise

- “ArcGIS Enterprise” is the new name for ArcGIS Server and Portal for ArcGIS

• Distribute to app stores

Page 8: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

ArcGIS Runtime SDK for Java

• Build cross-platform JavaFX apps for the desktop

• Deploy to Windows, Linux, and Mac OS X

• Combine ArcGIS and Java to meet your users’ needs

Page 9: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

ArcGIS Runtime SDK for Java: Version History

Version Release Date General Availability Extended Support Mature Support Retired

100.0 November 21, 2016 Nov 2016 - Oct 2017 Nov 2017 - Oct 2018 Nov 2018 - Oct 2020 November 01, 2020

10.2.4 October 09, 2014 Oct 2014 - Sep 2016 Oct 2016 - Nov 2018Dec 2018 - Nov

2019December 01, 2019

10.2.3 May 19, 2014 May 2014 - Apr 2015 - May 2015 - Apr 2016 May 01, 2016

10.2 November 01, 2013 Nov 2013 - Oct 2014 - Nov 2014 - Oct 2015 November 01, 2015

10.1.1 January 01, 2013 Jan 2013 - Dec 2013 - - January 01, 2015

1.0 - - - - -

Page 10: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Choosing the Right Version of Runtime for Javahttps://developers.arcgis.com/arcgis-runtime/choosing-the-right-version/

Capability in 10.2.x in 100.0

Web maps – edit and save No Yes

Vector basemaps No Yes

Local raster (beta on mobile platforms) No Yes

3D visualization (beta on mobile platforms) No Yes

Mobile Map Packages No Yes

ImageService layers Yes No

WMS layers Yes No

WMTS layers Yes No

Time-aware layers Yes No

Group Layers Yes No

Bing layers Yes No

OpenStreetMap layers Yes No

Find Task Yes No

Geographic Transformations Yes No

Related Tables Yes No

Page 11: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Runtime 100.0: Model-View-Controller (MVC) Architecture

Runtime 10.2.4

• JMap

- Extends JComponent (Swing)

- Has a list of layers

Runtime 100.0

• MapView (or SceneView)

- Extends Control (JavaFX)

- Has an ArcGISMap (or ArcGISScene)

- Has a Basemap

- Has a list of operational layers

Page 12: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Resources for Learning Runtime 100.0

• ArcGIS for Developers: https://developers.arcgis.com/java

- Guide (documentation)

- Sample code

- API reference (Javadoc)

- GeoNet forum

• GeoDev workshop tutorials: http://bit.ly/2lCweoe

- a.k.a. https://github.com/garys-esri/geodev-dc-labs

Page 13: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

http://bit.ly/2lCweoe

GeoDev Workshop Tutorials

Page 14: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

And There’s So Much MoreHere’s some of what we didn’t cover today

• Wraparound maps (i.e. Pacific Ocean)

• Geocoding

• Editing features

- Online

- Offline

- Sync offline edits

• Analysis

- Online

- Offline

• ArcGIS portal content/web maps

• Local Server

- Map packages (.mpk)

- Geoprocessing packages (.gpk)

• Local raster layers

• Military symbology, a.k.a. dictionary renderer

• Grids (graticule, MGRS, USNG, UTM)

• App deployment

• App licensing

Page 15: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: Do I have to pay Esri to use ArcGIS Runtime?

• Development and testing is free of charge

• Some deployments are free of charge

• ArcGIS Named Users get additional capabilities at no extra cost

• Some capabilities require a paid license to deploy

• See https://developers.arcgis.com/java/latest/guide/license-your-app.htm for all the details

Page 16: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: Should I use JavaFX or Swing?

• JavaFX!

- Newer

- Easier

- More development options

- Works directly with ArcGIS Runtime 100.0

• ArcGIS Runtime 100.0 requires JavaFX to use the MapView or SceneView

• If you need to use ArcGIS Runtime 10.2.4:

- You can make it work with JavaFX

- But Swing is easier in that case

Page 17: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: I want to use ArcGIS Runtime with Java 5.

• Uh, no

- (By the way, that wasn’t a question)

• ArcGIS Runtime 100.0 for Java requires Java 8 or newer

• ArcGIS Runtime 10.2.4 for Java requires Java 7 or newer

Page 18: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: Can I use Runtime to extend ArcGIS Pro?

• No

• ArcGIS Pro has its own .NET SDK: https://github.com/esri/arcgis-pro-sdk/wiki

• It also has ArcPy (Python)

Page 19: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: Can I use Runtime to extend ArcMap and ArcCatalog?

• No

• You could use ArcPy (Python)

• You could even use the ArcObjects SDK for Java, .NET, or C++

• But you should really move to ArcGIS Pro

Page 20: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: How can I get help with ArcGIS Runtime?

• Documentation and tutorials at https://developers.arcgis.com

• Samples at https://github.com/Esri/arcgis-runtime-samples-java

• GeoDev tutorials at http://bit.ly/2lCweoe

• Esri Technical Support

• Esri Technical Support!

- https://support.esri.com

• ArcGIS forums on GeoNet

• Stack Overflow (“arcgis” tag)

Page 21: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: May I have your slides?

• Check http://proceedings.esri.com soon

Page 22: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Q: What should I attend next?

• 3pm

- ArcGIS Runtime SDKs: Getting Started (150 A)

- Esri Open Source Projects (150 B)

• 4pm

- ArcGIS Runtime SDKs: Building Offline Apps (150 B)

- AppStudio for ArcGIS: Advanced Techniques (145 B)

- GeoDev HackerLabs: Learning How to Build Apps on the ArcGIS Platform (154 AB)

Page 23: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

5-6:30pmRoom 146 B

Meet the Presenters Networking Social

Page 24: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the

Future Esri Events

• Esri Developer Summit | March 7-10 | Palm Springs, California

• Esri User Conference | July 10-14 | San Diego, California

• Esri Federal GIS Conference | Winter 2018 | Washington, D.C.

• Esri DevSummit DC | Winter 2018 | Washington, D.C.

Page 25: ArcGIS Runtime SDKs: Building Java Apps...ArcGIS for Developers Bring the power of location to your apps with ArcGIS Learn more at developers.arcgis.com Building Apps Extending the