@Stateful
| @Scope(SESSION)
| @Name("bookingList")
| @Restrict("#{identity.loggedIn}")
| @TransactionAttribute(REQUIRES_NEW)
| public class BookingListAction implements BookingList, Serializable
According to JSR 220:
"The session bean class is not required to implement the SessionBean interface or the
Serializable interface. Interceptor classes for the bean are likewise not required to
implement the Serializable interface."
pg. 68
So why does the BookingListAction SFSB implement the Serializable interface? What effect
does it have to do that (or not)?
Also, the JSR states:
âDeclaring the session beanâs fields as transient is, in general, discouragedâ
Pg. 65 â JSR 220
What's the reason?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104758#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...