Edit HTML files with nxml-mode
Use java-mode for AspectJ files
Use java-mode for BeanShell files
JARs, WARs etc are plain ZIP archives
Edit Eclipse's project files as XML
Apache Maven's POM files are XML