actuallly, figured out part of my problem. I remember that JBoss will reload an expanded application if web.xml is updated.
So i added a ant task build plugin to maven to touch web.xml on every build. This makes my application reload in jboss! Nice.
I'm still interested in how other people work too though.
Use the JBoss Tools plugin - it handles this for you. Essentially, I declare a JBoss AS server in Eclipse, then when I create a Dynamic Web Application project I specify that server. Then every build the app is automatically updated. The JBoss Tools documentation has a quick-start guide that provides the details and several tutorials.
I'll have a look at this thanks.
I tried adding a 'server' to eclipse server view. I selected JBoss > Jboss v5.0.
It complains that it has a missing claspath entry:
However, for a start - i'm using the web profile (not default), and secondly on jboss v5.0 this library is in jboss-5.0.1.GA\common\lib !
Ah, finally you say which version of JBoss AS you are using. If you would have told me earlier that you were using 5.0 I could have told you the magic words to get this to work. See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149696