CS-422 Enterprise Computing Preview
Client Server Strategies • CGI (Common Gateway Interface) • Active Server Pages – Personal Home Pages (PHP) – MS Active Server Pages (ASP) – Cold Fusion
• Java Servlets and JSP • Enterprise Java Beans
CGI • Program run by web server in response to client request • perl, C, C++, VB, Java, python, tcl • handles submitted HTML forms data and dynamically creates a web page in real time and returns it to the requesting client • Old Technology; pre- HTTP, rooted in gopher • reliable • resource hog
CGI (more) • Very useful used in conjunction with Java based clients for things like: – Report Generation (WebFocus) – Data retrieval (files and RDBMS) – Persistent object storage (files) • Could almost be replaced by server side Java • Hard to maintain program state
– must rely on programming tricks • cookies, hidden variables
CGI (more) Browser
Static Web page with forms tags