[jboss-dev-forums] [Design of POJO Server] - Re: Annotation for MC bean
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Thu Apr 2 08:45:19 EDT 2009
"bstansberry at jboss.com" wrote : There may not be one anywhere. I don't think @Jndi actually works. (Not that the code doesn't work if the lifecycle-xxx declaration is there; just that applying the annotation doesn't currently do anything.)
@Jndi does not work but @JndiBinding does, see https://jira.jboss.org/jira/browse/JBAS-6502. To make sure this is clear, annotating a bean with @JndiBinding serializes the bean and puts it in the JNDI, it doesn't provide any remote access to the bean itself or anything similar :)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223000#4223000
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223000
More information about the jboss-dev-forums
mailing list