In retrospect this is really obvious, but a member variable annotated with @In will be overwritten in subsequent invocations of a Stateful Session Bean even with a "required = false" on the annotation.
I had assumed that the "required = false" would prevent the variable from being injected if it wasn't present, but that isn't the case.
Blogged with Flock
No comments:
Post a Comment