How to generate Flex VO from database
-
14-06-2021 - |
Domanda
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.
Soluzione
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.
Altri suggerimenti
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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow