41
Complex UI Tree – V2
uSophisticated tree written in Java using conventional wisdom. 
ØVirtually no code in the database
ØPerformance was poor (mainly because of excessive round trips and unnecessary full tree refreshes)
Ø12,000 lines of code spread across 50 classes making the code difficult to modify
uUsing a complete thick database approach
ØDesign refactored so that all tree display logic was stored in the database
ØThe tree is sent by the database to the user interface as an XML file.
ØModifications to the tree are also sent as small XML files that indicate tree-node refresh commands.