Hi,

I have a wrapper service that has a session bean. The service class declares a method

public java.util.List myMethod(java.util.List myList) {
    return mySessionBean.myMethod(myList);
}

Calling this method resulted in a java.io.NotSerializableException.. The bean was deployed on WebSphere4.0. When I modified myMethod to look like

public java.util.List myMethod(java.util.List myList) {
    List tmpList = new ArrayList();
    tmpList.addAll(myList);
    return mySessionBean.myMethod(tmpList);
}

it worked fine.

The ArrayListExtension object that ArrayDeserializer returns is not serializable... Could someone please fix this??

thanks
Vikram

Reply via email to