Runtime components : Client engine : Using the client engine with a UDTT server application : Setting up and running the BTTServerProject application
  
Setting up and running the BTTServerProject application
Complete the following steps to configure and run the BTTServerProject application in your development environment.
Configure the BTTServerProject application
1 Import the BTTServerProject application from <UDTT_root>/BTTSample/ClientEngineExample/BTTServerProject into the UDTT development environment.
2 Enable CORS in web.xml.
<servlet>
<display-name>OpenAPIRequestServlet</display-name>
<servlet-name>OpenAPIRequestServlet</servlet-name>
<servlet- class>unicomsi.btt.openapi.OpenAPIRequestServlet</servlet-class>
<init-param>
<param-name>CORS</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ORIGIN</param-name>
<param-value>*</param-value>
</init-param>
</servlet>
Run the BTTServerProject application
1 Deploy the BTTServerProject application to your application server.
2 Start the BTTServerProject application from the UDTT development environment.
The application is active when you see the following output displayed on the console page:
This graphic is described in the surrounding text.
Any errors are also displayed on the console.
See:
Using the client engine state
Using the client engine with a UDTT server application