Notes when to use Supermap IObject JAVA in windows server

Precondition:

Since that Chinese Gov has decided to leverage CIM 3D big scene to resove city planning, which means that SuperMap and Arcgis 3D are more and more popular than before.

in our project, our clients perfer to using Supermap to fix some audit job, therefore, in following secitons, I will talk about how to avoid some difficuity, when you are using IObject Java to handle some cad (shp) file.

Notes

Environment: 

1. http://support.supermap.com.cn/DownloadCenter/DownloadPage.aspx?id=1353, try to download the supermap IObject java and IDesktop zip file from mentioned url.

then activate the permits so that you can consume IServer

2. Install iServer and create related account and password (normally, it will be done by data handler of department)

3. decompress IObject java zip and add into your IDEA IDE so that all related sumpermap jar packages can be referenced. file -> project structure -> module and specify your project as below:

Notes when to use Supermap IObject JAVA in windows server

4. As supermap, they has their own Oracle spatial plus Database, you can start IDestop and try to connect supermap oracle db

Notes when to use Supermap IObject JAVA in windows server

Be cautions :

Windows server system, you have to install oracle client as well, otherwise, it always pops up that error message that cannot connect to oracle data source. this is very important, it directly affects that produciton environment is not working.

next step: config database connection in your project, and try to develop some utilty classes that are able to access supermap oracle database 

Notes when to use Supermap IObject JAVA in windows server

at the end, just run your spring project and consume Supermap IObject java to deal with your customization business.

Of couse, you are not gonna use IObject Java, I suggest that you should take IServer, after all, all data are conducted by pros for saving time purpose.