Recently changed documents

04.00 Aspire download directory

More documents like this are at:  Howto

20-May-06

http://www.activeintellect.com/aspire/aspire_distributions/?M=D

This directory on activeintellect.com provides latest aspire downloads. The following are available for downloading

  • Latest aspire jar file
  • Latest aspire properties file that goes with the above jar
  • Latest complete distribution of aspire
  • Any handy support jars

05.03 Aspire database definition examples

More documents like this are at:  Data Access

20-May-06

Examples of database definitions.

connection strings
aliases

05.11 How to use Aspire for Hierarchical data access?

More documents like this are at:  Data Access

19-Apr-06

http://www.onjava.com/lpt/a/3277

1. Retrieve a page worth of data using a single call
2. Execute multiple sql statements and combine their output into a single logical data set
3. Retrieve XML from relational databases declaratively

Build 22.3 Released

More documents like this are at:  Release Notes

28-Jan-06

  1. GlobalExceptionHandler introduced
  2. RecursiveSubstitutionPart added
  3. AspireLoginPart changed for target url redirection

The following example shows how to use substitution parts in your server side pipelines.

Managing global exceptions in Aspire

More documents like this are at:  Howto

21-Jan-06

Read this article to know how you can specialize what happens when uncaught exceptions are thrown and how to handle them.

How to add data retrieval parts to Aspire

More documents like this are at:  Howto-Advanced

20-Jan-06

Aspire depends on two data abstractions. One is a relational abstraction representing a collection of rows and columns and the other a hierarchical abstraction which is a grouping of the relational abstraction with a context. The central class in relational abstraction is represented by a type called IDataCollection. The hierarchical abstraction is represented by a type called "ihds".

This artilce gives sample code for how to do this

Syntax for jsp pages that doesn't need any data

More documents like this are at:  Howto

14-Jan-06

..or reusing data definitions

Some time you want to write a jsp page that uses data from the url, session, or a configuration file but doesn't need any sql to be executed. You can define such a jsp page as follows ...

Questions, Feedback 2005

More documents like this are at:  Questions

14-Jan-06

Feedback closed. This document contains feedback for 2005.

Syntax for specifying data for a web page in one of the oldest in Aspire. As a result it is a bit awkward. Although I haven't completely fixed it due to backward compatibility concerns I have corrected it a bit. The following is an example.


###################################
# ManageUsersURL
###################################
ManageUsersURL=/login/manage-users.jsp
ManageUsersURL.transformType=jsp
ManageUsersURL.transform.classname=com.ai.jsp.JSPTransform
ManageUsersURL.dataRequestName=MUDR

request.MUDR.classname=com.ai.htmlgen.DBHashTableFormHandler1

request.MUDR.ActiveUsers.class_request.classname=com.ai.htmlgen.GenericTableHandler6
request.MUDR.ActiveUsers.query_request.classname=com.ai.parts.ReusablePart
request.MUDR.ActiveUsers.query_request.reuseRequestName=BL.GetActiveUsers

request.MUDR.InActiveUsers.class_request.classname=com.ai.htmlgen.GenericTableHandler6
request.MUDR.InActiveUsers.query_request.classname=com.ai.parts.ReusablePart
request.MUDR.InActiveUsers.query_request.reuseRequestName=BL.GetInActiveUsers

LoginApp 4 released

More documents like this are at:  Release Notes

27-Dec-05

You can use this code as a sample application for aspire. You can use this as a startup template. The directories are preloaded with aspire jar file.

This uses jsps as the primary painting mechanism. You can see a very simple approach to back ground pages (or as I call them "master pages").

Adds master page support to the previous version loginapp3.

Download loginapp4

How to use AspireLoginPart

More documents like this are at:  Howto-Advanced

4-Nov-05

Receives a username and password and if they are valid it succeeds. if not an exception with an identifier of INVALID_PASSWORD is raised. One can use this exception to reroute to the same page or a different page.

It also looks at an aspire_target_url parameter and if present, indicates a redirector target as aspir_target_url_key=LOGIN_TARGET_PRESENT.

How does aspire implement client side redirect

More documents like this are at:  Howto-Advanced

4-Nov-05

During the early days of servlets I have used a trick to accomplish client side redirect after an update took place. This client side redirect will erase the update url from the browsers memory making the "back" and "refresh" buttons safe to the user.

Aspire has two features that work together in scheduling requests. A "request" in Aspire's parlance is a unit of work or at times called a task. So when you schedule a request, you are actually scheduling tasks at a given interval.

The scheduler that is available in Aspire is a very basic scheduler with minimal but sufficient-for-the-purpose capabilities. Using this scheduler you can schedule a task (a piece of java code) for every n number of timer ticks. A timer tick is defined as a certain number of seconds.

For a task to be invoked by a scheduler it had to be registered. This is where the initialization support in Aspire come into play. Initializers in Aspire allow you to run code at the start up time. You can read the document on initialization to learn more about the interfaces.

While programming databases it is important sometimes to prime the connection object. This is done by setting some additional attributes or parameters on a connection object using the "select" statements. As Aspire uses connection pools, the programmers rarely have control of the connection object directly (although it is possible). This facility is an attempt at providing a way to set these parameters using an event model.

Build 22.1 Released

More documents like this are at:  Release Notes

18-Oct-05

  1. A new base level database class
  2. connection events added

IfPart extends the functionality of the multi request executor (essentially an implementation of a sequential processing pipeline) for conditional purposes.

Build 21.6 Released

More documents like this are at:  Release Notes

23-Aug-05

  1. ListDataCollection added
  2. CLog2 added

How to use ListDataCollection

More documents like this are at:  Data Access

23-Aug-05

Introduced for easily constructing objects of type IDataCollection
Description to be entered
Aspire Commonly used Property file examples
This document discusses the property file sections that deal with the display pages and update pages in Aspire.

Writing Login Pages in Aspire

More documents like this are at:  Howto

1-Feb-05

This document describes the general phiolosophy of writing a login web page with in Aspire. I want to emphasize that because increasingly user authorization is being handled by such things as portals with single sign on and also enterprise security tools such as Netegrity or via servlet filters while leaving the main framework such as Aspire for painting and updating state.

Source code for ForeachPart

More documents like this are at:  Howto-Advanced

5-Jan-05

Description to be entered

Source code for DataUtils.java

More documents like this are at:  Howto-Advanced

5-Jan-05

Description to be entered

Source code for AliasedFactory3

More documents like this are at:  Howto-Advanced

4-Jan-05

Description to be entered

Questions, Feedback 1 - 8/13/2004 - 12/25/2004

More documents like this are at:  Questions

29-Dec-04

You can use this document to provide feedback

Managing ViewState through Aspire

More documents like this are at:  Howto-Advanced

16-Dec-04

when you are working with web forms on a web browser, what the user types in on a form is called view state. If you were to return back to the form from the server side, you don't want the user to loose that data and reenter again. The process of managing that interaction is called view state management.

Use this example if you want to see how retrieve recursive structures such as folders and files from a database.

How to log messages from your JSP page?

More documents like this are at:  Howto-Advanced

10-Dec-04

Description to be entered