[EMAIL PROTECTED] wrote:
> 
> Rafal Krzewski wrote:
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > The issue is that services are pluggable only within Turbine but
> > > not easily usable by projects outside of Turbine (like Cocoon
> > > for example).
> >
> > When I created the BaseServiceBroker class my intention was easy
> > adoption of the services framework into other projects. TurbineServices
> > sholuld add only the bits that are specific to Turbine, like grabbing
> > essential config variables from the servlet environment.
> >
> 
> Yes, but the issue for external projects is more how to use the services
> than the service framework itself. I think creating bridges between
> the Avalon framework and the Turbine services framework should be quite
> easy. The real difficulty lies in making the services themselves
> work outside of Turbine.

A service depends on the ServiceBroker. ServiceBroker is lightweight and
easy to use in another application. You supply ResourceService and
LoggingService
implementation and off it goes. 
 
> I used past tense, with the recent changes in security, resources and pool,
> I believe most if not all dependencies have been removed.

Yes. Decoupling Turbine securiy from Peer was one of the major goals of 
the rewrite.

> I believe the scheduler service can certainly be changed to remove a lot of
> dependencies (simply make JobEntry an interface, that will remove the Peer
> dependency which then escalates...).

100% correct... making JobEntry an interface would be also cool because
one
could write an xml-backed implementation of scheduler to further remove
dependence of Turbine upon a DB. Online management of scheduler tasks
does not seem all that critical to me.
 
> My point is that componentization was not a design goal of Turbine to begin
> with and trying to retrofit it in the framework will take a *huge* amount
> of effort.

s/effort/fun/ :-) 

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to