DWR, XMLHTTP, XML-RPC and flex

Source: Internet
Author: User

Today I see an articleArticleTo introduce DWR (Direct Web remoting). Its function is to directly call methods in the Java class through IFRAME in JavaScript, it is cool to implement the function that is automatically completed when input in the text box like Google suggest (for example, input "what is the best.

This technology is also a good solution to the problem of the mid-level drop-down menu of the previous project. Similar to DWR, XMLHTTP and XML-RPC are implemented. The former can be seen as a kind of Microsoft packaging for Request/response, which is mainly used to obtain data from remote servers; the latter is also a very simple protocol. By adding XML format information in the request/response, you can call remote methods, however, you need a dedicated XML-RPC server or add support for the XML-RPC to an existing server.

For Web applicationsProgramPlaying cool, I have to mention the more popular Macromedia Flex. It adds a flex server based on your existing system structureCodeConvert it to a .swf file (that is, flash), which makes your presentation layer exceptionally rich. It not only looks beautiful, but also achieves drag-and-drop, gradient, and various animation effects, in advertising words, it is "improving user experience ". If you have read the cases on the Macromedia Website, I believe you will not be moved. The only pity is that flex is too expensive: At least buy dual-CPU license, price $12,000!

Compared with commercial products, although open-source Ria may have some shortcomings, Laszlo is one of them, but at least it is not a problem to use it in small projects.

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.