Recently changed documents

Sourcecode for DBProcedure

More documents like this are at:  Howto-Advanced

10-Dec-04

Description to be entered

How to write database procedures in Java using Aspire

More documents like this are at:  Data Access

10-Dec-04

It is common to make use of stored procedures to encapsulate business logic that operates on data. There are fairly well documented benefits of doing this despite, also, the known drawbacks. For one thing these procedures represent a chunk of work with minimal infrstructural accoutrements. For example you don't need to worry about transactions or connections. You just write the logic. The connections and transactions are handled by the container, in this case the database.

At times a database may not support stored procedures or even when they do due to the complex nature of manipulation you may need to use the power of Java to write that logic. But when we step into java, you start needing to know about transactions and connections, statements, result sets etc.

This article shows how to imitate stored procedure like logic in Java while borrowing the same connection agnostic benefits that are inherent in stored procedures.

Source code of ValueDecoderPart1

More documents like this are at:  Howto-Advanced

8-Dec-04

Works like an oracle decoder for field values including default values

This document shows how to declare public urls and public update requests using Trivial authentication


request.aspire.authentication.authenticationObject.className=\
com.ai.aspire.authentication.TrivialAuthentication

request.aspire.authentication.authenticationObject.publicRequestNames=\
AppendFeedbackRequest

request.aspire.authentication.authenticationObject.publicURLs=\
url1,url2

Source code of LoginValidator1

More documents like this are at:  Howto-Advanced

29-Nov-04

Supports the login process
Improves on the original version
Keeps the target url when directed
Further documentation will follow

Aspire log file setttings

More documents like this are at:  Howto

26-Nov-04

Use these settings for your log file

Some notes on updateservlet

More documents like this are at:  Howto-Advanced

6-Nov-04

Description to be entered

How can I redirect a page to different urls after an update

More documents like this are at:  Howto

6-Nov-04

How to redirect a page to different urls after an update

How to use com.ai.parts.ReusablePart

More documents like this are at:  Howto-Advanced

21-Oct-04

ReusablePart

Calls another part or business logic, by translating the input arguments to match the expected names of the receiver

Additional property file arguments

1. originalNames: comma separated list of key names that needs to be copied from

2. newNames: comma separated list of keys to which the above key values will be copied to

3. propagateParams: yes|no: yes

4. reuseRequestName: Name of the reusable target request

if Propagateparams is "yes", then the incomign map is passed down. if it is set to "no" then a freshmap is created for the receiver Use "no" with caution, as this will result in a new transaction if the called parts have any database calls.

Output

1.resultName: What ever the target request returns

02.00 How to get help on Aspire

More documents like this are at:  Howto

18-Oct-04

You can contact me (satya) using any of the following methods

As of June 6th 2004

  • Cell: 904-662-5427
  • email home: satya at activeintellect dot com
  • yahoo chat: satya_egroups at activeintellect dot com
  • news group: aspirej2ee at yahoogroups.com

How to tell aspire if a URL is a public URL

More documents like this are at:  Howto-Advanced

18-Oct-04

Choose a an authentication implementation that is appropriate in the aspire properties file. Here is an example with Trivial authentication.


request.aspire.authentication.authenticationObject.className=\
com.ai.aspire.authentication.TrivialAuthentication

request.aspire.authentication.authenticationObject.publicURLs=\
LoginPageURL,WelcomePublicJSPURL

request.aspire.authentication.authenticationObject.publicRequestNames=\
LoginRequest

See how public urls are defined as a comma separated list aspire url names. Also see how aspires update requests can also be mentioned as public.

Notice that the lines are broken for clarity. You may want to put them on the sameline

Placing a context path in server.xml for Tomcat

More documents like this are at:  Howto-Advanced

14-Oct-04

The context string looks like


<Context path="/akc" docBase="w:/satya/webapps/akc" debug="0"/>

The question is what is the parent node to the "Context" node. Here is the hierarchy in that xml file


<Server><Service><Engine><Host>
		<Context path="/akc" docBase="w:/satya/webapps/akc" debug="0"/>
</Host></Engine></Service></Server>

