Wink.JS Api Client
<servlet>
<description>Simple Servlet to generate a JS client for the API</description>
<servlet-name>winjsServlet</servlet-name>
<servlet-class>org.nioto.winkjs.WinkJsClientServlet</servlet-class>
<!-- Mandatory, we need to know the path associated with Wink -->
<init-param>
<param-name>winkpath</param-name>
<param-value>/wink</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>winjsServlet</servlet-name>
<url-pattern>/winkjs/api.js</url-pattern>
</servlet-mapping>
<load-on-startup/>
)
Depending on the configuration choice you made, get a copy your script at :
http://[yourhost.com]/[ContextRoot]/[winkPath]/api-client.js
OR http://[yourhost.com]/[ContextRoot]/winkjs/api.js