Hello Richard,
yes, the JNDI names must be changed.
If you run in the same module of the application you can use
java:modul/Account.....
if you are 'only' in the same EAR but in a different module you need to use
java:app/appEar-1.0-SNAPSHOT/.....
To make it more easy I recommend to define a module name in the DS to get rid of the version, also you can rename the ear/jar
If you are using XDoclet to generate the interfaces you might change the XDoclet *.xdt templates to be able to use AS7 and earlier with the same applicaiton.