Font Size: a A A

Design And Implementation Of RSS Reader Based On Ajax

Posted on:2010-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:H T ZhangFull Text:PDF
GTID:2178360278966001Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Compared with desktop application, traditional web application run slowly, and it is restricted in interaction. In order to acquire a new data without reloading web page, people adopted some methods, but these techniques all have not well been supported.With the emergence of Web 2.0, a technique that was not supported extensively has already been accepted by more and more users. Developing the advanced web application, it gave the developers greater freedom. The applications that acquire xml data asynchronously by JavaScript, is called "Ajax applications (Asynchronous JavaScript and XML applications)". Compared with traditional web application, it seems to be desktop application.In addition, in the field of information transmission, one named RSS comes out in recent years. RSS is a technology of information aggregation and a facile method of information issuing and transferring between different websites, each website can use information easily form other websites which support RSS service.At first, this paper will discuss and study two current prevalence key technologies of Web 2.0: Ajax and RSS. RSS can be used for Information Syndication System. Behaving the powerful function of Ajax, the user can modify the information arbitrarily on the website, without having to re-send requests and update pages from the server. Such technology may enhance the user experience greatly, and also alleviate the server data processing pressure in the very great degree.In the design, the system adopts the MVC (Model-View-Controller) design patterns to achieve separation of the content and business logic. It is a combination of JSP, Servlet and JavaBean technology, handling of the request by Servlet and control business processes and the corresponding output by JSP, specifying operational data and business logic by JavaBean, so the system is very flexible, general, compatibility and interoperability. Because this System adopts B/S pattern, clients only need browser and operation is made very easy.Finally, this paper will introduce several key problems in detail, including: utilize database connection pool provided by Tomcat to build the connection to database, how to guard against SQL injection attacks, how to use Ajax to verify the data, and how to complete an online RSS reader.
Keywords/Search Tags:Ajax, RSS, MVC, Information Syndication
PDF Full Text Request
Related items