Use the new resource serving mechanism in JSR-286... See the spec for more details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189340#4189340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189340