You might want to try this www.tusc.com.au/tutorial/html/index.html this doesn't uses jboss ide, but uses xdoclet.
You could try the XPetstore project as that seems to be the starting point for most people. I'm not quite sure how good the code is having never really played with it.
Usually the rest of the XDoclet stuff can be gleaned from the XDoclet documentation. There are a few small holes in the documentation though so just be warned about it. You end up having to read the XTDs packed in the XDoclet modules or from the source material to see if the tags are really supported.
The interface generation is pretty straight forward. You can read http://www.amitysolutions.com.au/documents/JBossJNDI-technote.xml for some XDoclet example fragments although the note is aimed more at showing how the EJB/resource references work in JBoss.
Hope that gets you a start.
Thanks for all of your help, but unfortunately I never really needed a tutorial after all. I just stared at it, and hacked around with it untill I pretty much got it figured out. However, I'm still going to take a look at the resources you guys mentioned because there is probably some good info in them.
I do have one snag though. In the "datasource" field of META-INF/jbosscmp-jdbc.xml I am assuming that the fully qualified connection string should be supplied. For example:
Is this the way that it's supposed to be, or is this "datasource" field for a predefined name. For example. Do I use a "nickname" for my datasource in the jbosscmp-jdbc.xml file, and map that nickname to a datasource somewhere else in the configuration?
should refer to the JNDI name of the datasource. See the default jbosscmp-jdbc.xml for an example. The DefaultDS is defined in your hsqldb-ds.xml.