users@glassfish.java.net

ejb is not injected in a JSF converter

From: <glassfish_at_javadesktop.org>
Date: Tue, 30 Mar 2010 15:58:26 PDT

Hi,

I have a stateless session bean which works fine in conjunction with my jsf files. However, today I introduced a converter in one of the jsf files. While converting from String to my custom object I noticed that my EJB is not injected, although it is declared as:

[i]@EJB MyEJB myejb;[/i]

The converter is declared as follows:

[i]@FacesConverter(value = "sectionConverter")
public class SectionConverter implements Converter {
..
}[/i]

Does anybody know if it's something special I should configure to make the injection work ?

Thank you,
Ionut
[Message sent by forum member 'sionut']

http://forums.java.net/jive/thread.jspa?messageID=394559