NetBeans uses directory deployment to speed things up (no WAR file). So you are comparing apples and oranges (wrt/ asadmin deploy).
If you want NetBeans to deploy as a WAR file, you can switch this off (do this only temporarily - it speeds up development) via the server properties dialog. Open the services panel in NetBeans, right click the glassfish server and choose properties.
[Message sent by forum member 'peterwx' (peterwx)]
http://forums.java.net/jive/thread.jspa?messageID=356984