A service take its inspiration from the avalon framework. When you launch your turbine application, turbine launch a service container. Currently, the container is fulcrum, but it might change in the future. Then, the container register a set of services.
Let take a security service. When the service is registered, it will put all the users with their respective role/permission/group in memory for fast retrieval. Then, this service has some method to access the information such like SecurityService.getUser(String name).
The service can be accessed from your java code or directly from velocity using a tool. The tool access the service the same way you will do it from your java code, through the Rundata class( if the tool is of type request).
To summarize, the tool in such a situation help you to access a service directly from your velocity templates.
hope I made it clear enough.
david
On Wednesday, November 27, 2002, at 03:23 PM, Florian Suschetz wrote:
Hi people!
I have another question:
What is the difference between the IntakeService
and the IntakeTool defined in TurbineResources.properties ?
Thanks!
Florian
--
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]>
