Well, this is how stateful session beans are supposed to work. They save their
state and that includes your List _vertraege.
So the question is what you really want to do. If you want to keep in sync with
the database at any cost, you could user a stateless session bean. But doing so
will cost
Replying to myself:
Stupid me. I forgot to declare the Interceptor in ejb-jar.xml.
I think this may be a common mistake. I think it would be helpful to add a
comment in the sources of the examples to make it more obvious that an
interceptor has to be declared on EJBs. (Or use the
Hello!
I'm trying to use Seam's @RequestParameter-Feature it doesn't seem to work.
I have the following EJB (shortened):
| @Stateless
| @Name(test)
| @Scope(ScopeType.STATELESS)
| public class TestBean implements Test {
|
| @RequestParameter
| private String parameter;
|