Thereâs also a âtransientâ keyword in addition to @Transient.
See pg. 487 of EJB3 in Action (or read the JSR):
âIf you donât want to serialize a particular object, mark that object to be a
transient object and the container will skip that object during
passivation/activation.â
Then thereâs a code example for a SFSB with transient keywordâ¦
So I guess that may fix this problem but Iâm wondering if thereâs any difference if I
use the Seam logger (probably not if itâs using log4j under the coversâ¦)
i.e. if I use the following code in my SFSB's:
@Logger private Log log;
do i need to mark the log object with the transient keyword to avoid this
SerializationException since the Seam logger is using log4j under the covers???
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104246#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...