| Summary: | Consider replacing JBossWeb with the lightweight httpserver for REST endpoint | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Manik Surtani <manik.surtani> | |
| Component: | EAP | Assignee: | Tristan Tarrant <ttarrant> | |
| Status: | CLOSED WONTFIX | QA Contact: | ||
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | unspecified | CC: | bill, jdg-bugs, manik.surtani, trustin, ttarrant | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| URL: | http://jira.jboss.org/jira/browse/EDG-31 | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 745884 (view as bug list) | Environment: | ||
| Last Closed: | 2011-11-10 16:21:55 UTC | Type: | Feature Request | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
Labels: Added: EDG_7 Why not Netty? Bill Burke had some interest in running RestEasy on top of Netty and that makes sense in my opinion. Less dependency, too. Docs QE Status: Removed: NEW I wouldn't use the simple httpserver as I wouldn't think it'd be "performant" enough. Netty sounds good. The hard part with raw Netty is that we'd need to get RestEasy working on top of it. Not impossible - and in fact they may already have an adapter for it - but will need more investigation. In fact, using Netty would make things easier in that all endpoints will have common config elements. I'm definitely interested, but its just a matter of priorities. Right now I'm focused on security, next will be JAX-RS 2.0. I have, in the past, gotten Resteasy to run on top of Grizzly, so it shouldn't be that hard to run it on Netty. THe abstractions are there. *** Bug 745884 has been marked as a duplicate of this bug. *** Not worth the effort ATM |
Complexity: High project_key: EDG The current inclusion of JBossWeb in the {{datagrid}} profile is unnecessarily large and unwieldly. Jason et al have extracted httpserver from the Sun JDK and have repackaged it: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/com/sun/httpserver/httpserver/1.0.0.Beta1/httpserver-1.0.0.Beta1.pom This may be something we could use instead. Much lighter weight plus it means people won't be able to deploy custom WAR files into the {{datagrid}} profile. This has some TODOs though: * Will need a simple Servlet-like wrapper * Will need to test RestEasy on it