Welcome!

Java IoT Authors: Pat Romanski, Liz McMillan, Elizabeth White, Yeshim Deniz, Zakia Bouachraoui

Related Topics: Adobe Flex, ColdFusion, Machine Learning , Release Management

Adobe Flex: Article

Three RIA Platforms Compared: Adobe Flex, Google Web Toolkit, and OpenLaszlo

Strengths and weaknesses evaluated in three Report Cards

GWT Report Card:

  • Language Syntax: B-
  • Development Process:B+
  • Widgets/Features/Power of Toolkit: B
  • Ease of Deployment: C
  • Server-Side Data Integration: A
  • Client-Side Performance: A-
  • Platform Flexibility: B+

Notes:

GWT has a lot of very cool, fascinating features that I have only begun to scratch the surface of. Generally speaking, if you like Java and your server back end is going to be Java, then GWT is almost certainly the way to go for you. GWT apps are written in Java, which allows you to use existing knowledge in that area to get started fast and get others up to speed quickly. You can develop GWT applications with your favorite Java IDE and debug them just as you would a regular Java app.

GWT apps integrate very well with Java server back ends by providing the best remote object style integration of any of the frameworks. GWT is also technically agnostic when it comes to retrieving server-side data, so support for other web service types is available as well. The JavaScript created by the GWT compiler performs well (see Gmail), and the finished product ends up looking pretty nice, if not on the same level as a Flex application. The generated JavaScript also protects the developer from browser quirks (for the most part), and functions very well cross-browser, giving GWT apps solid flexibility.

The big knock on GWT for me is actually what is touted as its greatest strength - the fact that you write UI logic in Java.  I am a huge fan of Java on the server side, but laying out components for display in procedural code gets tiresome very quickly (see this post for more on that topic).  But for registered Javaphiles that want to take advantage of their existing skills and IDEs, you can’t beat GWT.

OpenLaszlo Report Card:

  • Language Syntax: B-
  • Development Process: B-
  • Widgets/Features/Power of Toolkit: B+
  • Ease of Deployment: B-
  • Server-Side Data Integration: B
  • Client-Side Performance: C
  • Platform Flexibility: A+

Notes:Open Laszlo, without any heavy hitters advocating and supporting its development, is less polished than the other two frameworks on this list, but provides some features and characteristics the other two lack. IDE support is non-existent, but luckily Laszlo features an interactive debugger that lets you inspect your application’s state in the browser window and execute arbitrary methods, which is handy. Like Flex, it allows very fine-grained control over component look and feel, but lacks a CSS-type means of skinning all components in an application. But Laszlo’s main differentiator is that it is runtime agnostic, and is meant to (eventually) be compiled for all kinds of platforms, such as Flash and DHTML (currently supported), and in the future Java ME, iPhone, Silverlight, you name it. If you’re looking to run the same code on a lot of different devices and platforms, Laszlo is worth a look.

The main deficiencies of Laszlo are apparent in its lack of polish when compared to the other platforms. The out of the box widgets look shabbier and the animations are not as smooth as a Flex equivalent. In my personal experience, some of the components don’t work exactly as advertised, which requires a lot of message board hunting at times when problems arise. And client-side performance is an issue, as the Flash binary that gets generated by Laszlo does not perform as well as a Flex 2 equivalent, and the DHTML versions are a little pokey at times as well. For those that need the platform flexibility Laszlo provides, it really is the ticket. But in other areas, Laszlo does not have much to recommend its self over the other frameworks on this list.

Conclusion

Hopefully, this will help you start to evaluate for yourself the strengths and weaknesses of the various RIA platforms that are out there, particularly these three. All are generally serviceable for most RIA applications, but sometimes optimal choices can and should be made given the requirements of a project. If you’re looking for maximum control over presentation and the best possible appearance for the finished product, I would say Flex is probably the way to go. If you’re a Java developer using Java on the server side, or you just can’t stand the thought of having your app run in the Flash player and would prefer JavaScript, GWT is probably going to work out very well for you. Open Laszlo is going to offer a great deal of platform versatility, but at the expense of some polish and features available in the other two frameworks.

Godspeed on your next RIA development project…

More Stories By Kevin Whinnery

Kevin Whinnery is a core contributor and Technical Evangelist for Appcelerator, an open source Rich Internet Application framework. Prior to joining Appcelerator, Kevin has been a web developer on both the client and server side for ERP vendor Lawson Software and technical consultancy Perficient, Inc. Kevin is also the author of the upcoming book "Appcelerator In Action" from Manning Publications.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
NN 05/12/08 04:50:27 AM EDT

Yeah you are right GWT is poor man's Flex.

After using GWT on two projects I am done with creating UI using Java.

Best combo is Flex + ROR or Flex + Java (server side rules no question about that)

Otherwise Appcelerator sounds great for page level RIA.

Flex Wins 02/04/08 11:28:48 AM EST

Overall Flex has the upper hand - not only has Flex Builder's price dropped (250, and don't forget that you get what you pay for with the free alternatives, ya spoiled devs...), but it's not fair to say Flex is "less flexible" on platform. You're saying it's not flexible because it only runs on the Flash 9 "platform", yet when comparing GWT's platform compatibility, you switch the definition of "platform" to the web browser (I guess). Problem is, Flash/Flex runs on that same platform, and arguably runs BETTER because it doesn't care about the browser or the OS, unlike JavaScript/Ajax. Flex is running in the "Flash VM" so it obtains platform independence quite well with that in mind. GWT... might be "pretty good", but it's basically the poor man's Flex.

IoT & Smart Cities Stories
A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to great conferences, helping you discover new conferences and increase your return on investment.
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER gives detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPOalso offers sp...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @ThingsExpo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. The IoT Global Network is a platform where you can connect with industry experts and network across the IoT community to build the successful IoT business of the future.
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.