Rich Internet Applications Pick Up Where HTML Stops
|Many companies are building next-generation web sites with three goals in mind: |
Upgrading the user interface is one of the first steps toward accomplishing these goals, but companies are realizing that HTML gets in the way. In addition to Web sites, Internet technologies are commonly used to build internal enterprise applications. However, in spite of its many benefits, HTML has been a step back in comparison to the functionality and performance offered by other desktop applications. The solution for anyone interested in overcoming the constraints of HTML lies in rich Internet application (RIA) technologies.
HTML's document-driven paradigm, while obviously extremely successful, has significant shortcomings. First of all, in the HTML model, most user actions result in a page refresh (round trip to the Web server). This forces a linear, multistep interaction process and limits interactivity. From an experience and performance perspective, it's inferior to what typical desktop applications offer and doesn't come close to offering the sophistication and creativity of high-end graphical applications.
RIA technologies address both of these issues. They provide a better creative platform to support a more attractive user experience. They also enable a desktop application-style interaction model and performance, while retaining the Internet "deploy-once, use-everywhere" software installation model. In essence, RIA technologies enable creation of functionally and data rich applications with compelling user experience.
This paper outlines different RIA technology options and provides a set of data points for those wondering where to start.
Rich Internet is synonymous with Flash for many people. While Flash indeed plays a big role, there are many more options to choose from. These are outlined below and summarized in Table 1.
Flash was originally developed as an animation tool. Over time, it expanded its capabilities, and today, in the most recent Version 8, it supports sophisticated animation, video, audio and programming through ECMA-based ActionScript language.
Flash is used to provide:
- Graphically attractive product information as demonstrated by the Infiniti home page.
- Real-time information updates without page refreshes, as illustrated by the stock quote object on the ETrade Financial Corp.'s page.
- Sophisticated tools and wizards such as The Broadmoor Hotel's reservation tool.
Several options are available for integration of Flash objects with other technologies such as JSP, XML, Java objects, .Net objects or Web services. The most sophisticated of these, Remoting, allows Flash to call directly methods of Java and .Net objects.
Applets represent one of the early attempts at providing rich functionality. Developers write applet code in Java with almost full flexibility of the programming language available to them. Applets suffered from poor download and execution performance as well as execution inconsistencies across operating platforms. Subsequently, while Java is one of the most popular server-side code development platforms, applets are used relatively infrequently.
ActiveX is a Microsoft Corp. answer to the need to provide functionally rich components on Web pages. ActiveX components are easy to install miniprograms, which download with Web pages and run within the browser window. Because of security concerns, users are becoming less willing to install unknown programs on their systems, which has affected the popularity of the ActiveX components.
Microsoft is working on a new user-interface technology code-named Avalon. It includes XAML, a new descriptive programming language for writing user interfaces. The technology unifies handling of documents, media and user interfaces.
Presentation server products have been created specifically to address the shortcomings of HTML and provide a platform for the creation of the new class of interactive Web sites and applications that equal desktop applications in level of sophistication while also retaining ease of deployment of Web applications. Features of presentation servers include:
- Clear separation of the presentation layer from the business layer -- presentation servers focus on the presentation layer.
- Comprehensive development tools -- integrated development environment with rich set of prebuilt components, support for drag and drop metaphor, WYSIWYG edit and preview .
- Ease of integration with standard J2EE or .Net based web infrastructure. Presentation server runs within a Web server or application server environment -- it's typically deployed as a servlet -- and connects to existing business objects, databases and services.
- High performance through reduction in network bandwidth requirements.
- Zero install -- applications deployable to any of the popular browsers without installation of additional software.
- Support for the proven Secure Sockets Layer model.
Usage scenario of an application server is depicted by the diagram below:
- Developer creates applications using an integrated development environment (IDE).
- Applications are stored in a XML format (for example, MXML in case of Flex, LZX in case of Laszlo). XUL (XML User interface Language) is an emerging open standard for describing user interfaces of applications.
- When a user requests an application, the request is routed to the presentation server, which downloads the client runtime environment and initial screen definition. Some presentation servers use Java applet as a client, while others download a set of Flash services and use Flash Player instead.
- The client is responsible for laying out the screen, user event (e.g. mouse click) handling and communication with the presentation server.
- After the initial download, the client and server maintain communication. The server is responsible for processing client requests, maintaining state, connecting with business layer, databases and services, and passing incremental data and user interface descriptions back to the client in a XML format. Client processes and renders received information -- all without page refreshes. Typically, both client initiated and server initiated modes of communication are supported.
Rich Internet Apps
- HTTP Status Code Cheat Sheet Look at the Graph, Find the Code and Boom - You're Solving Problems. Identifying and understanding common HTTP status codes can go a...
- 10 Steps to Application and Network Performance Nirvana 10 simple steps that network operations teams can take to ensure that applications and underlying infrastructure can both be tuned for maximum performance.
- Application Performance Management for Dummies Application performance management helps deliver the application performance users and the business demand. Effectively monitoring and troubleshooting application performance issues requires a comprehensive...
- IDC Report: Optimize IT and Business Gains This IDC Whitepaper outlines how CIOs can understand what the "total cost of data" is across their entire organization and how Delphix can...
- Business-driven data protection Setting up data protection infrastructures with your organizations' core mission or business in mind is key. In this webinar, the ARCserve team will...
- On-Demand Webinar: Mind the Gap! Watch the webinar featuring Bob Janssen, CTO and Co-Founder of RES Software, to start building a solid foundation for business and IT to... All App Development White Papers | Webcasts