TIPs
1: filesystem-->standalone/deployment
2:./bin/jboss-admin.sh --connect; deploy or undeploy
3: web management interface and you need to enable it firstly
4: using maven to deploy jboss-as-maven-plugin in the pom xml file mvn clean packages jboss-as-deploy mvn jboss-as:undeploy
5: using eclipse m2eclipse recognize it as a wtp prject(no idea what the wtp is) and correctly loads all dependencies