Hi guys,
I have a small project ( http://cflocator.appspot.com ) based on the tutorial ‘contacts’ app, everything works fine in the GAE, until I try to load the persistent objects into the container from a JDO-DAO class, actually the table get the first (500) group of results but immediately the red session expired alerts shows. I’ve already serialized my objects and enabled sessions on appengine-web.xml
My container code, looks something like this…
public class CFLocationContainer extends BeanItemContainer<CFLocation> implements
Serializable {
public CFLocationContainer() throws InstantiationException,
IllegalAccessException {
super(CFLocation.class);
}
public static CFLocationContainer createWithDAO(){
CFLocationContainer c = null;
try {
c = new CFLocationContainer();
CFLocationDAO cfdao = new CFLocationJdoDAO();
List<CFLocation> cfList=cfdao.listCFLocations();
for(CFLocation loc:cfList){
c.addItem(loc);
}
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
}
return c;
}
Any hints about this? Im pretty new to Vaadin and GAE so probably I’m skipping something obvious.
Thanks,
Billy T.