What is the difference between ArcGIS for JavaScript and Baidu map Amap?

Xiaobai, can professionals explain the difference between ArcGIS for JavaScript and calling Baidu Map for js? Where is the strength of arcGIS for Javascript? Can it be understood that Baidu Map is a kind of encapsulation of arcGIS?
second, if I want to deploy my own mapping service, do I need to install ArcGIS for Desktop and ArcGIS server, and access it through arcGIs"s js interface?

I hope the great god will answer, thank you!

Aug.14,2021

ArcGIS for JavaScript is too different from Baidu map js. Arcgis is a complete ecology, while Baidu js is just a library. On the surface, you can render the map, but Baidu's js operating space is too small.
Baidu uses its own coordinate system, map layer data is also his own, a set of js api is short and fast, simple development is enough.
arcgis can publish layer data services on its own. You can choose various types of services according to conditions and choose unused map base maps, while Baidu Maps are all slicing services. Baidu Maps is not an encapsulation of arcgis.
the purpose of deploying the mapping service is to install these two, connect the database with arcmap, and convert the data into a layer service publishing service to, arcgis js on arcgis server to invoke resources on server. If it is a slicing service, it will be directly cached on the server, and if it is a dynamic layer, the server will access the database to render and return it to you. Baidu map is rendered by front end except the layer is sliced, and the speed is slow, while arcgis, you can leave a lot of things to arcgis server

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3082e-2bd4a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3082e-2bd4a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?