Title

Section 1

The Avalon framework consists of interfaces that define relationships between commonly used application components, best-of-practice pattern enforcements, and several lightweight convenience implementations of the generic components.

What that means is that we define the central interface Component. We also define the relationship (contract) a component has with peers, ancestors and children. This documentation introduces you to those patterns, interfaces and relationships.

Target Audience

This documentation is aimed towards developers who are interested in the design principles of Avalon, or wish to develop code that will be incorporated into Avalon.

Theoretical Aspects of Component Development

The following documents provide basic theoretical concepts that are applied through-out Avalon's framework. It would be good for a prospective developer to be at least passingly familiar with the concepts outlined in this document. The documentation also provides links to outside sources which can be consulted for further information.

  1. Patterns
  2. Reuse Of Standards
  3. Inversion of Control
  4. Separation of Concerns
  5. Security

Some place with a code block

Here is the code I mentioned:

package jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;

public class helloworld_1 extends org.apache.jasper.runtime.HttpJspBase {

    static {
    }
    public helloworld_1( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.JasperException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  res
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                _jspx_init();
                _jspx_inited = true;
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=8859_1");
            pageContext = _jspxFactory.getPageContext(this, request, response,
			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            out.write("<html>\r\n<head><title>Hello</title
            if (request.getParameter("name") == null) 
              out.write("\r\n          Hello World\r\n");
            else 
              out.write("\r\n          Hello, ");
            request.getParameter("name"); 
              out.write("\r\n</h2>\r\n</body></html>\r\n");

        } catch (Exception ex) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(ex);
        } finally {
            if (out instanceof org.apache.jasper.runtime.JspWriterImpl) { 
                ((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer();
            }
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageConte
        }
    }
}
									

Overview

The Avalon framework consists of interfaces that define relationships between commonly used application components, best-of-practice pattern enforcements, and several lightweight convenience implementations of the generic components.

What that means is that we define the central interface Component. We also define the relationship (contract) a component has with peers, ancestors and children. This documentation introduces you to those patterns, interfaces and relationships.

Target Audience

This documentation is aimed towards developers who are interested in the design principles of Avalon, or wish to develop code that will be incorporated into Avalon.

Theoretical Aspects of Component Development

The following documents provide basic theoretical concepts that are applied through-out Avalon's framework. It would be good for a prospective developer to be at least passingly familiar with the concepts outlined in this document. The documentation also provides links to outside sources which can be consulted for further information.

  1. Patterns
  2. Reuse Of Standards
  3. Inversion of Control
  4. Separation of Concerns
  5. Security

Some place with a code block

Here is the code I mentioned:

package jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;

public class helloworld_1 extends org.apache.jasper.runtime.HttpJspBase {
}
									

Overview

The Avalon framework consists of interfaces that define relationships between commonly used application components, best-of-practice pattern enforcements, and several lightweight convenience implementations of the generic components.

What that means is that we define the central interface Component. We also define the relationship (contract) a component has with peers, ancestors and children. This documentation introduces you to those patterns, interfaces and relationships.

Target Audience

This documentation is aimed towards developers who are interested in the design principles of Avalon, or wish to develop code that will be incorporated into Avalon.

Theoretical Aspects of Component Development

The following documents provide basic theoretical concepts that are applied through-out Avalon's framework. It would be good for a prospective developer to be at least passingly familiar with the concepts outlined in this document. The documentation also provides links to outside sources which can be consulted for further information.

  1. Patterns
  2. Reuse Of Standards
  3. Inversion of Control
  4. Separation of Concerns
  5. Security

Some place with a code block

Here is the code I mentioned:

package jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;

public class helloworld_1 extends org.apache.jasper.runtime.HttpJspBase {
}