Maybe JBoss Seam is what you are looking for. See http://www.seamframework.org/ There you can use @Name annotation in Java classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241414#4241414 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241414