About
Satya
Aspire/J2EE
Java.net
OnJava.com
Build Related
Release Notes
Download
Help
More...
White Papers
What is Aspire
Aspire's Benefits
Aspire's Features
Database Development
Architecture
More ..
Howtos
Base Framework
Data Access
Web
Advanced
Related Reading
Satya's AKC Blog
Satya's java.net Blog
Articles
Properties
Cheat sheet 1
Cheat sheet 2
property files
html files
jsp files
More documents like this are at: Howto
10-Sep-04
Disable authentication for development mode Or enable individual login pages
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
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
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
3-Sep-04
2-Sep-04
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
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
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.
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.
More documents like this are at: White papers
27-Jul-04
This is a little bid old but cover the basics
Develop faster, cheaper, and better
More documents like this are at: Property file examples: AKC
16-Jul-04
More documents like this are at: Known Problems
16-Jun-04
Remove the dummy oracle reference from it
28-May-04
Use FormUtils.getDataObjectFor(url,args) instead of FormUtils.getFormHandlerFor(formhandler name, args)
* 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
Multiple loops require multiple connections Not a huge deal but needs to be further optimized
19-May-04
14-Apr-04
1. Inheriting from an abstract factory part 2. Handling exceptions 3. Common mistakes 4. Closing collections
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.
6-Feb-04
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.
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
7-Nov-03
Example microsoft access database definition alias definition
Demonstrates JSP specification.
AKC notes.properties
Some of the properties may not be most current. Use it as a guide.
>>> Click here for the next set of documents
Page Menu
Visit my Library
Global Menu
My Web Logs
My Library
My Home
Other libraries
Author Content
data format