JBoss as Jndi server, how to persist queues and connections?

Due to the fact, that you should not use the jndi-functionality of the broker we are now using the jndi-server of jboss v.4.2.2.
it all works very well, we can reqister queues and topic via the MyWebmethods naming menu’s.
Only problem when we shut down the JBoss and restart it, all connectionfactories and destinations are lost and we have to manually enter all again. Is there way to persist these settingsin Jboss 4.2?

I have looked at a file called conf\jboss-service.xml.
Can anyone tell me how the config for defining queues and connection should look like in Jboss 4.2?