title: Where should beans.xml be placed?
body: <p>I've just upgraded to NetBeans 7.1 from 7.0. On opening a JSF managed bean it "helpfully" told me that it couldn't find my beans.xml file so would I like it created for me. I knew I had a beans.xml file under WEB-INF but I said yes anyway to see what happened. A new beans.xml was created under META-INF for me.</p>
  
  <p>Thinking I'd made a mistake I deleted the file under WEB-INF only to have my application fail at start up. Putting beans.xml back into WEB-INF fixed that problem. This page seems to think both locations are valid: <a href="http://seamframework.org/Documentation/WhatIsBeansxmlAndWhyDoINeedIt" rel="noreferrer">http://seamframework.org/Documentation/WhatIsBeansxmlAndWhyDoINeedIt</a> </p>
  
  <p>So, the question is which folder should beans.xml live in WEB-INF or META-INF?</p>
  
  <p>I'm running GlassFish 3.1.1 and Java 7</p>