Welcome!

AJAX & REA Authors: Scott Sellers, Liz McMillan, RealWire News Distribution, David Smith

Related Topics: AJAX & REA, Java

AJAX & REA: Article

Smackdown on AJAX Programming Models and Frameworks

I've attended an interesting panel including representatives of different technologies and frameworks

JavaOne 2006: Smackdown on AJAX Programming Models and Frameworks

I've attended an interesting panel including representatives of different technologies and frameworks (AJAX, Flex, DOJO, DWR, JSF, JAVA/JWS). These are some of  sparced raw notes. I decided not to put names here, because the notes are not complete.


Real-World AJAX Power Panel in San Jose, California

People like desktop because they need performance and ability to work in a disconnected mode. Also, people like the Web deployment model. Flex fits all of these requirements.

Can we take Java as a serious programming language? It's very easy to make mistake in JavaScript. You can't understand JavaScript until you run it. Do not expect it to be Java. If you love classes, run away from JavaScript.

Flex's implements  ECMAScript4, which  supports strong typing, and if you know what are you dealing with you can achieve good performance.

Closures are very good features, and Java does not have them. JavaScript is not a good general programming language.

JSF creates and renders JavaScript for you. JSF encapsulate all different artifacts.

If you are in financial services, polling or HTTPConnections may not be a good idea. You can use either sockets or message service.

If you try to keep HTTP connection open, you have only two connections in IE. It's not enough.

How do you decide if you do polling or you keep connection open.

Consumer/producers give you a flexible programming model. Your application is isolated from the polling or socket technology.

DOJO has poor documentation. Why bother, just right click and View Source :).

How many people are exited about using Flash. Only a handful of  people raised their hands. Maybe because it's proprietary and also it's a plugin.

Five years ago, the programming model has involved timelines, people did not really understand how to use it.

Flex is free, the source code is published. Adobe wants to keep control over Flash player, which is a VM. Flash is a plugin, but it does not make it a second class citizen.

Creator of the DWR framework said that is not finished yet, and it relies on his time availability to finish it? I (YF) would not  take such product seriously.

Swing is difficult to use. Answer: An API doubles the IQ test. :-) Flexibility comes with a price. Sun is trying to address it, for example they work on data binding. Does it means that in about 2-3 years it'll be easier? :-)

Why have not applets gain traction? They are restricted to a rectangular box, and it takes a long time to start them.

Can you comment on Google's W2T kit that lets you write Java that executes JavaScript? The solution is incomplete at this point.

Any thoughts on Backbase?

Hi AJAX and Java guys are planning to address complex GUI layouts? Java has GridbagLayout, but people need something easier. GroupLayout should help (Matisse, Netbeans). The good GUI builder in Java is about 10 years over due. In AJAX and browsers it's not pretty, but you can do it. JSF has a concept of the component children, which helps with layouts.

The latest versions of Flash are not available on all platforms. Yes, Windows and Mac are the prime targets, and Linux will come next.

Flex has a component-based development env: Flex Builder, an Eclipse plugin with debugger and  rich library of components. You do not have to have a Flex server, you can talk directly to your Java components or Web services.

posted Thursday, 18 May 2006
tags:  

More Stories By Yakov Fain

Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Yakov co-athored the O'Reilly book "Enterprise Application Development with Flex". He twits at twitter.com/yfain.

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
SYS-CON Italy News Desk 05/19/06 08:54:26 AM EDT

I've attended an interesting panel including representatives of different technologies and frameworks (AJAX, Flex, DOJO, DWR, JSF, JAVA/JWS. These are some of sparced raw notes. I decided not to put names here, because the notes are not complete.

AJAX News Desk 05/19/06 08:41:58 AM EDT

I've attended an interesting panel including representatives of different technologies and frameworks (AJAX, Flex, DOJO, DWR, JSF, JAVA/JWS. These are some of sparced raw notes. I decided not to put names here, because the notes are not complete.

Cloud Expo Breaking News
Nearly every enterprise is evaluating cloud computing solutions either today or in the near term. Many have already made the leap, and many more are getting close to putting that first toe in the water. But there are key considerations that should be made, questions to be asked, and designs to consider before you can feel secure with your provider. In his session at the 10th International Cloud Expo, David Gulick, Product Manager, Hosting Product Management at Savvis, will help give you food f...
With Cloud Expo 2012 New York (10th Cloud Expo) now under four weeks away, what better time to introduce you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and strategy sessions for you dealing with every nook and cranny of Cloud Computing, but what of those who are presenting? Who are they, where do they work, what else have they written and/or said about the Cloud that is t...
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in high-performance, high-efficiency server technology and green computing, will exhibit at SYS-CON's 10th International Cloud Expo, which will take place on June 11–14, 2012, at the Javits Center in New York City, New York. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions for Embedded Systems, E...
SYS-CON Events announced today that ScaleMP, a leading provider of virtualization solutions for high-end computing, will exhibit at SYS-CON's 10th International Cloud Expo, which will take place on June 11–14, 2012, at the Javits Center in New York City, New York. ScaleMP is the leader in virtualization for high-end computing, providing maximum performance and lower total cost of ownership (TCO). The innovative Versatile SMP (vSMP) architecture aggregates multiple independent systems into a sin...
Come learn real-world examples where cloud and mobile are changing the way business works and the impact they're having on efficiency and productivity. In his session at the 10th International Cloud Expo, Rodrigo Coutinho Senior Product Marketing Manager at OutSystems, will look at how mobile and the cloud are interwoven and the wave of change these two 2012 megatrends will bring to your organization. He will also provide a roadmap to assure you can navigate this sea change for business succes...
Enterprise IT organizations want to deploy a virtualized data center fabric that will provide the foundation for agile private cloud computing. Getting there does not have to be difficult, but it does require a new approach to data center infrastructure design – an approach that is non-disruptive, vendor-agnostic, and very adaptable to changing business requirements. In his session at the 10th International Cloud Expo, Bruce Fingles, Chief Information Officer and VP of Product Quality at Xsigo...
With Cloud Expo 2012 New York (10th Cloud Expo) now under four weeks away, what better time to introduce you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference...
How can businesses harness the power of APIs to reach new customers and markets? In his session at the 10th International Cloud Expo, Alistair Farquharson, CTO at SOA Software, will walk the audience through the growth and evolution of the API, why effective API management is important, and how the game changes when companies expose business applications to the outside world. He will also discuss: A brief history of the API How to use APIs to make money, save money, build brand "Appificatio...
With Cloud Expo 2012 New York (10th Cloud Expo) now under four weeks away, what better time to introduce you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference...
With Cloud Expo 2012 New York (10th Cloud Expo) now under four weeks away, what better time to introduce you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and strategy sessions for you every day from June 11 through June 14 dealing with every nook and cranny of Cloud Computing and Big Data, but what of those who are presenting? Who are they, where do they work, what else have ...