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
- The Business Value of Continuous Delivery Download this whitepaper to learn more about the business value of Continuous Delivery and see why it could be a game changer for...
- Ten Factors Shaping the Future of Application Delivery Download this research report conducted by Enterprise Management Associates (EMA) to learn how those that are seeking to accelerate application delivery are leveraging...
- Adobe Creative Cloud FAQ The following are answers to common questions about Adobe® Creative Cloud™ for teams membership, purchasing, security, and storage.
- What's coming to Adobe Creative Cloud Editing and video content creation workflows are about to get easier and more exciting, with major updates coming soon to Creative Cloud, bringing...
- NSS Labs & Cisco Present: Evaluating Leading Breach Detection Systems Today's constantly evolving advanced malware and APTs can evade point-in-time defenses to penetrate networks. Security professionals must evolve their strategy in lockstep to...
- Will the Real Endpoint Threat Detection and Response Please Stand Up? This webinar explores new technologies & process for protecting endpoints from advanced attackers as well as the innovations that are pushing the envelope... All App Development White Papers | Webcasts