This is based on tomcat 5. Probably the same for earlier and later tomcats as well. But just check in case

How to use com.ai.parts.URLStringReaderPart

More documents like this are at:  Howto

12-Oct-04


# USing the URLStringReader to retrieve a url as a string
#
request.GetBodyText.classname=com.ai.parts.URLStringReaderPart
request.GetBodyText.URL=\
/webapp/display?url=DisplayURL&ordid={ordid}&useid1={useid1}
request.GetBodyText.resultName=bodyText

What is wrong with this sendmail properties - Ramesh

More documents like this are at:  Questions

6-Oct-04

Ramesh, check this entry for my comments and how to fix the problem

This is a demo

More documents like this are at:  Known Problems

6-Oct-04

This is a demo again description

Aspire mailing list on yahoo

More documents like this are at:  Questions

6-Oct-04

General Questions from Sanjays team

More documents like this are at:  Questions

5-Oct-04

Description to be entered

Avada properties file

More documents like this are at:  Questions

5-Oct-04

Description to be entered

How to send a jsp page as email under aspire

More documents like this are at:  Howto

5-Oct-04

Read this for sending a JSP page as an email using smtp mailer

Build 21.0 Released

More documents like this are at:  Release Notes

4-Oct-04

  1. URLStringReaderPart introduced
  2. Lot of deprecations removed
  3. ServletCompatibility introduced
  4. Login tags in the session changed
  5. Now you can run Aspire from the war file

Source code of com.ai.parts.URLStringReaderPart

More documents like this are at:  Howto-Advanced

3-Oct-04

Use this part

How to write a login application using Aspire

More documents like this are at:  Howto

30-Sep-04

Detailed guide for writing login application

LoginApp 3 released

More documents like this are at:  Release Notes

29-Sep-04

Features

1. Login
2. Logout
3. Login/Logout buttons
4. Simple master page
5. JSP includes

Download loginapp3

How do you know if you are logged into Aspire or not?

More documents like this are at:  Howto

25-Sep-04

Starting with build 21 look for a session variable called

profile_aspire_loggedin_status

The values are "true" or "false"

Previously this used to be called

aspire.loggedin_status

Sample JSP URL definition

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

24-Sep-04


YourJSPURL=/login/logout.jsp
YourJSPURL.transformType=JSP
request.YourJSPURL.transform.className=com.ai.jsp.JSPTransform
YourJSPURL.formHandlerName=YourJSPURLData

#
#Data definition
#
request.YourJSPURLData.form_handler.class_request.className=\
com.ai.htmlgen.DBHashTableFormHandler1

How to use SimpleDBAuthentication1

More documents like this are at:  Howto-Advanced

16-Sep-04

How to use SimpleDBAuthentication1 for login purposes.

Role of IAuthentication derived classes in Aspire

More documents like this are at:  Howto-Advanced

16-Sep-04


public interface IAuthentication2 extends IAuthentication1
{
   //from original
   public boolean verifyPassword(final String userid, final String passwd ) 
      throws AuthorizationException;
      
   public boolean isAccessAllowed(final String userid, final String resource )
      throws AuthorizationException;
	  
   //from 1
   public boolean isAccessAllowed(final String userid
                                 , HttpServletRequest request
                                  ,HttpServletResponse response)
      throws AuthorizationException;

   //from 2	  
   public boolean isAPublicURL(HttpServletRequest request
                                  ,HttpServletResponse response)
      throws AuthorizationException;
}

Build 20.0 Released

More documents like this are at:  Release Notes

14-Sep-04

  1. Ability to use aspireContext
  2. Ability to use /display /update mappings for Aspire servlets
  3. External session manager is available as an additional component
  4. LoginValidator BeginRequest Handler added
  5. AspireLoginPart is now available to help with login page applications
  6. ServersideRedirect is an option on a per url basis
  7. DUpdateServletRequestFailureResponse1 added

Source code of IHttpEvents

More documents like this are at:  Howto-Advanced

10-Sep-04

Description to be entered

Source code of LoginValidator

More documents like this are at:  Howto-Advanced

10-Sep-04

Description to be entered