Problems Marshaling a complex linked list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • javi_moreno
    New Member
    • May 2006
    • 1

    #1

    Problems Marshaling a complex linked list

    Hello,
    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.Seriali zable{

    private LinkedList list; //List of nodes
    .....
    ....
    }

    public class Node implements java.io.Seriali zable{

    //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.Seriali zable{

    // Attributes
    private LinkedList list; //List of conections of one node
    ....
    ....
    }

    I thought that to marshal this structure it was enough with implements java.io.seriaza ble, but Jbuilder do not think the same :)

    Any idea about how to solve it?

    Thank you very much
Working...