If you want to implement your application as a servlet, you must create a special servlet that communicates with Webform Server. This servlet represents your overall application, and routes forms between the user and the Translator when necessary.
The servlet can include any functionality that you want. For example, you might create a servlet that not only uses the Translator to provide HTML forms to the user, but that also routes completed forms to the next step in their lifecycle.
To create this servlet, you must extend the IBMWorkplaceFormsServerServlet
class that is provided with Webform Server. This class also provides a number of methods that simplify the process of implementing your servlet.
For your servlet to access your XFDL forms directly, you must install the IBM Forms Server – API and use it with the IBMWorkplaceFormsServerServlet class to develop your servlet. For example, you can pre-populate forms as you load them, or extract data from forms when they are submitted. For more information about the API, visit the IBM Forms API documentation.
Parent topic: Developing applications