Creating thin clients using Ajax and Java EE (2)

Source: Internet
Author: User
Tags contains error handling expression html form include interface domain to domain
ajax|j2ee| Create | client

2. Use the Java Server Pages (JSP) model when data is passed to the JSP page

While this scenario is fairly good, the development team finds that the number of data to be displayed on the page is too large, which can discourage users from using interest. In addition, in terms of efficiency, the exchange and transfer of graphic data is particularly slow. For example, Iconix confidence Interval graphic--is used to display scanned gene expression data, which takes at least 2-3 seconds to load, because this scenario requires a dedicated graphical servlet to display each of the graphs individually.

Examples of Drugmatrix confidence Interval graphic

Note: This figure contains the Drugmatrix confidence Interval Graphic, which is displayed instantaneously through an HTML form vector pattern.

3. An AJAX development Framework plus Interface Builder

The last adopted solution, through the use of the Tibco Common interface framework, is very easy to handle complex Ajax. This mature scenario includes the ability to help the development team deliver Drugmatrix to the market faster than other scenarios and reduce development costs. The main differences in this programme include:

。 Visual development tools, similar APIs and extension libraries, efficient GUI components

。 A modular, publicly based architecture that can reuse and customize objects

。 Client data caching, which saves data for client use throughout the session, reduces unnecessary access to the database, and enables the server to deliver more data

。 Support synchronous, asynchronous, and real-time communication capabilities through leadership standards and protocols such as HTTP/S, XML, and SOAP

RIA Solutions can use XML to produce full-color HTML tables that produce images 50% faster than Java applets and 97% faster than JSPs.

Figure III: Drugmatrix Data Browser Environment

Figure I: Drugmatrix Scalable Information System (XIS) architecture

The Drugmatrix UI economy shows a large amount of information-related data by using the following characteristics:

。 Use outer tabs to identify different information domains (data warehouse dimension tables)

。 Use inner tabs to include information for the callout field (data Warehouse fact tables)

。 Extensible hyperlinks to support domain to domain browsing

The Expression test field (Figure III) contains 10 fact tables, each fact tables have 50-300 records. Although this page contains only 12 records, it can quickly and skillfully overturn the next page without refreshing the entire page. Columns can be scaled and transformed, and records can be categorized.

In addition to the TIBCO generic interface, the AJAX-based RIA product we chose for the Drugmatrix client, most vendors offer JSP or HMTL based solutions. None of this is beyond our original vision of a major breakthrough.

Income

Drugmatrix's GUI meets the information requirements of pharmaceutical companies: easy to use, interacting with previous fat clients. Iconix Pharmaceuticals's development team is interested in developing such a GUI: meeting a wider range of drug-related information and providing more views on how to display this data. In addition, the team is interested in developing a Web page that transcends basic types of pages or documents, and minimizes development and maintenance costs.

In particular, Ajax technology is used during the development of Drugmatrix to allow Iconix:

。 Integration of 200个百万 drug data into a rich, visually interactive interface

。 than the standard client server architecture, delivering Drugmatrix to customers half the time and reducing development costs by two-thirds

。 The leverage of the GUI separates our products from our competitors ' products.

。 Different from a desktop application system, we use standard browsers to save customers the cost of publishing and maintenance

Other aspects

The development team hopes that an AJAX based RIA solution will accelerate the development of Drugmatrix, as we have hoped, as shown in the following example:

For scientific research institutions such as Iconix, there is a continuing demand for new and improved tools. One of the challenges that we face is also an important source of overhead: specifications for the rapid development of new products.

Before using the RIA framework, based on the Internet Development Environment (IDE) solution, we need to write a page specification into the development plan and send them to the product Development Board. Including video conferencing time, the whole process usually takes 3-4 weeks.

Often, Iconix developers create and modify page specifications in a very confusing way, often halfway through the development session. These specifications are 80% complete and require a small amount of optimization, but these optimizations will greatly reduce development time.

We believe that the advantages of Ajax are not ICONIX development environment, other projects are certainly the same. For all the development of an enterprise-class system that uses the RIA framework, Ajax helps to achieve the same robustness and the same benefits. Ajax makes it possible to publish an efficient, browser-based application that is not disruptive, cost-effective, and generates a FAT client desktop application.

What do we learn?

Perhaps the most important lesson we've learned during the development of Drugmatrix is that by allowing us to create a sense, view, and run a smart system like a desktop system, and make us faster and less expensive than we thought, Ajax subverts some of the inertia of thin clients. An AJAX solution for RIA makes it possible for us to continue to develop efficient systems ahead.

Further

The success of Drugmatrix development has increased Iconix's interest in Ajax. At the end of 2005, the development team planned to complete the necessary work to transform Drugmatrix into a Web service.

This work allows large pharmaceutical companies-many of which are current customers-to use part of the Drugmatrix in different departments, adjust their own needs or use the data generated by Drugmatrix in their own applications.

The Iconix development team also completed ahead of schedule for real-time data display issues based on a financial services system.

About the author: John Calvin graduated from California State University, has a computer b.s. And the b.s of biology. He served at IBM and later joined the biotech industry, which was Iconix Pharmaceuticals company's senior engineer.

    • Ajax: A new way to build Web apps
    • Discussion on the error handling mechanism of AJAX (2)
    • Discussion on the error handling mechanism of AJAX (1)
    • First experience. NET Ajax Brushless New technology
    • A brief analysis of Ajax development Technology in Rails system (4)


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.