The beauty of this level of enterprise developement like I have used in weblogic is to have a deployment unit like jar, rar, war or ear file. Take the file to a server instance and simply deploy.
I don't use my glassfish from within my netbeans.
So, the dependency should not be made an issue.
[Message sent by forum member 'okmich' (okmich)]
http://forums.java.net/jive/thread.jspa?messageID=268391