The Flex add-on has been in limbo for a long time. It is not lart of the regular distribution, and though it had good aims, it has noot been maintained.
I would consider using Spring Roo for the back tier of the app, installing mvc, and then installing Spring Flex Integration manually.
For other front ends, Roo 1.2.2 works with
JSF and with GWT, using the web jsf setup or web gwt setup commands, but I have no experience practically speaking with either of those and Roo, beyond researching them for the book.
If you are doing mobile web apps, consider jQuery Mobile with Spring MVC and using @RooJson (json setup) to add the json encoders to the entity or a dto. Then you can write Spring MVC to expose the JSON
string as a result using:
@RequestMapping(...)
public @ResponseBody String doSomething(..) {
...
Results.toJson... (i forget the method name Roo puts in there but once you annotat a
Java class with @RooJson it will create an ITD (file ending in .aj) loke Foo_Roo_Json.aj with methods to encode/decode a single instance and a list.
You can also submit JSON to the controller using a String parameter and @RequestBody annotating that parameter.
Ken