[jboss-user] [EJB 3.0] - java.io.NotSerializableException

mohitanchlia do-not-reply at jboss.com
Mon Jun 23 20:52:55 EDT 2008

I am trying to invoke a business method using stateless session bean. Lookup is just fine, but when I try to invoke the method I get:

java.io.NotSerializableException: com.wsdl.common.SenderInfoType

It looks like SenderInfoType needs to be serializable, but the problem is that it's a tool generated code and can't be serializable. Is there a work around for this problem?    

Another question is why would stateless session bean need object to implement serializable interface ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160076#4160076

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160076

More information about the jboss-user mailing list