The following steps
guide you through creating and running three of the available Web
Infrastructure Platform templates. Many of the templates are similar,
and a knowledge of one template transfers to the others. On-screen
help is available for every part of every template. You should complete
the entire walk-through to become familiar with the AppDev Studio
interface and the template requirements.
This walk-through creates
a SAS Web Application Project and then builds upon itself, incrementally
adding three templates to the project. Because the templates use the
same Tomcat Web server, no changes to the server parameters are necessary.
This walk-through assumes
the following:
-
a Tomcat Web server was installed
and configured according to the cheat sheet “Configure a Tomcat
Server for Testing” (part of the “New Workspace Setup”
cheat sheet)
-
a SAS BI Server Profile exists
for the servers that you are developing for
-
a Metadata Server Connection Profile
exists for the server that you are developing for
-
a data table, a Web Report Studio
report, and a stored process are available on the SAS Metadata Server.
You can use any data source of the appropriate type when you build
the example, but this walk-through uses the
sashelp.class
table,
a report based on that table, and the stored process “Sample:
Multiple Output Formats.”
This walk-through adds
the following templates to the project in this order:
-
JDBC TableView Servlet (uses SAS WIP)
-
ReportViewer Servlet (uses SAS Web Report Viewer and
SAS WIP)
-
SAS Stored Process Servlet (uses SAS WIP)