Hi. I'm just in search how to deploy my project to the remote Glassfish v.2 server. It's easily could be done by installing Glassfish server on local computer and using as-admin tool but it's just a waste of space, time and recourses... The better way is to use jar files with defined Ant tasks(like you do with Tomcat or GAE), but as i found here it's almost unreal to do this in normal way(only with some cheating)...
Also, as you can see here it's rare bug in Glassfish server(hope it will be fixed in v3)