Well, either way, (even with options etc.), this isn't really a requirement. None of the artifacts that GF creates are designed to be used outside of the container in the first place. The portable artifacts for use with the app server are the WAR and EAR files, and those are what should be used when moving the app from one container or another (even a different version of the same container).
Playing musical JVMs behind the back of any system is a recipe for disaster, but if you switch JVMs, restart Glassfish and then do a new deploy, you should be fine.
[Message sent by forum member 'whartung' (whartung)]
http://forums.java.net/jive/thread.jspa?messageID=252000