And that is why it works. Basically at runtime web server tries to find the library in following order: web server main library (jboss_home/lib), web server particular mode library (jboss_home/mode/lib), then in your application war file (WEB-INF/lib). In fact you should put all java archive files in WEB-INF/lib directory on which your application depends upon.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop