ok - I just found out why this does not work when you use the @Stateless or @Stateful annotation:
* the class must implement a method with the @Remove annotation. from the seam reference manual: anonymous wrote : In addition, stateful session bean components must define a method with no parameters annotated @Remove. | This method is called by Seam when the context ends * the class must implement an interface with all its public methods However, I do not really understand what the difference is: When I omit the @Stateless annotation I can access all fields and everything works just fine, so why should I bother adding the @Stateless annotaion, an empty (!) @Remove function and an interface? It's just way more work for me, without benefit (?). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100132#4100132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100132 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user