Server Component is the Web API responsible for delivering, modifying, and collecting data for the user application.
Server-side component is a configured data transfering interface by request-response
NEST uses JSON Data Expression through HTTP based web server
User application gain access using a general component called AJAX
NEST includes TOMCAT7 server processor, so NEST users creating server project can develop and test their rpojects without setting server configurations.
<Figure>Application – Server Communication Scheme
NEST Request Data Locking
POST /Server1/Hello HTTP/1.1
Host: 192.168.0.19:10080
Connection: keep-alive
Content-Length: 311
Accept: application/json, text/javascript, */*; q=0.01
Origin: null
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Accept-Language: ko-KR,ko;q=0.8,en-US;q=0.6,en;q=0.4
__in:{"__offset":0,"__count":30,"input1":"req-1","input2":"req-2"}
X-AccessToken:t9xO7QZOCY3v2ztNTzcCFk0hHRYze88qPgTd4Zv/3a6mLKNOEATa+wMCI2IJLrX/mGeCE0fTHKXOwSdRPZF1puX9vECi5ghA48rYIJMBC5GGmz4LWaXrK8efhZUtSznDTn4hYVNDfeJ+80rlCLMW/2dqcy9pGrtOZGtVsgjc//M=
NEST Response Data Locking
HTTP/1.1 200 OK
Access-Control-Allow-Origin: null
Access-Control-Allow-Credentials: true
Content-Type: application/json;charset=UTF-8
Content-Length: 307
Date: Tue, 06 Oct 2015 22:32:09 GMT
{
"v": "2.0",
"ts": 1444170729134,
"status": 200,
"content": [
{
"output1": 1,
"output2": "aaaaa"
},
{
"output1": 2,
"output2": "bbbbb"
},
{
"output1": 3,
"output2": "ccccc"
},
{
"output1": 4,
"output2": "ddddd"
}
]
}