I am working with calls to remote methods in Jbuilder X with session beans.
i have some problems marshaling a complex linked list.
This linked list is a list of nodes. Every node has some atributes and one of this atributes is a reference to another linked list. The code of all this structure is:
public class NodeList implements java.io.Serializable{
private LinkedList list; //List of nodes
.....
....
}
public class Node implements java.io.Serializable{
//Atributes
private String NodeId; //Description (name) of SR
private Object Address; //Reference to the Address
private ConnectionsList conect_list; // Reference to an instance
// of ConnectionList
....
....
}
public class ConnectionsList implements java.io.Serializable{I thought that to marshal this structure it was enough with implements java.io.seriazable, but Jbuilder do not think the same :)
// Attributes
private LinkedList list; //List of conections of one node
....
....
}
Any idea about how to solve it?
Thank you very much