You would need to create an init.d script and install it - man chkconfig to see how that is done. The attached script is pretty basic and works with JBoss 3.2.x. You would put this in /etc/init.d and probably call it jboss.
You will need to modify the run.sh script of the 3.2.x distribution. Near the start of the script (after all the comments), put a line:
echo $$ > /tmp/jboss.pid
This dumps the pid of the run.sh script into /tmp/jboss.pid that the init.d script uses. The "exec" of the JVM will inherit this PID.
You can check whether the JBoss PID still exists with the same code used in the attached init.d script. Note that this test only checks whether the process still exists. It does not check the health of JBoss - whether it has hung, whether any services are running and so on. This would require a lot more work beyond a simple script to determine.