No, Peter, Ken is right. Like I said, I was (and still am) looking for a sample program I can run. It would be nice if the documentation was right (whether that means including the example mentioned in the docs, or removing the reference to them in the docs), but my goal is an example application I can examine.
I know Java very well. The problem is ALL of the J2EE frameworks need a hell of a lot of configuration, and it varies greatly from one implementation to another. It's not the Java code I'm concerned about, but configuring it and deploying it in JBoss. Ken is also right that there are a LOT of examples that will no longer work (if they ever did) on the internet, so there's no way of knowing if it's something I did or a broken example when it fails.
To me, it's very telling that JBoss does not include working examples. If it's so easy to use, why not spend a single day putting together an example that will take two numbers and add them together or something. Tomcat comes with almost a dozen examples.
PS: I don't know why I just got notified of updates to this thread, when they happened back in April, but there you have it. Ken, thanks for clarifying on my behalf. And yes, I am still interested in working examples. Thank you all.