You are encouraged to write them, as they make the application much easier to maintain. The best way to learn how is to look through the source code of some existing ones. org.apache.turbine.services.mimetype.MimeTypeService is a simple one and probably a good one to look at. Briefly, you:
1. Extend the o.a.t.services.Service interface (MimeTypeService.java) 2. Implement the interface and extend o.a.t.services.TurbineBaseService (TurbineMimeTypeService.java) 3. Write a class full of static accessors for the service (TurbineMimeTypes.java) 4. Add an entry in the services section in TR.props (services.MimeTypeServices.classname=o.a.t.services.mimetype.TurbineMimeType Service) Good luck, Chris > -----Original Message----- > From: ramadevi [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 3:35 AM > To: [EMAIL PROTECTED] > Subject: services > > > Dear all, > > Iam new to using turbine. > is it possible to create custom service other than the services offered > by the turbine and plug it to the turbine. > > > with regards > rama > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
