cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Shielded class loading between blocks
Date Mon, 20 Nov 2006 19:26:23 GMT
Daniel Fagerstrom wrote:
> Reinhard Poetz skrev:
>> Daniel Fagerstrom wrote:
>>
>>> Seem like a good solution to me. I would prefer putting this 
>>> functionality in a ShieldingBlockServlet that extends the 
>>> BlockServlet though. If we put to much extras in the BlockServlet it 
>>> will be hard for people to understand what it does and to contribute 
>>> to make it stable.
>>
>> Wouldn't be servlet filters the best solutions for these cross-cutting 
>> concerns? (another example is the reloading classloader that we should 
>> move from sitemap level to the block level).
> 
> That would require that we created some kind of block filters analog to 
> the block servlet and created some mechanism for wiring these together 
> in the Spring container. Entirely possible, but do we really like to add 
> that level of complexity?

I don't think so. I think Spring AOP would the best solution but I can live with 
simple inheritance as long as we only have one or two use cases.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------



	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

Mime
View raw message