You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by si...@avalon.apache.org on 2004/02/29 10:41:22 UTC

[Apache Avalon Wiki] Updated: FortressServletExample

   Date: 2004-02-29T01:41:21
   Editor: AaronFarr <fa...@apache.org>
   Wiki: Apache Avalon Wiki
   Page: FortressServletExample
   URL: http://wiki.apache.org/avalon/FortressServletExample

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -3,8 +3,8 @@
 The Fortress Servlet HOWTO shows how to launch a Fortress container in a J2EE webapp.  In this example, the Fortress ServiceManager is placed in the Servlet Context.  Servlets, JSP's, Struts Actions, etc. can then get services from the ServiceManager.  Notice, though, that this means there will be a single Fortress container per ''webapp'' not application server.  If you want to run a a single Fortress instance for all webapps you will probably need to put together JNDI bindings for the services via something like AltRMI.
 
 The example has three parts (click to see source code)
-  * FortressServletLauncher :  a ServletContextListener which loads the ServiceManager into the Servlet Context
-  * ["fortress.jsp"] : a JSP which retrieves a service from the ServletContext
+  * FortressServletLauncher :  a Servlet Context Listener which loads the ServiceManager into the Servlet Context
+  * ["fortress.jsp"] : a JSP which retrieves a service from the Servlet Context
   * FortressServlet : a standard servlet which retrieves the service from the Servelet Context
 
 A couple of notes to consider:

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org