Date: Sun, 17 Oct 2004 14:51:09 -0700
Reply-To: Jesper Sahner <jespersahner@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jesper Sahner <jespersahner@HOTMAIL.COM>
Organization: http://groups.google.com
Subject: CGI- vs. JSP-solutions
Content-Type: text/plain; charset=ISO-8859-1
Hi!
I have a basic question concerning CGI- vs. JSP-solutions with
SAS/IntrNet.
My picture is the following:
CGI:
When using CGI, a SAS-program is run on the server, and this
SAS-program can be any program. If you are a skilled SAS-programmer
this is good solution because all the complex programming is held
within SAS. Furthermore SAS/ODS helps you with all the
"HTML-trickery", but if needed you can build the HTML from scratch
yourself in the SAS-program by writing to _webout. Unfortunately CGI
is a rather slow technology.
JSP:
When using JSP (I am new to JSP!) you are making queries against
SAS-data, but any kind of complex programming must be done in
JSP/Java, which is not a good solution, if you are not familiar with
JSP/Java. On the other hand JSP is a quick way of obtaining the
results, so if your only purpose is queries against SAS-data without
any complex programmming "on top", this solution is preferable.
If this is the right picture, then my question is:
Can the flexibility that the CGI-solution offers (meaning that ANY
SAS-program can be executed) be used in the JSP-solution in the sense,
that a SAS-program (not just a query) can be run "inside JSP" with a
relatively quick response-time (quicker than a pure CGI-solution)?
Regards,
Jesper
|