We'll create a web application project in Netbeans.
Configure the web.xml to run pipelines for .pd files:
<servlet> <servlet-name>PipelineEngine</servlet-name> <servlet-class>com.smallx.servlet.PipelineServlet</servlet-class> <init-param> <param-name>check-for-changes</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>default-pipeline</param-name> <param-value>tideinfo.pd</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>PipelineEngine</servlet-name> <url-pattern>*.pd</url-pattern> </servlet-mapping>
We can create an index.xml file that is the default input for GET:
<html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Service Error</title></head> <body> <p>This service does not respond to GET requests.</p> </body> </html>
The application is now ready to be used! Try it out.