First, you need the Eclipse "for Java EE Developers". Second, I don't know, at this moment, if JBoss 4.x is supported by default, but you can eventually download the JBoss Tools (plugin for Eclipse)....