Vita Rara: A Life Uncommon

Classes, Classes Everywhere


Categories: | |

More work on the data layer of Quadran. I think to myself there needs to be an easier way. I'm making every attempt to future proof the system by using interfaces, and then implementations of those. I'm also using the Data Access Object pattern, with interfaces and implementations. Unfortunately this leads to lots and lots of class files:

  • Entity Interface
  • Entity DAO Interface
  • Entity Implementation
  • Entity DAO Implementation

Eclipse has made it easier to generate the implementation classes, but it is still slow going. Once this is done though I'll be able to start laying down real code, which will be a relief.

use the appfuse ( appgen ) application to generate all this in

use the appfuse ( appgen ) application to generate all this infrastruture code . Right now version 1.9.4 will do struts 1 and webwork and others. However, appfuse/appgen version 2 will generate to code for struts 2