Files Added by the Stored Process Servlet Template

Introduction

When you add the SAS Stored Process Servlet template to a SAS Web Application Project, Java files are added to the source folder for the project.

StoredProcessDriverServlet.java

The StoredProcessDriverServlet is an example of a servlet implementation for executing a SAS Stored Process, displaying the results in the browser, and optionally writing the contents of the SAS Log to the ServletContext. The default Example Base Name for a SAS Stored Process servlet is StoredProcessDriver. The actual name of the class is derived from the Example Base Name that was entered in the wizard.

StoredProcessConnection.java

A StoredProcessConnection contains the information needed to use SAS Foundation Services, a SAS Metadata repository, and the SAS Stored Process Service for executing SAS Stored Processes. The class binds a StoredProcessFacade with the StoredProcessDriverServlet.
SAS does not support customer implementations or extension of this class. The StoredProcessConnection generated for a SAS Web Application Project cannot be used in a SAS Java Project.

StoredProcessFacade.java

A StoredProcessFacade represents a SAS Stored Process and the results of its execution after the stored process has been executed. The StoredProcessFacade class wraps two interfaces from the SAS Stored Process Service: com.sas.services.storedprocess.StoredProcess2Interface and com.sas.services.storedprocess.Execution2Interface.
This class can supply input parameters for the SAS Stored Process. Output parameter results or streaming results can be retrieved after the stored process is executed. The StoredProcessFacade provides other API methods for common operations, including the ability to access the underlying StoredProcess2Interface and Execution2Interface objects.
For more information, see the SAS Foundation Services Javadoc contained in the SAS BI API Documentation on the SAS AppDev Studio Developer’s Site ( http://support.sas.com/rnd/appdev/), in particular the package summary for com.sas.services.storedprocess.
SAS does not support customer implementations or extension of this class. The StoredProcessFacade generated for a SAS Web Application Project cannot be used in a SAS Java Project.