Hi,
> 
> Hi Unico,
> 
> Unico Hommes wrote:
> >> You'll find a lot of these implementations googling for Avalon and 
> >> MimeType.
> 
> >Found a MimeTypeService that resides inside Turbine wich looks more 
> >advanced than my proposal.
> http://jakarta.apache.org/turbine/fulcrum/apidocs/org/apache/f
> ulcrum/mimetype/MimeTypeService.html
> >If something like this would be part of Avalon all systems 
> depending on 
> >it wouldn't need to reinvent the wheel in their own code.
> 
> Found that one too. But it looks like they've extended this 
> service with not directly related functionality (refering the 
> character codes). If we provide a MimeType service based on 
> the servlet implementation, we would not be able to fulfill 
> that interface anyway.

Hmm, seems so.

> >> 
> >> My concern would be the dependency on J2EE classes.
> 
> >That should be optional.
> 
> OK. Major problem seems to be the initialization. How would 
> any class in source resolve has access to the servlet 
> configuration? Your proposal implies that the Config provides 
> this and therefore must be added by the user initializing the 
> root container. Just the next point without standard.

Well not completely, we could copy the strategy used by 
excalibur.logger.ServletTargetFactory:
http://avalon.apache.org/api/org/apache/avalon/excalibur/logger/factory/ServletTargetFactory.html

But I do agree that it would be better if there were some guidelines about Context 
keys. I guess this should be the next consensus gathering after AMTAGS.

Unico

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to