Just in case someone had the same problem I found my mistake. I was annotating the method instead of annotating the class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153683#4153683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153683