Recently changed documents

Disable authentication for development mode
Or enable individual login pages

How to redirect when a session expires in Aspire

More documents like this are at:  Howto-Advanced

9-Sep-04


aspire.sessionSupport.applySessionManagement=yes
aspire.sessionSupport.mainpage=/webapp/your-page-that-says-session-doesn't exist

aspire.authentication.userAuthorization=no
aspire.sessionSupport.applySessionManagement=yes
aspire.sessionSupport.mainpage=/webapp/your-page-that-says-session-doesn't exist
request.aspire.sessionSupport.sessionSupportObject.className=\
com.ai.servlets.ExternalSessionManager

How to use shorter urls when developing with Aspire

More documents like this are at:  Howto

9-Sep-04

By slightly altering the the web-inf\web.xml you will be able to do this


http://host/your-app/display?url=Pag1URL&arg1=10
http://host/your-app/update?request_name=StateChangeRequest&arg1=10

Previously you would have needed to do


http://host/your-app/servlet/DisplayServlet?url=Pag1URL&arg1=10
http://host/your-app/servlet/UpdateServlet?request_name=StateChangeRequest&arg1=10

How to use AspireContext for writing portable web applications

More documents like this are at:  Howto

9-Sep-04

Describes how to write web applications that can hook up to any web application context. Removes the need to hard code web application context in web applications

Source code for ExternalSessionManager

More documents like this are at:  Howto-Advanced

3-Sep-04

Description to be entered

Source code of Aspires session management

More documents like this are at:  Howto-Advanced

2-Sep-04

Source code of Aspires session management: DefaultSessionSupport1

Build 19.3 released

More documents like this are at:  Release Notes

6-Aug-04

This build does two things

1. Introduce a configuration key called "aspireContext" to point to the servlet context. This allows for writing web applications that are independent of the context

2. Enable the redirectURL strings to use substitution parameters not only from the url, session, and database, but extends them to the global configuration object. This allows you to use user defined variables in the configuration files as part of your redirection strings

Build 19.2 released

More documents like this are at:  Release Notes

6-Aug-04

There was a bug with generic transformations when used against servlets 2.3 containers. The bug was noticed against Tomcat 5 although it ran fine on Tomcat 4. This is fixed in this build.

The following article explains how to take advantabe of generic transformations in this build.

How to take advantage of generic transformations

Taking advantage of Generic Transformations in Aspire

More documents like this are at:  Howto

4-Aug-04

Aspire has a unique concept called generic transformations. These generic transformatons come handy while developing web pages as debugging tools and also discovery tools. A web page in Aspire has data and a transformation. Data is defined in a configuration file. Generic transformations allows you to retrieve data in various generic formats such as "text" and "xml" and "excel" with out ever painting a page.

Using this facility you can retrieve data before starting to write a JSP page or an Aspire tags page. This data importantly also shows the column names or meta data which is useful at the time of painting. Advanced applications can even convert this data to a typed language class.

How to do paging in Aspire using RandomTableHandler7

More documents like this are at:  Howto-Advanced

4-Aug-04

Aspire has facilities to allow for paging in large result sets coming from database. Usually rows from a database are listed as a table on the html page. In Aspire parlance this table is populated using a loop tag in the html file. The rows for that loop are retrieved using a loop definition in a properties file. The java class that usually does this work is called "GenericTableHandlerX". The nature of this handler is that it will retrieve the rows using a database cursor. This class does not allow to retrieve rows using a seek/get approach to retrieve a window of the result set. Such a pattern is necessary for effective paging. This facility is provided a java class called RandomTableHandlerX. This document explains this process using the RandomTableHandler7.

Features of Aspire

More documents like this are at:  White papers

27-Jul-04

This is a little bid old but cover the basics

Benefits of Aspire

More documents like this are at:  White papers

27-Jul-04

Develop faster, cheaper, and better

akc-home.properties

More documents like this are at:  Property file examples: AKC

16-Jul-04

akc-home.properties

Fix update response error page

More documents like this are at:  Known Problems

16-Jun-04

Remove the dummy oracle reference from it

Write a paper on the architecture of substitutions

More documents like this are at:  Known Problems

16-Jun-04

Description to be entered
Description to be entered
Use FormUtils.getDataObjectFor(url,args)
instead of 
FormUtils.getFormHandlerFor(formhandler name, args)

Build 19.0 released

More documents like this are at:  Release Notes

28-May-04

* Release 2.0, Build 19.0
* ****************************
* Requires 2.3 servlets to compile although it can still run on 2.1 servlets
* Added setEncodingHeader for requests
* Added HttpEventDistributor
* Added FileCollectionReader to support photographs
* EmbeddedXML generic format
* IApplicationInitializer1 added
* caching support
* Master pages

See how to optimize connections further

More documents like this are at:  Known Problems

28-May-04

Multiple loops require multiple connections
Not a huge deal but needs to be further optimized
Description to be entered

Writing a factory part: a sample

More documents like this are at:  Howto-Advanced

14-Apr-04

1. Inheriting from an abstract factory part
2. Handling exceptions
3. Common mistakes
4. Closing collections

How to work with directory aliases in Aspire

More documents like this are at:  Howto

4-Mar-04

Aspire being an application server that serves html files on request, Aspire needs a way to locate these html files. Aspire also delivers these html files based on a mapping between a url name and the real html template file. Aspire gathers this information from properties or configuration files. As a result Aspire also need to read these files from the disk.

In this article I want to explain an architectural model that I use often called "parts and pipelines" using an example. This model is especially useful in declrative programming. This article will start by introducing an example where a web page will update some content on the server side. The quoted example will be analyzed to explain parts, pipelines, and declarative programming. To further understand the details of a Part the source code for a "HelloWorldPart" is presented followed by the source code of 2 real world parts.

How to use filters in Aspire

More documents like this are at:  Howto

18-Dec-03

In brief this article discusses

. What are filters
. What are they used for
. Specifying filters in properties file
. A complete example where a filter is used
. What sort of filters available
. An example of a filter class implementation

05.01 AKC database properties

More documents like this are at:  Property file examples: AKC

7-Nov-03

Example microsoft access database definition
alias definition

akc-users.properties

More documents like this are at:  Property file examples: AKC

7-Nov-03

Description to be entered

akc-report-filing.properties

More documents like this are at:  Property file examples: AKC

7-Nov-03

Demonstrates JSP specification.

akc-notes.properties

More documents like this are at:  Property file examples: AKC

7-Nov-03

AKC notes.properties

akc-news.properties

More documents like this are at:  Property file examples: AKC

7-Nov-03

Some of the properties may not be most current. Use it as a guide.