The first key function of the SmartWeb platform is the possibility to uniformly access the data and services of D2000 using the universal API interface. This API is independent of the used client's technology and with the API, it is possible to acquire data and call services implemented in D2000.
In general, we can distinguish online technologies of client-server communication into two categories according to the communication character. The first category includes technologies in which the client always initiates data change and the server responds, so-called Request - Response communication. The second category covers Publish-Subscribe communication in which the client registers for subscription of certain data types (subscribe) and the server publishes these data for clients who asked for them.
SmartWeb server implements both Request-Response and Publish-Subscribe communication through the following interface:
All interfaces communicate with the D2000 system and with the EDA server through the JAPI library.
Rest API is a standard API for web and mobile applications. The SmartWeb Rest API offers the following possibilities:
This figure illustrates the example of using the REST API interface for calling on simple D2000 RPC procedure.
Comet API provides the same functions as REST API and more:
The SmartWeb Comet API is implemented through the cometd library whose robust functionality is certified based on solutions with 150 thousand users. Among the advantages of this library are: