I have an SFSB with an @Out of myVariable, where myVariable is an entity. The
SFSB then calls a method on a conversation-scoped JavaBean with an @In of
myVariable. Ideally, the myVariable should be exactly the same in the SFSB and
the JavaBean.
The problem may be that myVariable is an entity with properties that are named
the same as other outjected components. What is happening is that the
myVariable is not being injected into the JavaBean from the outjected version
in the SFSB...instead, the myVariable in the JavaBean seems to be constructing
itself from scratch and injecting each property of the entity from the contexts.
For example, if myVariable is made up of properties a and b, then it will bring
in whatever the current values of a and b are in the contexts. Is this supposed
to happen - because if myVariable already exists, why doesn't it just inject
that?
The JavaBean is implementing an interface, and the JavaBean class has the
following annotations:
@Name("thejavabean")
| @Scope(ScopeType.CONVERSATION)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015555#4015555
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015555
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user