You can make use of xdoclets. XDoclet facilitates automated deployment descriptor generation. Check out the tutorial http://www-106.ibm.com/developerworks/edu/ws-dw-ws-j2x-i.html The tutorial mentions about JRUN supporting XDOClets. Some vendors have started supporting XDoclet as part of their tools that ship with the J2EE application server (JRun).