Question from a none netbeans user: when creating a new JavaEE 6
project netbeans doesn't create a beans.xml?

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2012/12/13 Howard W. Smith, Jr. <[email protected]>:
> I struggled getting mine to work as well, but I was advised to either add
> beans.xml to WEB-INF or META-INF folder.
>
> I learned that in NetBeans, for META-INF, you create a new folder in the
> same folder that contain all your java code. Netbeans does not like
> META-INF/beans.xml, you get squiggly lines etc when trying to code, so the
> full path of mine is as follows:
>
> C:\Users\Public\NetBeansProjects\mcms_tomee\web\WEB-INF\beans.xml
>
> Empty beans.xml would be like the following:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://java.sun.com/xml/ns/javaee";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/beans_1_0.xsd";>
> </beans>
>
>
>
>
> On Thu, Dec 13, 2012 at 3:56 PM, Kay Wrobel <[email protected]> wrote:
>
>> Now CDI is item number one in the feature list of TomEE Web Profile and
>> has been since version 1.0 if I remember correctly. I just can't get it to
>> work...

Reply via email to