Don;t know but those example are for jboss2.x. You have to change some stuff to get it working. If you want to have my changed stuff just email me
Check out http://jboss.org/docs/.
Towards the bottom of the page there is a free Jboss 3.0 document and examples that should get you started. There are also other books on the same page, that you can buy.