How to generate Flex VO from database
-
14-06-2021 - |
문제
We already have the database with real data inside. Now we want to build a Flex-Java on top of that. We know how to and did generate/reverse-engineering Java code from the Database using Hibernate tools. The question now is just how to generate the VO action script ! The idea is simple like the Hibernate generate POJO from DB.
Note: We tried data model-driven approach from Adobe but we don't like it.
해결책
If you're already using Java / Hibernate on the server side, then ClearToolkit from the guys at Farata would be a pretty good candidate to generate Flex code from what Hibernate already generated. Not to mention it's free.
다른 팁
The question now is just how to generate the VO action script
- Write the VOs by hand
- Use a code generation tool. I believe some stuff is built into Adobe Flash Builder. Is that what you tried?
- Use some other code generation tool. I don't know of any out of the box. I've used Enteprise Architect to generate code from UML diagrams before, but not in ages.
We use GraniteDS
제휴하지 않습니다 StackOverflow