This content has been marked as final.
Show 1 reply
-
1. Re: in one bean: @Stateful and @Model?
assen Dec 12, 2011 2:37 AM (in response to rocketman.s.wingels.gmx.de)Hi Sascha,
If this combination of annotations makes sense depends on your needs.
It just means that on each request new fresh instance of the stateful bean Registrar is created and at the end of the request droped (i.e. freed for garbage collection).
It also means that Registrar is accessible in EL by the name registrar.And no, it does not mean, that this bean is stateful and stateless at the same time ;-)