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
%YOUR_GLASSFISH_FOLDER%\docs\firstcup
examples
Note that Java EE SDK comes with Glassfish and NetBeans comes with Glassfish. You need the Glassfish from Java EE SDK.
Now you can create an application based on dukes-age
archetype - just follow the instructions in clause 3.2.2.2 of tutorial. In my case it took maybe 10 minutes after step 5 until dukes-age-archetype
has appeared in Known Archetypes
, so you'll need to be patient.