Hello, Thanks for the fast replies.
2013/4/16 Romain Manni-Bucau <[email protected]> > Hi, > > you can put OWB in your webapp > > then the way you boot it depend on what you expect. For simple case > CdiCtrl of DeltaSpike can be enough in a context listener, for more > advanced case (integration with servlets) you can need tomcat listeners of > openwebbeans-tomcatX modules > > *Romain Manni-Bucau* > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > Sorry, I didn't mention it. My project is a Servlet+JSF webapp. 2013/4/16 Gerhard Petracek <[email protected]> > hi lucas, > > you can have a look at the archetypes for codi (they use owb configured > for servlet-containers). > > just generate it via > mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org > and update the version numbers (as needed). > > also most examples for codi use owb as well (see e.g. [1] and [2]). > > regards, > gerhard > > [1] > https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-playground/hello_myfaces-codi_jsf20/ > [2] https://cwiki.apache.org/confluence/display/EXTCDI/External > Nice examples! I've generated a maven archetype from myfaces, with OWB and Mojarra, and I am adapting it to my needs. As far as I see, has less thirdparty dependencies (scannotations and javassist) and is more module-oriented. But in the other hand, I'm finding some more "complex" differences in the use of CDI. I'll take a look later and I'll send e-mail if needed. Thanks a lot! :D
