You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Will Glass-Husain <wg...@forio.com> on 2003/06/18 06:59:16 UTC

Re: Service How-to

I figured this out in my app.  It's really easy.

Just extend TurbineBaseService.  Look at the JavaDocs to see what methods to implement.

http://jakarta.apache.org/turbine/turbine-2.2.0/apidocs/org/apache/turbine/services/TurbineBaseService.html

It seems to be common practice to set the following.  (I wrote a service called SSLService).   Not sure if this is necessary.
    protected static String SERVICE_NAME = "SSLService";

Finally, add the appropriate line to your TurbineResources.properties
    services.SSLService.classname=com.forio.manager.util.SSLService

Hope this is helpful.

WILL
        
_______________________________________
Forio Business Simulations
Will Glass-Husain
wglass@forio.com
www.forio.com