I\'m following the JEE7 first cup directions for EJB:
Before you can create applications based on the archetypes, you must first install the archetypes
Once you open the first cup project in NetBeans from javee7 sdk, you should edit the pom.xml with:
org.glassfish.javaeetutorial.firstcup dukes-age-archetype maven-archetype
Then build the dukes-age-archetype project to get listed in the known types.