hibernate-validator is an alternative

for primefaces you can register in context
.getExternalContext().getApplicationMap().put(APPLICATION_CONTEXT_KEY,
myAppContext);

myAppContext can be created in a ServletContextListener I think which would
get the validator using @Inject Validator validator; Then you just need to
return a factory returning always the same validator in ApplicationContext
implementation (can extend DefaultApplicationContext).

Nice bonus: it will inherit container configuration handling - but to be
honest bval configuration is almost never used.



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-12-23 15:11 GMT+01:00 cocorossello <[email protected]>:

> I'll just use bval snapshot downloaded from jenkins, it works fine.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Performance-problems-in-tomee-7-0-0-tp4677292p4677300.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to