views:

30

answers:

0

Hi

I have large forms in my GWT webapp. I'm using SmartGWT. The problem is that the classes that implements the forms are too large. The main reason is because each form has one or two TabSets with multiple tabs. The question is: Should I split this classes? Maybe one per tab?

Each class is responsible of instantiate the form (the most of the code goes here), implement both get and show methods, to obtain and load the data in the form, and a validate method. So, if I split this classes I will need a mechanism to communicate the small ones.

Which are the best practices here?

Thank you!