Hello, SmartClient frontend sample generated from attached model-library.design is available at:
http://f4.rainside.sk:8080/library It's not optimized (not compression, GWT with 'pretty' option, slow connection). First load should take sometimes 40-50 sec. 2nd time should be faster. Everything what you see is coming from default code generated by Sculptor entity tier. No GUI definition, additional code or something was written. Technical details: SC client is now using extensively all dirty tricks available in Java. Reflection, Spring context investigation, Hibernate mapping parsing, ... . WEB Client doesn't contain any business specific code which is written or generated. Only sculptor generated entity JAR file is dropped to web project. Everything else is done on the fly. Working features: * Hibernate definition (datatype, length, required, relations, ...) investigated on the fly * Spring services investigated on the fly (GUI strictly follow service definition) * Additional annotations for services for customizing behavior * Layout change (2 layouts) * Skin change (5 skins) * Language change * Status field handling (IfStatus actions, DetailBehavior, ...) * Translation file (have no time writing one for demo, only generated texts) * Grid/List layout saving (computed columns, column reordering, column sizes - right click on table header) - saving status is turned off in demo (require special service and entity) * Client side filtering, ordering * Lazy loading in lists on client side and paging in servlet * Error handling Unresolved problems: * Inheritance and abstract classes don't work very well - in queue * How to do customization :-D (expecting discusion about this, specially if (and what) we should generate for web tier, for now nothing is necessary, everything what you see is done by on the fly mapping)!!! * Working ONLY with sculptor version 1.5 - postponed Code: * Now I'm in process of Fornaxing code (cutting out some dependecies, package refactoring, ...) * Servlet is aroud 2000 lines of code * GUI is in SmartGWT around 1500 lines * Copyright have to stay for company (Factory4Solutions), license will be LGPL Any ideas, suggestions, recommendations, criticism and compliments are welcome Enjoy Pavel PS: Please don't hack this box. It's virtual server with empty JBoss and empty MySQL inside.
model-library.design
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer