Well, I found the answer, but that raises even further questions...
It turned out, I had different names for my Charge entity and the fields in my
session beans. So the field was not correctly outjected and thus overwritten
with null when being injected again on the next method call.
After
Look at value attribute of @Out and @In annotations. It lets you specify name
of the component. So you can do something like this:
| @Out(value=charge1)
| private Charge chargeItem1;
|
| @Out(value=charge2)
| private Charge chargeItem2;
|
|
View the original post :
Thanks, that was exactly what I was looking for :)
Regards,
Phil
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972916#3972916
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972916
Or, you can use the @Roles annotation in the bean itself to indicate that it
has more than one name (and possibly different scope for each name)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972927#3972927
Reply to the post :