I’ve uploaded the pdf, which contains the description of the hands-on workshop on CDB4.0 that we ran for one of our customers. Currently we are working on the September release of CDB 4.1 that will automate data persistence via Hibernate. The appropriate section will be added to the workshop when ready. The Java branch of code generation will have substantial changes in CDB 4.1, but the current doc may be helpful in understanding of the CDB basics.
You can download it in the doc section of Clear Toolkit on Sourceforge: https://sourceforge.net/projects/cleartoolkit/
The beta version of CDB 4.1 will be presented during our symposium on September 10, 2010 in New York City http://www.eventbrite.com/event/770788449 . Enter the code njflex to get $50 off the ticket price.