In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article to share with you is about Java for Web development in the end of the ugly refers to what, Xiaobian think quite practical, so share to everyone to learn, I hope you can read this article after some harvest, not much to say, follow Xiaobian to see it.
After reading Yuan Honggang's point of view on "Ajax+JSF Double Sword Combined Wall," to be honest, I appreciate it. If Apusic does live up to their promise, then Web development for J2EE will undergo gradual and profound changes!!!
Peking Opera facial makeup everyone knows a little, divided into health, Dan, net, end, ugly 5 kinds, then, take it as an example:
Raw: container-level Ajax support
At present, there is JSF + Ajax this idea, I am afraid not one, but many third-party JSF + Ajax implementation is to provide a component library and an additional Servlet or Filter to handle Ajax requests; and Apusic claims to be directly handled by the JSF container Ajax request, according to the type of request to determine whether this is a normal HTTP request or an Ajax request. The Apusic JSF engine claims to implement an AJAX Render Kit that embeds JavaScript code in HTML documents to implement Ajax features, while replacing Render Kit requires only a modification of the configuration file.
"Dan": JSF Engine with Light Weight
Every time the conventional JSF container carries out a client-side and server-side response, it needs to pass all the states back and forth, which has a great negative impact on the system performance. However, through the Ajax feature of Apusic JSF, it can only package the changed data into Ajax requests and send them to the server side, while the server side will only package the changed data into Ajax responses, thus greatly improving the system efficiency. And while traditional JSF request responses refresh the entire page, Apusic JSF claims to update only the client-side components that have changed, resulting in a better human experience for customers.
Net: Making Web Development Easier
Before writing Ajax applications to write a lot of JavaScript code, development, debugging, maintenance of these scripts are quite cumbersome, such as Apusic JSF technology, you no longer need to write any JavaScript code, the engine has helped you generate these codes. All standard components of Apusic JSF support Ajax, and some third-party components may not support Ajax themselves, but you can immediately convert this third-party component to Ajax Enabled using a tag called.
"End": Rich UI components
Apusic JSF is also said to provide a tag called that accepts events that are triggered when an Ajax request is sent and completed. The default implementation is to display an HTML fragment before sending an Ajax request and another HTML fragment after completing an Ajax request. These HTML fragments can contain text and images. In addition, a tag is implemented to invoke a method of a server-side Java object RPC.
"Ugly": Visual Design of Random Drag
According to Apusic developers, JSF with Apusic also includes a number of other differentiating features, including control skinning, control support for IE, Mozilla(Firefox), Opera and other multi-browser, as well as powerful layout features. With Apusic JSF, the implementation of UI interface is actually not complicated, only need to pass a few simple lines of code, you can complete a complex UI interface.
In the JSF specification, there is a statement: "JSF is designed to be tooled." In other words, the JSF specification places a heavy emphasis on tool support from the beginning of its design. Fortunately, the current development tools that support JSF have also grown, including Oracle JDeveloper, Sun Java Studio Creator, and more. Kingdee Apusic claims to also provide an Eclipse based integrated development environment: Apusic Studio, and through this tool, can bring good support to JSF development, including: syntax highlighting, code assistance, breakpoint debugging, visual design and so on.
The above is what Java's Web-oriented development refers to, Xiaobian believes that some knowledge points may be what we see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.