Fortress Servlet HOWTO

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)

A couple of notes to consider:

See for latest source code

To run:

[Back to HowTo]

FortressServletExample (last edited 2009-09-20 23:16:57 by localhost)