Summary of development experience: Java is born ugly!

Source: Internet
Author: User
Summary of development experience: Java is born ugly! -- Linux general technology-Linux programming and kernel information. The following is a detailed description. Recently, about Kingdee Apusic claim to be about to launch JSF open source community "Peking Opera face" News stir-up (http://java.csdn.net/n/20060829/94196.html), In curiosity, Peking Opera face the concept of a little interest. I am ashamed to say that although I am a Chinese, I really don't know much about Peking opera, which is known as the "National Quintessence". I am not sure about Google. After reading some documents about Peking Opera face, write the following text.

Over the years of Java Development, talking about J2EE Web development is truly an intersection of feelings, love and hate: I love the high reliability, security, and efficient stability brought about by J2EE server-side programming; I hate writing JSP page code manually. I hate programming based on limited HTML interface components!

Yuan honggang, an awesome cool man, said: the status quo makes people miss the visual programming of VB and Delphi, and sometimes envy Microsoft. Net, Studio, because they are indeed very convenient and practical to use.

However, the free atmosphere advocated by the Java World "Everything comes from technology, everything comes from openness" has entered my blood! I am pursuing a kind of free and perfect ideal technology. I hope Java can also have a powerful visualization tool!

I think it's just as easy as you are!

After reading yuan honggang's point of view on "Ajax + JSF", I really appreciate it. If Apusic can fulfill their commitment, the Web development of J2EE will change progressively and profoundly !!!

Peking Opera faces are known to all. They are divided into five types: raw, Dan, net, last, and ugly. Let's take it as an example:

"Raw": container-level Ajax support currently has the idea of JSF + Ajax, and I am afraid it is not one of them, however, many third-party JSF + Ajax implementations provide a component library and an additional Servlet or Filter to handle Ajax requests. Apusic claims that Ajax requests are handled directly by the JSF container, determine whether the request is a normal HTTP request or an Ajax request based on the request type. The Apusic JSF engine implements an AJAX Render Kit. You can embed Java Script code in the HTML document to implement Ajax features. To replace the Render Kit, you only need to modify the configuration file.

"Dan": the common JSF containers of the JSF engine need to transmit all the statuses to each client and server response, it has a great negative impact on the system running performance. Through the Ajax feature claimed by Apusic JSF, it can only package changed data into Ajax requests and send them to the server, the server only packs changed data into Ajax responses, which greatly improves the system running efficiency. In addition, the traditional JSF request response will refresh the entire page, while Apusic JSF claims that it will only update the changed client components, so as to bring a better human-machine experience to the customer.

Net: It makes Web development easier. before writing Ajax applications, you need to write a lot of Java Script code. Development, debugging, and maintenance of these Script scripts are cumbersome, such as using Apusic JSF technology, you no longer need to write any Java Script code. The engine has generated the code for you. All standard components of Apusic JSF support Ajax. some third-party components may not support Ajax themselves, but with a tag named, you can immediately convert this third-party component to Ajax Enabled.

"End": the rich UI components are said to have provided a tag named Apusic JSF to accept events triggered when an Ajax request is sent and completed, by default, an HTML segment is displayed before an Ajax request is sent. After an Ajax request is completed, another HTML segment is displayed, which can contain text and images. In addition, a label can be implemented to call a method of the server-side Java object in RPC mode.

"Ugly": drag-and-drop visual design according to the Apusic Development Department, the use of Apusic JSF also contains some other different features, including: the control skin replacement function, controls Support multiple browsers, such as IE, Mozilla (Firefox), and Opera, as well as powerful layout functions. Implementing the UI through Apusic JSF is not complicated. You only need a few lines of code to complete the complex UI.

In the JSF specification, there is a saying: "JSF is designed to be tooled ". In other words, the JSF specification emphasizes the dependency on tool support from the beginning of the design. Fortunately, the development tools supporting JSF are gradually enriched, including Oracle JDeveloper and Sun Java Studio Creator. Kingdee Apusic claims that it also provides an Eclipse-based integrated development environment: Apusic Studio, which can provide good support for JSF development, including: highlight the syntax, code assistance, breakpoint debugging, visual design, and so on.

In short: vendors rely on products to speak. The hype is so big that Apusic's exactly how powerful it is and Yuan's unique name is here. It is not easy to make system software in China. We hope that the Java Peking Opera face of Apusic can come up with something real.
Related Article

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.