There is currently a pull request in CXF to integrate with Hibernate Validator to provide bean validation support in OSGi.
See https://github.com/apache/cxf/pull/102

I am pretty sure the approach with a ValidationHelper class is not really ideal. The question is though what would be a good way?

I can imagine that either a ValidationFactory or ValidationProvider could be registered as a service by hibernate or by some karaf or aries provided adapter.

Does anyone have experience with using javax.validation in OSGi. Is there maybe even some work on a spec around this already or some best practices?

Christian

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to