• Print  |
  • Feedback  |

FOCUS AREAS

Developer Resources

Products

Technologies

API Reference

SAS AppDev Studio 3.0 Developer's Site

Web Applications Reference

Technical Papers listed in this reference apply to the Web Application technology that is available with SAS AppDev Studio.

For additional technology specific documentation, see

For general documentation, see

T E C H N I C A L   P A P E R S

Basic Web Application Construction

What are Servlets, JavaServer Pages, and Web Applications?
This paper briefly introduces some key terms for server-side Java technology.

Benefits of webAF for Web Application Development
webAF offers unique features to put your Web application development on the fast track. This paper briefly enumerates some reasons webAF should be your development tool of choice to capitalize on SAS technologies.

Creating a New Web Application
Starting a new Web application "from scratch" is greatly simplified with webAF. This paper takes you step-by-step through the Web Application Wizard, which automatically generates the correct directory structure and "boilerplate" files, based on selections you make for what technologies you want included.

Importing an Existing Web Application
You can "adopt" an existing Java-based Web application, so that webAF can be used to manage and improve it with updated technologies and SAS components. This paper takes you step-by-step through the wizard, to either copy an existing application to a new webAF project or to just upgrade the application in place.

Debugging a Web Application
Being able to rapidly run and debug your Web application as you develop it is a key to attaining quality standards on time. This paper explains how to view your application with the integrated Tomcat server, and how to set breakpoints in Servlets and in JavaServer Pages.

Understanding the Directory Structure for webAF Web applications
This paper explains the organization of Web applications as defined by the standards, and what files webAF uses to manage your project.

Adding and Editing Servlets, JavaServer Pages and Other Content
You can easily add new files to your webAF project, taking advantage of a wizard to insert the "boilerplate" content you select. This paper takes you through the basics of adding and editing files in your project.

Navigating and Managing Files in Your Project
The Project Navigator view is useful for understanding the relationships of files and objects in your project, and for opening and organizing files. This paper also explains how to add and remove files from your project, and how to "spin off" a new project based on an existing project.

Built-in Web Application Templates and Options
This paper explains what effects your selections for a Web application template and options will have on a project.

Web Application Example Templates
This paper gives more information about the webAF example templates that are used with the developer site examples.

Foundation Services Support Templates
This paper gives more information about the Foundation Services Support templates that are available to help build Web applications that use SAS Foundation Services.

Web Application Deployment, Tools and Configuration

Deploying Web Applications
Deployment is a critical issue, and this paper discusses how to generate the WAR file, and how to solve Web-server-specific deployment issues.

Standard and Custom Build Tasks
Ant is the de facto industry standard for build management, and webAF uses it for all build operations. This paper discusses the built-in build targets and also explains how you can add your own targets to the build file and execute them from the webAF menu.

Troubleshooting web.xml Errors
This guide will help you solve validation errors in the deployment descriptor, which can occur when building the WAR file.

Customizing The New File Wizard
If you would like to add additional choices to the New File Wizard that will generate other file types or automatically add customized, "boilerplate" initial content to newly-created files, this article will tell you how to do it.

General Web Application Techniques and Tag Libraries

Introduction to Sessions
As one in a series of technical papers on specific Java servlet or JSP technology, this paper focuses on how the Servlet API handles session tracking and management. Information on URL encoding is also included, including a few examples to highlight the code that is necessary to maintain session information if users disable cookies in their browsers.

Redirecting, Forwarding, and Request Delegation
This technical paper covers another specific Java servlet/JSP capability: the redirecting and forwarding of requests. It discusses the differences between redirection and forwarding, and demonstrates how to fully maintain a separation between your business logic and presentation code. A sample using SAS Custom Tags is also provided.

Struts
Jakarta Struts is a popular framework for Web applications, and is the basis for the SAS Information Delivery Portal. This paper introduces the Struts framework and tag libraries, and explains how to use a wizard to include this technology in your Web application. Several example Web applications with source code are included.

JSP Standard Tag Library (JSTL)
The JSTL Expression Language (EL) and tag libraries are introduced in this paper, which includes an example Web application with source code and build instructions. The JSTL is a standard library for accomplishing frequently-needed tasks in Web applications. A webAF wizard can incorporate JSTL support into your project.

SAS Technologies and Tag Libraries for Web Applications

SAS Custom Tag Reference (Version 3)
A complete syntax reference for the SAS Custom Tag Library, this document presents the core tag extensions that enable Web developers to take advantage of SAS data access, computation, and TransformationBean processing without knowing all of the required Java APIs. This reference includes custom tags that provide a wide range of functionality, such as the ability to:
  • view and edit relational data via tables views or custom forms.
  • explore multidimensional data stored in OLAP server cubes.
  • perform common data management tasks such as sorting, filtering, adding computed items.
  • attach JDBC™ data sources to standard HTML form controls via model/view communication.
  • develop Web applications for both Web and wireless.

SAS ADS Custom Tag Reference (Version 2)
A complete syntax reference for the SAS ADS Custom Tag Library, this document presents the tag extensions that enable Web developers to take advantage of SAS data access, computation, and TransformationBean processing without knowing all of the required Java APIs.

SUGI 28 Paper: Developing Data-Driven Applications Using JDBC and Java Servlet/JSP Technologies (PDF)
Read about the enhancements that have been made to the SAS Java component library available with SAS AppDev Studio Version 3.

SUGI 28 Paper: Introduction to the SAS Custom Tag Library (PDF)
The SAS Custom Tag Library, available in SAS AppDev Studio Version 3, is a collection of custom tags that provide a wide range of functionality. This paper provides an introduction, using examples, to building and deploying JavaServer Pages (JSP).