On 09/11/2013 14:24, Mark Struberg wrote:
Hi folks!
There are 2 different ways to work with OpenWebBeans and tomcat.
A, your app is using CDI but you do not need the container to
understand CDI.
In that case just add owb-core jar + spi + xbean-asm4-shaded + owb-web
into your WEB-INF/lib and add WebBeansConfigurationListener to your
web.xml as <listener>
Is it required that openwebbeans is in tomcat WEB-INF/lib ? In my
environment, we can have tens of webapps on a single tomcat server.
In this contexte, requiring all of them to use the same version of OWB
is not a sensible option.
Best regards,
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|