It seems that I have to extend the serializable interface for
my DAO in order not to get errors. Should I be putting it
in the WebSession area, or elsewhere?

I have the full context of the sample at the following. It is
a simple Maven project.
http://brie.com/brian/wicket/zebra00.zip


public interface CheeseDAO extends java.io.Serializable {
        public Cheese getCheese(Long id);
        public List<Cheese> getCheeses();
}

public class CheesrSession extends WebSession {
  private CheeseDAO myDAO = new CheeseDAOImpl();

        public CheeseDAO getDAO() { 
                  return myDAO; 
        }

}


Thanks,

brian
-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to