Welcome!

Java IoT Authors: Elizabeth White, Carmen Gonzalez, Zakia Bouachraoui, Yeshim Deniz, Pat Romanski

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)

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.


IoT & Smart Cities Stories
Never mind that we might not know what the future holds for cryptocurrencies and how much values will fluctuate or even how the process of mining a coin could cost as much as the value of the coin itself - cryptocurrency mining is a hot industry and shows no signs of slowing down. However, energy consumption to mine cryptocurrency is one of the biggest issues facing this industry. Burning huge amounts of electricity isn't incidental to cryptocurrency, it's basically embedded in the core of "mini...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Japan DX Pavilion at @CloudEXPO Silicon Valley
The graph represents a network of 1,329 Twitter users whose recent tweets contained "#DevOps", or who were replied to or mentioned in those tweets, taken from a data set limited to a maximum of 18,000 tweets. The network was obtained from Twitter on Thursday, 10 January 2019 at 23:50 UTC. The tweets in the network were tweeted over the 7-hour, 6-minute period from Thursday, 10 January 2019 at 16:29 UTC to Thursday, 10 January 2019 at 23:36 UTC. Additional tweets that were mentioned in this...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Where many organizations get into trouble, however, is that they try to have a broad and deep knowledge in each of these areas. This is a huge blow to an organization's productivity. By automating or outsourcing some of these pieces, such as databases, infrastructure, and networks, your team can instead focus on development, testing, and deployment. Further, organizations that focus their attention on these areas can eventually move to a test-driven development structure that condenses several l...
The term "digital transformation" (DX) is being used by everyone for just about any company initiative that involves technology, the web, ecommerce, software, or even customer experience. While the term has certainly turned into a buzzword with a lot of hype, the transition to a more connected, digital world is real and comes with real challenges. In his opening keynote, Four Essentials To Become DX Hero Status Now, Jonathan Hoppe, Co-Founder and CTO of Total Uptime Technologies, shared that ...
Over the course of two days, in addition to insightful conversations and presentations delving into the industry's current pressing challenges, there was considerable buzz about digital transformation and how it is enabling global enterprises to accelerate business growth. Blockchain has been a term that people hear but don't quite understand. The most common myths about blockchain include the assumption that it is private, or that there is only one blockchain, and the idea that blockchain is...