users@glassfish.java.net

trouble with ejb decendency injection in managed bean

From: <forums_at_java.net>
Date: Tue, 1 Nov 2011 05:00:09 -0500 (CDT)

Hello everybody,

I've written an JSF Application what uses a managed bean. The managed bean
forwart requests to the real session fassade, which implements a Local and a
Remote buniness interface. Because the JSF Application runs in the Web
container of the glassfish server, I thought, that i could use dependency
injection to inject the session facade to my managed bean.

So could someone tell me i am wrong?

The code is really simple. I will post it now.

[java]

@Local
public interface ProtudoLocalSessionFacadeInterface
{
    public String GetDummyString();
}

[/java]

 


--
[Message sent by forum member 'fluxy']
View Post: http://forums.java.net/node/859089