You use it like WELD. You can use all the stuff from the "javax.enterprise.context" package. CDI is an API and WELD or OWB is an implementation :)
2012/4/24 José Luis Cetina <[email protected]> > Ok, but: > how do i use? > what do i have to do for use it? > thats the question, > do i have to use annotations??? > do you know what i mean??? > > Works with the same annotations from WELD? that's the point i cant find > basic information anywhere > > 2012/4/24 Thomas Andraschko <[email protected]> > > > Hi, > > > > it's very easy. > > Just add the dependencies (impl,resource,jsf,web,spi) and configure this > > listener in your web.xml: > > > > <listener> > > > > > > <listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class> > > </listener> > > > > Regards, > > Thomas > > > > > > > > > > 2012/4/24 José Luis Cetina <[email protected]> > > > > > Im starting a project (JSF (Mojarra or MyFaces),JPA, EJB,Primefaces) > and > > i > > > want to use "Apache Open Web Beans" but the information is so poor, i > > can't > > > find enough information for work with it. > > > Can somebody know where i can find example and how to use OWB please!! > > > > > > I had the same problem(not enough information) with MyFaces CODI > > > (Navigation,Messages and Security) and with some effort (questions in > > > mailing list's, reading from a few pages) i could use Apache CODI, now > im > > > trying to implement it in the same project OWB, but i really feel so > > > frustated to see excellent frameworks and extensions from Apache, but i > > > consider that the information its very but very very POOR!! > > > > > > The only thing i now to OWB its a "replacement" for WELD and works > great > > > with all Apache Products. > > > > > > > > > The user guide still in TODO lines... > > > http://openwebbeans.apache.org/1.0.0-SNAPSHOT/documents/userguide.pdf > > > > > > > > > Sorry 4 my english > > > > > > > > > > > > > > > -- > > > ------------------------------------------------------------------- > > > *SCJA. José Luis Cetina* > > > ------------------------------------------------------------------- > > > > > > > > > -- > ------------------------------------------------------------------- > *SCJA. José Luis Cetina* > ------------------------------------------------------------------- >

