I think we are at a point where the model-split work is far enough along that we should consider merging it soon. I need to finish up refactoring WidgetRating but after that there will be enough critical mass to merge it into the baseline IMHO. Prior to that happening it would be good if we can get several people to spend a little time and review the changes that have been made. Any volunteers?
The major changes are: 1) All IDs in the interfaces have been changed from int to String. This is to support a more flexible ID structure in the future with backends other than JPA 2) The model has been split into several related chunks. The major chunks are Users/People, Widget and other right now. Object relationships between those groups have been broken and replaced with IDs. This is to support a more modular backend eventually. Right now they are all still part of the same JPA persistance unit but that is short term. 3) The widget model has been changed to make Widget the top level object and WidgetComment, WidgetTag & WidgetRating are subordinate objects. These changes include removing the widgetID attribute from the subordinate object so that they are associated with the Widget they are attached to. We also consolidated the various services and repositories into the WidgetService/Repository since acting on the subordinate object independent of the widget isn't ideal. 4) The link between RegionWidget and Widget has been replaced with WidgetID. This has required that we populate the JSP attributes with the list of widgets on a page (in the controller). There are plenty of other changes we could make so if there are any you think are crucial before the merge please point those out but I'm hoping we can get the major changes into trunk and then iterate through the rest. Thanks, Chris
