Okay, I have already developed the project under the package org.glassfish.api.deployment in the NetBean. Where is a code as new file c:\\myapp\\embeddedserver with a port server created (8080) server start.
The file that this example uses is organized as follows:
c:\myapp\embeddedserver\lib\glassfish-embedded-all.jar. Please send me you e-mail to send the project to you my e-mail is developfranco_at_yahoo.com.Thanks
[Message sent by forum member 'francojava']
http://forums.java.net/jive/thread.jspa?messageID=479426