Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "JEE-Annotation" page has been changed by LennyPrimak: http://wiki.apache.org/tapestry/JEE-Annotation?action=diff&rev1=5&rev2=6 class SomeTapestryPage { - @EJB private MyStatelessBeanLocal localBean; + private @EJB MyStatelessBeanLocal localBean; } }}} @@ -157, +157 @@ private boolean statefulBeanExists; // another example - @Persist private MyStatefulBeanLocal statefulBean2; + private @Persist MyStatefulBeanLocal statefulBean2; } + }}} + + There is an even simpler way to use Stateful beans, if you are using + the [[http://code.google.com/p/flowlogix/wiki/TapestryLibrary|Flow Logix Tapestry Library]]: + {{{ + private @EJB @Stateful statefulBean; // its that simple! }}} == JNDIObjectLocator.java, variant taken from Tapestry JumpStart == --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org