title: GlassFish - Migrate domain from version 3 to version 4
body: <p>I would like to move a GlassFish domain from a GlassFish v3.x server (running Java 6) to a new server running GlassFish v4.x (running Java 8). The old configuration uses JNDI, JMS, a webservice, etc...</p>
  
  <p>What is the best approach to handle this ? Can I just copy the domain folder to the new server ? Or do I have to export the config and restore it on the new server ?</p>
  
  <p>Thanks</p>