Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 374327

Summary: Register ServiceHandler by path
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2012-03-14 19:20:40 EDT
Just like entrypoints, service handlers should also be registered by path instead of id. This would allow for more flexible URL schemes and make the ugly custom_service_handler parameter obsolete. It would also prevent problems in case of a misspelled id attribute (see bug 343080).
Comment 1 Ralf Sternberg CLA 2012-12-01 11:14:00 EST
This would require to register an additional RWTServlet for every ServletHandler, which is problematic at runtime. As an alternative, one could register a servlet with the servlet container instead of using a ServiceHandler.