Hi,
By default jboss has a default datasource configuration with HSQL DB, JNDI name for it is java:/DefaultDS
To deploy any web or J2EE application you just have to copy war or ear file into $JBOSS_HOME/server/default/deploy folder.
JBoss configuration in NetBeans 6.1
go to tab Services--->right click on Servers---Add Server option will come, click that option window will come in that choose Jboss Apllication Service, then click next give the location of server and then finish
To Stop the server right in that output window for server stop option will come ......