Bug 350300

Summary: Reconsider how FakeContextUtil provides HttpServletRequest and HttpServletResponse
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 Keywords: performance
Version: 1.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2011-06-24 13:05:06 EDT
With bug 348587, the way how FakeContextUtil provides 'implementations' for HttpServletRequest and HttpServletResponse changed.
Before this bug was resolved, mainly _empty_ implementations were provided for both interfaces. As this led to compile errors with javax.servlet 3.0 and was problematic with supporting javax.servlet from 2.x up to 3.0, we used JDK proxies. Creating proxies however performs slower than instantiating Java objects.
Reconsider the decision made in bug 348587 under the potentially changed environment (Jetty 7?, Jetty 8?).