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

Reply via email to