This content has been marked as final.
Show 1 reply
-
1. Re: Inject Session Bean Into a POJO
kahliburke Mar 19, 2007 10:16 PM (in response to tom_goring)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.