This content has been marked as final.
Show 1 reply
-
1. Re: Stateless bean property access
lvdberg Mar 30, 2011 3:26 PM (in response to wilsoneto)Hi,
you have a
conflict
in your bean definition. You tell the container that the bean is stateless (so it create and destroy when it to do so) and a ApplicationScope without an AutoCreate. First of all. I would NOT put a serial port adapter directly in the seam evnironment with a EJB bean (this is in conflict, because the bean is not allowed to handle its own threads (EJB3 spec)First make it a POJO and test is as a Application scoped bean, but far better, make it a separate process and start it as a separate service.
Leo