Flex provides means to create RIA applications in declarative fashion using MXML. Unlike Swing where you need to do the entire coding in Java, Flex hides a lot of complexity behind MXML tags like JSTL/taglibs do for JSPs. In JSP world, view level scripting is done in JavaScript and presentation layer server side code is written in Java which kind of provides a separation between client side code and server side code. If you really want to do some dynamic stuff on JSPs, either you write some Java code inside JSP (not recommended though) or you use/create taglibs to achieve the same effect. In Flex world, it’s all about ActionScript (AS). Irrespective of whether you are writing some scripting or server side code, it’s all AS code which kind of creates a confusing situation in front of a developer. It becomes very difficult to separate the scripting code from server side code. That’s one of the reasons people complain about Flex as it looks like it doesn’t provide a clear separation between scripting code and server side code.
[Read more…] about Current Architectural Frameworks Developments in Flex