[JBoss-user] [JBoss Seam] - Re: SFSB are evil? (The eternal Update problem)

2006-06-22 Thread fhh
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

[JBoss-user] [JBoss Seam] - Re: @RequestParameter does not work (for me)

2006-06-08 Thread fhh
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

[JBoss-user] [JBoss Seam] - @RequestParameter does not work (for me)

2006-06-06 Thread fhh
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; |