Google Web Toolkit - Second Hurdle
So in my continuing evolution to implement my test project, I’ve encountered the following issue:
No source code is available for type com.ckaminski.ktriage.interfaces.callTracking.CaseRecord; did you forget to inherit a required module
I’ve created a package hierarchy such as:
com.ckaminski.ktriage
com.ckaminski.ktriage.client
com.ckaminski.ktriage.interfaces...
Well, my CaseRecord is indeed present and accounted for, and it implements IsSerializable. It has a default no-argument public constructor, CaseRecord().
Yes I am still plagued with these errors. Stay tuned.
- Update -
The cause is because the objects themselves (not abstract, not interfaces), need to be children of the com.ckaminski.ktriage.client package. Otherwise the Google Hosted environment doesn’t understand how to find the classes to marshal them. The reality of this setup has changed my impression of the GWT, and definitely changes the ideas I had about architecting this solution. It does re-iterate the lessons learned from my CORBA experiences way back in the day (20th Century - 1999):
- Pass data in large chunks
- Do not rely on fine-grained operations on objects to define behavior
Well now my program compiles and also runs, and I’m back implementing new code and not ripping my hair out. The next steps:
- Creating table rows
- Creating dialog to show case information
- First deployment test to Google App Engine