Asynchronous Java Script and XML Research Paper

Pages: 15 (4094 words)  ·  Bibliography Sources: 15  ·  File: .docx  ·  Level: Master's  ·  Topic: Education - Computers

Classical web applications are based on a multi-page interface model, in which interactions are based on a page-sequence paradigm. Ajax changes this by allowing asynchronous requests to be made after a page has been loaded and allowing JavaScript code to update parts of the page in the browser, effectively making delta-updates without reloading the complete page." (Matthijssen, Zaidman, Storey, Bull, Deursen, 2010)

Instead of a new web page being loaded with new information, AJAX is able to update specific parts of the webpage and therefore when the browser is refreshed or reloaded, the specific asynchronous areas of the web page are remitted with new information and therefore are able to update without forcing the browser to refresh to a new page. Although the authors describe this process as complex, ostensibly the ability for asynchronous requests provides the user with the ability to save memory and RAM.

According to Mathijssen et al. (2010), "To gain real world insights, we required a target application that was representative of a real world Ajax application and written using languages and technologies that our participants were familiar with. The Java Pet Store satisfied these requirements. It is a reference application, "designed to illustrate how the Java Enterprise Edition 5 Platform can be used to develop an AJAX-enabled Web 2.0 application." (Mathijssen, Zaidman, Storey, Bull, Deursen, 2010)

Get full Download Microsoft Word File access
for only $8.97.
Based on the DOT invariant testing, the target applications were created to facilitate "real world insights representative of a real world Ajax application and written using languages and technologies that our participants were familiar with." (Mathijssen et al., 2010) To reiterate, the functionality of AJAX was a function of its multi-programmatic language capability that would make it extremely user friendly.

Research Paper on Asynchronous Java Script & XML Assignment

JAVA's pet store worked to provide these target applications due to the market growth for the AJAX application as well as the research that defined the increased operability by locating and reprogramming the application to render the faults as no longer viable. The problem solving and troubleshooting of the system for 2.0 did involve a targeted study to identify dynamic analysis as a function of reintegrating AJAX as a more complete application to the web.

According to Matthijssen, et al. (2008), "Central to this part of the study is our second research question: "Can dynamic analysis improve program understanding for Ajax applications?" If this is the case, we would also like to learn more about how this works, and what we can do to further improve understanding. We obtained insights into these questions via four different routes: the pretest-posttest, the questionnaire about feature usefulness, observing participants using the tool and the final interview." (Matthijssen, et al., 2008)

FireDetective (Matthijssen et al., 2008), is the tool that enables dynamic analysis whilst implementation to the AJAX framework. According to Matthijssen et al., (2008), "A possible explanation could be that the tool offers the option to switch to a more top-down way of understanding. From the observations and interviews conducted during the user study we identify three different ways to further support the understanding process: incorporating information about additional abstractions (such as various kinds of XML bindings and JavaScript parsing errors), exploration of other kinds of visualizations and integration with existing tools, such as Firefox' FireBug add-on." (Matthijssen et al., 2008)

According to Jiaqi, Jie, Shujuan, (2009), "Through the AJAX asynchronous communication mechanism, the function of Google Suggest can automatically return the search information which matches user input without submitting the whole web forms. This has changed the old search information which matches user input without submitting the whole web forms. This has changed the old search pattern, shortened the time on search and enabled the user to find the target information more quickly." (Jiaqi, Jie, Shujuan, 2009)

AJAX ostensibly revolutionized the search engine optimization function for Google Suggest. The dynamic search capability of Google Suggest is a function of AJAX and the elements of the underlying search pattern are primarily asynchronous Javascript And XML. According to Marchetto, Ricca, Tonella (2008), "On one hand, AJAX improves the responsiveness and usability of Web applications. On the other hand, it makes the testing phase more difficult. In fact, with the advent of AJAX, new problems are added to those already known in the Web testing area. Testing AJAX applications is complicated: by the need of understanding the asynchronous logics (AJAX introduces request-response "queues," respectively, on the server and on the AJAX engine, by the dynamic page creation/alteration, and by the bundle of technologies employed." (Marchetto, Ricca, Tonella, 2008)

According to Wusteman & Padraig (2006), "The use of Ajax in Google Suggest improves the traditional Google interface by offering real-time suggestions as the user enters a term in the search field. For example, if the user enters xm, Google Suggest might offer refinements such as xm radio, xml, and xmods. Experimental Ajax-based auto-completion features are appearing in a range of software. Shanahan has applied the same ideas to the Amazon online bookshop. His experimental site, Zuggest, extends the concept of auto-completion: as the user enters a term, the system automatically triggers a search without the need to hit a search button." (Wusteman, Padraig, 2006)

