[jboss-user] [JBoss Seam] - Re: Inject Session Bean Into a POJO

kahliburke do-not-reply at jboss.com
Mon Mar 19 22:16:15 EDT 2007


Seam is trying to create your session component by looking up the bean in JNDI.  

Seam will try to use a pattern for the name as specified by the jndi-name initialization parameter.  This is usually something like myEarName/#{ejbName}/local.  So, seam will use the name of your component as specified by @Name.

 Look at sec 19.1.2 in the reference docs as well as 20.1 for information on the @JndiName annotation that you should use.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029592#4029592

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029592



More information about the jboss-user mailing list