Hi I wanted to know how i could return a class as XML which has an
arraylist in it
Example
@XmlRootElement
class someclass
{
private ArrayList<AnotherClass> ac;
public someclass()
{
ac = new ArrayList<AnotherClass>();
}
}
Also how would i send an arraylist<AnotherClass> back in XML form any
suggestions would be appreciated.