The idiosyncratic fault behavior of the AJAX application was addressed as a function of the DOM invariant on the tree branch to where simulation tests are ran under different scenarios to determine the appropriate solution based on the most frequently reoccurring errors. According to Marchetto, Ricca, Tonella, 2008, "As reported by Marchetto et al., existing testing techniques working with traditional Web application seem to be inadequate to test AJAX-based Web applications, because they are not designed to address the specific features offered by AJAX. Hence, new approaches and tools are needed for AJAX testing." (Marchetto, Ricca, Tonella, 2008)

The critical processes of AJAX are detailed below:

HTML and CSS for information presentation.

DOM to access and modify the displayed information.

XML HTTP Request object to retrieve data from the Web server.

XML to wrap data.

Javascript to bind everything together and to manage the whole process.

Source: Holub (2006) AJAX is no panacea.

According to Holub (2006), "AJAX is a bunch of technologies used to simplify the implementation of rich and dynamic Web applications. With AJAX, developers can implement asynchronous communication between client and server, on-the-fly form data validation, form-data auto completion, and sophisticated GUI controls based on client-side component update (i.e., without page reloading)." (Holub, 2006)

Additionally, according to Holub (2006), "Results indicate that state-based testing is powerful and can reveal faults otherwise unnoticed or very hard to detect using existing techniques. On the other hand, existing techniques are still useful in that they can reveal complementary faults. The effort involved in state-based testing is quite high, compared to the other techniques, especially if the preparation phase is taken into account. However, such an increase may be justified by a higher and more specific fault-revealing potential." (Holub, 2006)

According to Wusteman & Padraig (2006), "There have been many attempts to enable asynchronous background transactions with a server. Among alternatives to Ajax are Flash, Java Applets, and the new breed of XML user-interface language formats such as XML User Interface Language (XUL) and Extensible Application Markup Language (XAML). These all have their place, particularly languages such as XUL. The latter is idea for use in Mozilla extensions, for example. Combinations of the above can and are being used together; XUL and Ajax are both used in the Firefox extension version of Google Suggest. The main advantage of Ajax over these alternative approaches is that it is nonproprietary and is supported by any browser that supports JavaScript and XML Http Request-hence, by any modern browser." (Wusteman, Padraig, 2006)

Additionally, according to Wusteman, Padraig (2006), "It might be assumed that the use of Ajax technology would result in a heavier network load due to an increase in the number of requests made to the server. This is a misconception in most cases. Indeed, Ajax can dramatically reduce the network load of Web applications, as it enables them to separate data from the graphical user interface (GUI) used to display it. For example, each results page presented by a traditional search engine delivers, not only the results data, but also the HTML required to render the GUI for that page. An Ajax application could deliver the GUI just once and, after that, deliver data only. This would also be possible via the careful use of frames; the latter could be regarded as an Ajax-style technology but without all of Ajax's advantages. (Wusteman, Padraig, 2006)

The security risks of AJAX are worthy of mention. According to Vijayan (2007) "Among the biggest threats, said Billy Hoffman, lead research and development engineer at Web security vendor SPI Dynamics Inc. In Atlanta, is that poorly coded AJAX sites can provide hackers with an opening to change the order in which a program executes functions. "Any secrets stored in JavaScript will be found and exploited," Hoffman said in a white paper he wrote with Bryan Sullivan, development manager at SPI. "This… [END OF PREVIEW] . . . READ MORE

Two Ordering Options:

Which Option Should I Choose?
1.  Buy full paper (15 pages)Download Microsoft Word File

Download the perfectly formatted MS Word file!

- or -

2.  Write a NEW paper for me!✍🏻

We'll follow your exact instructions!
Chat with the writer 24/7.

XML and Information Systems Term Paper

XML Project Specification and Design Document Research Proposal

Java Application (Parking Simulator) Interface Description Form Term Paper

Performance of Optimized AJAX (Asynchronous Javascript Dissertation

Physical Evaluation of XML Pat Algebra Operators Term Paper

View 200+ other related papers  >>

How to Cite "Asynchronous Java Script and XML" Research Paper in a Bibliography:

APA Style

Asynchronous Java Script and XML.  (2011, July 13).  Retrieved January 23, 2021, from

MLA Format

"Asynchronous Java Script and XML."  13 July 2011.  Web.  23 January 2021. <>.

Chicago Style

"Asynchronous Java Script and XML."  July 13, 2011.  Accessed January 23, 2021.