This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Flex vs. HTML w/ Ajax (GWT,  DOJO, ...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Flex vs. HTML w/ Ajax (GWT,  DOJO, ...)" Watch "Flex vs. HTML w/ Ajax (GWT,  DOJO, ...)" New topic

Flex vs. HTML w/ Ajax (GWT, DOJO, ...)

Silvio Esser
Ranch Hand

Joined: Nov 05, 2005
Posts: 58
Which is better in terms of usability (look & feel), learning and development for Java developers, maintaining, integration with popular Java frameworks, future?

It seems to me that Flex is more or less like a Applet which give much richer behaviors than HTML.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302


GenRocket - Experts at Building Test Data
sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
Look at extjs, very good UI library.

you can use the java script library or you can use extGwt a ext rapper on google web toolkit.
Johnson Abraham

Joined: May 31, 2004
Posts: 19
Usability: When it comes to Usability there would be differed thoughts from various developers. Flex has a rich set of behaviours as you said, there are many other tints that you can add using Flex. With AJAX, GWT you can acheive most of what Flex does, so i wont really comment on unsability.

Learning: From a j2ee developers point of view, GWT & AJAX are the technolgies which most of them would like to have it in their CV's. Flex is a bit difficult to learn and there are many other issues which comes up while development which might eat up most of the development time. For example, Client Browser Cache issue. With dynamic flex component on a web page browser cache needs to be cleared if you make some change to the component's code.

Integration: I have worked with both i have found it easy to integrate AJAX. With Flex there is a overhead of having flex installed on the server.

Maintainence: Since Flex itself is framework with .as and .mxml files, it is easy to maintain, but the drawback remains. Client cache needs to be cleared all the time you make any changes to any of the Flex files. With AJAX changes can be done on the fly without effecting the server or the client.

i would vote for AJAX and GWT.
It is sorta covered in the JavaRanch Style Guide.
subject: Flex vs. HTML w/ Ajax (GWT, DOJO, ...)
It's not a secret anymore!