Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Assignment:

Create a simple Java Servlet that allows you to save RSS feeds and export the results into a CSV file.

Details:

Create a simple Servlet that allows you to view a page in a browser. On the page will be a simple form for adding a new RSS feed to your “list”. This consists of a text input and Save button, which saves the inputted value into a database table. The intended value is a URL of any RSS feed. Below the form for adding a new feed will be a list of feeds that are in the database table. For each option on the list there should be an “Export” button, which when clicked will generate a CSV export of the contents of the feed.



Example Use Case:

I open the page in a browser, add a URL to the form and then see it in the list after submitting the addition. I then click the export link and get the contents of the RSS feed in CSV format.



Comments:

In general, this is meant to be a quick and simple task to illustrate the concepts of Java, Servlets, web-based interaction, database interaction, formatting/using data in both XML and CSV formats, and the ability to deliver a deployable application. Partial submissions can be reviewed for overall code structure, but ideally a working set of code can be reviewed.



Deliverable:



You may use any database, but MySQL seems simplest. Include the full working code version as well as any notes on configuration, setup, DB table scripts, and other information that would be required to implement and run it.
Posted
Comments
Peter Leow 21-Jun-14 3:17am    
Homework is not question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900