This content has been marked as final.
Show 2 replies
-
1. Re: Outjection
gonorrhea May 6, 2009 8:27 PM (in response to israel.bgf)Not sure exactly why until we see stack trace but try this. (Root cause may be improprer usage of @Out annotation)
Assuming your class is a JavaBean and not an EJB component:
@Name("bean") public class Foo { @Out(required=false) private Person person; public void select(Person p){ person = p; } }
By default, scope for a JavaBean is EVENT.
same example as a SFSB:
@Name("bean") @Stateful public class Foo implements FooLocal { @Out(required=false) private Person person; public void select(Person p){ person = p; } @Destroy @Remove public void destroy(){} }
-
2. Re: Outjection
israel.bgf May 6, 2009 9:51 PM (in response to israel.bgf)Thks for the feedback, the problem was @Out in the method signature... I put it global and worked. Weird anyway.
Thks again!