代码忘了写注解了: {
Initialize i=new Initialize(); //Read a configure file
DBService db=new DBService(i); //all DB operations are in this class
Vector gIDs=new Vector();
gIDs=db.queryGID(gID);
return gIDs ;
}
Initialize i=new Initialize(); //Read a configure file
DBService db=new DBService(i); //all DB operations are in this class
Vector gIDs=new Vector();
gIDs=db.queryGID(gID);
return gIDs ;
}
具体什么错误你可以调试一下。如果调试有困难可以这样:
先做一个空方法,返回一个空的Vector。
需要提醒你的是,如果你在这个Vector里放了其他的对象,
是需要先注册这个对象的。客户端和服务端都要注册。
Vector本身不用注册,它会自己认的。