The general rule I've followed is this. If you are introducing new tables and POJOs which seem to fit into an existing manager, then use that manager, i.e. add your methods to that manager. If you are introducing something entirely new, then create a new manager.
For your stuff, it's easier to add methods to an existing manager, so that is probably where I would start. We can always move out them later. Thanks, Dave On Mon, Oct 4, 2010 at 3:03 PM, Peter Lin <[email protected]> wrote: > I'm looking at PlanetManager and PlanetProvider and trying to figure > out how I should bootstrap the JPA dao I wrote for my tag library > enhancement. > > In EntryBasicTests, I see it gets an instance of PlanetManager, which > provides methods for various CRUD operations. I'm thinking of adding > the methods I need to it, but not sure if that's the best approach. > > I also thought about making a new manager, but that would involve a > lot more work. > > any tips? > > peter lin >
