cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: [Vote] Let the environment interfaces extend the javax.servlet.http ones
Date Sat, 04 Feb 2006 14:29:59 GMT
Daniel Fagerstrom skrev:
> As discussed in:
> 
> http://marc.theaimsgroup.com/?t=113432388200001&r=1&w=2
> and less radical in
> http://marc.theaimsgroup.com/?t=113822674300001&r=1&w=2
> 
> There would be a lot to gain by basing our environment abstraction on 
> the javax.servlet.http set of interfaces in trunk. I propose that we make:
> 
> o.a.c.environment.Request  extend javax.servlet.http.HttpServletRequest
> o.a.c.environment.Response extend javax.servlet.http.HttpServletResponse
> o.a.c.environment.Context  extend javax.servlet.ServletContext
> o.a.c.environment.Session  extend javax.servlet.http.HttpSession
> o.a.c.environment.Cookie   extend javax.servlet.http.HttpCookie
> 
> This shouldn't create any compatibility problems, it will make it easier 
> to integrate Cocoon with the rest of the world, it will simplify the 
> architecture, and it would be a great advantage for the block 
> architecture work.
> 
> I assume that we should go for servlet 2.3 as trunk use that, but I have 
> no strong opinions about it. Please comment if you think 2.4 would be a 
> better idea.
> 
> Please cast your vote.

+1

/Daniel

Mime
View raw message