B
Berlin Brown
Assume, I have a bean, serializable, set/get.
Assume one of the properties is just an Object
Object a = null;
Is there some limit to how far I can store objects before they get
lost. For example. Can I have a Map of Arrays of Maps of Vectors or
Lists of Arrays? Will all the values get copied if I put all these on
a session variable.
setA(Object b);
Object getA();
bean = new Bean();
bean.setA(obj);
obj = new ArrayList();
obj.add("Something");
Map m = new Map();
m.put(new List().add("SomethingElse");
obj.add(m);
Is there some limit to the stuff above before I lose values?
session.setAttribute(bean);
If I do session.getAttribute();
will all the values be there?
Object o = (Object)session.getAttribute("blah");
That is a pretty good deep copy?
Assume one of the properties is just an Object
Object a = null;
Is there some limit to how far I can store objects before they get
lost. For example. Can I have a Map of Arrays of Maps of Vectors or
Lists of Arrays? Will all the values get copied if I put all these on
a session variable.
setA(Object b);
Object getA();
bean = new Bean();
bean.setA(obj);
obj = new ArrayList();
obj.add("Something");
Map m = new Map();
m.put(new List().add("SomethingElse");
obj.add(m);
Is there some limit to the stuff above before I lose values?
session.setAttribute(bean);
If I do session.getAttribute();
will all the values be there?
Object o = (Object)session.getAttribute("blah");
That is a pretty good deep copy?