Have you looked at XDoclet? JBoss-IDE uses XDoclet so that may be a good starting point for you.
I am using netbeans, so I guess i will have to install eclipse and give it a try.
Are there any for netbeans? or some standalone deploy tools for jboss? similar to Sun's J2EE deploy tool program?
XDcolet comes with ant tasks, so if you're using ant for your build process then it would be simple to use XDoclet