This content has been marked as final.
Show 2 replies
-
1. Re: Injection of SLSB help
asookazian Aug 18, 2009 1:36 AM (in response to lpiccoli.lucio.asteriski.com)I think you're over-complicating the scenario.
@Local // <-- this is optional, @Local is default public interface FooLocal { } @Name("foo") @Stateless public class Foo implements FooLocal { } @Name("backingBean") public class BackingBean { @In(create=true) FooLocal foo; }
You can replace the create=true with @AutoCreate at the class level for Foo.
-
2. Re: Injection of SLSB help
lpiccoli.lucio.asteriski.com Aug 18, 2009 4:36 AM (in response to lpiccoli.lucio.asteriski.com)thanks arbi
arrrh it was the "create=true" that i was missing!!!
-lp