mathiasbroekelmann / mediahub

prototype for a modular media server mainly written in scala
3 stars 0 forks source link

jsr311 based Resources and Provider should be exported as services. #3

Open mathiasbroekelmann opened 14 years ago

mathiasbroekelmann commented 14 years ago

Functionality will be implemented by modules as jaxrs based resources and providers. These exported services must be made available to the used jaxrs implementation. javax.ws.rs.core.Application services should be resolved as well

mathiasbroekelmann commented 14 years ago

Apache CXF already provides an OSGi integration as part of the DOSGi module. The implementation of that integration looks very rough. The used pax-web service always creates a new web context for each module. That makes it impossible to integrate all services into a single web module where servlet filters may be applyed as a cross cutting concept.

It might be better to use RESTEasy with a own integration for an osgi environment. The intention is to host a war based module which provides the hooks to integrate servlet filters, jaxrs resources and providers which are exposed as osgi services.

mathiasbroekelmann commented 14 years ago

maybe restlet can be used too