You should be able to use the new JSR286 method: serveResource to stream the PDF data.
Pre-JSR286, you'd have to use a side servlet for this functionality.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264725#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...