Have a look here http://docs.jboss.org/jbossas/guides/webguide/r2/en/html/ch07.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189770#4189770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189770