先看看官方帮助上的英文:
If you want to embed lightweight mapping functionality into a Web application, or if you're just getting started with ArcGIS Server development, consider using the ArcGIS JavaScript API. It's free to use and deploy applications built with this API. All you need is an ArcGIS Server available whose maps and tools you can use in your application. To get started, see the If you want to embed lightweight