Skip to main content
Kinetic Community

Sample

 

Sample
A collection of handlers that illustrate sample implementation strategies and solutions. Handlers in this category emphasise a simple, repeatable pattern and may not accomplish a constructive task.
IDF guide rendered from cache
 
Topics
  • Executes 'echo' from a command line, passing a "hello" string argument, and returns the standard out and standard error results. If the 'name' parameter is present, that person will be greeted. Otherwise the world will be greeted.
  • This is a sample handler that shows you how to count the amount of records are returned in a query to your database using JDBC. The handler will return an xml string containing the amount of records that were counted. For this handler to run properly, a JDBC adapter package must be included in the Kinetic Task web application classpath. The adapter package will take the form of one of more .jar files and will be specific to the database server that it is being connected to.
  • This is a sample handler that shows you how to delete a record from your database using JDBC. For this handler to run properly, a JDBC adapter package must be included in the Kinetic Task web application classpath. The adapter package will take the form of one of more .jar files and will be specific to the database server that it is being connected to.
  • This is a sample handler that shows you how to insert a record into your database using JDBC. For this handler to run properly, a JDBC adapter package must be included in the Kinetic Task web application classpath. The adapter package will take the form of one of more .jar files and will be specific to the database server that it is being connected to.
  • This is a sample handler that shows you how to retrieve a record from your database using JDBC. The handler will return an xml string containing data from all of the columns that the record returned. For this handler to run properly, a JDBC adapter package must be included in the Kinetic Task web application classpath. The adapter package will take the form of one of more .jar files and will be specific to the database server that it is being connected to.
  • This is a sample handler that shows you how to retrieve a record from your database using JDBC. The handler will return an xml string containing data from all of the columns that the record returned. For this handler to run properly, a JDBC adapter package must be included in the Kinetic Task web application classpath. The adapter package will take the form of one of more .jar files and will be specific to the database server that it is being connected to.
  • This handler converts HTML to a PDF.
  • Calls into a simple Java "application" via an exposed Class and class method. The application returns a 'Message' result that represents a simple greeting.
  • This handler outlines how to retrieve and validate an OAuth 2.0 token.
  • Calls the SOAP based 'EchoService' web service, passing the desired greeting and target and returns the resulting message. If the 'name' parameter is present, that person will be greeted. Otherwise, the world will be greeted.