Question: Please write the code in Java, Code for any requirements will be very helpful even if you cant finish it all. thankyou Homework Requirements This
Please write the code in Java, Code for any requirements will be very helpful even if you cant finish it all. thankyou



Homework Requirements This hw serves as a means for you to demonstrate the amalgamation of a number of technologies that you have studied (or will learn this semester) Overall, the hw is to obtain data from a set of webpages from the website of your choice (except for a few sites listed below) Requirement1. Online (Search) function. The user should be able to obtain/search for data online from your approved chosen website. Included in this is the ability to download at least one picture or icon found orn the website. We will be discussing the code to accessing the webpages and downloading images in upcoming lectures. In previous semesters, I have asked students to do this with Amazon, Craigslist, Ebay and Abebooks As such those sites are not eligible for this semester. Please explain within the context of URL#1 what data (and to what extent) can your user search for/obtain from the website chosen. GUIs should be provided for this purpose. OPTIONS: If your program implements a search function for data provided by the website, and there exists an advanced search feature on that site, implementing the advanced search via your own GUI would be an acceptable innovation. Requirement2. Storage of Data. All data obtained from/for the user should be stored in a storage structure The program must provide a hash based storage for this purpose. When data is entered into your storage, the user name and a timestamp should be entered with each item of data obtained in Requirement#1. The user should have the option to delete data that they have requested and have been stored prior. In addition, the user should be able to modify the data provided for the user profile (Requirement#11). OPTIONS: It would be impressive to additionally provide the option of storing the data in a database (Mysql or Sun Derby only). If chosen, this option should be another parameter on the command line to give the user the option when reading in the initial set of data whether it will be stored by hash based storage or databases. In addition, this would be acceptable as one of the two innovations mentioned at the end of this document. Requirement3. Offline queries. [By Requirement#4, the data must be maintained between executions of the program. So, if you shut down the program and start it up again, the data is not lost.) The user should be able to conduct offline queries of your data storage via a GUI. The extent of these queries will depend on what you have stored in your storage structure; i.e, the queries will target the specific information you have stored about each item and/or transactional history in your storage. Since you have a timestamp associated with each data entered into your storage, the user can ask for data obtained within a certain time range. The user should only be able to retrieve data that they requested and was entered to the data storage on the user's behalf. The admin can retrieve data from a specific user(s) or all users. The user should be allowed to printout the results of the queries to a local file (presumably interacting with a GUI) OPTIONS: A nifty option would to allow the user to email the user a report of the obtained data. This would count as an innovation. Requirement4. Persistence of Data. The notion of persistence states that the data is preserved even if the system crashes. The privileged user/admin only from a GUI should be able to reconstruct the storage from backup data possibly the Transactional Log from Requirement#9, assuming you have enough information in the log to carry out this task.) RequirementS. Processing individual pages. This requirement dovetails Requirement#1. The data obtained from the website will be embedded within the webpages provided by the website. These pages are in html. You are to temporarily store the html into a file and then process it. You must right the code yourself and cannot use a third party html API or parser. We will be discussing this code in class in upcoming lectures. You should be processing at least two different webpages from the site. You will be extracting data (text) to be stored into your Homework Requirements This hw serves as a means for you to demonstrate the amalgamation of a number of technologies that you have studied (or will learn this semester) Overall, the hw is to obtain data from a set of webpages from the website of your choice (except for a few sites listed below) Requirement1. Online (Search) function. The user should be able to obtain/search for data online from your approved chosen website. Included in this is the ability to download at least one picture or icon found orn the website. We will be discussing the code to accessing the webpages and downloading images in upcoming lectures. In previous semesters, I have asked students to do this with Amazon, Craigslist, Ebay and Abebooks As such those sites are not eligible for this semester. Please explain within the context of URL#1 what data (and to what extent) can your user search for/obtain from the website chosen. GUIs should be provided for this purpose. OPTIONS: If your program implements a search function for data provided by the website, and there exists an advanced search feature on that site, implementing the advanced search via your own GUI would be an acceptable innovation. Requirement2. Storage of Data. All data obtained from/for the user should be stored in a storage structure The program must provide a hash based storage for this purpose. When data is entered into your storage, the user name and a timestamp should be entered with each item of data obtained in Requirement#1. The user should have the option to delete data that they have requested and have been stored prior. In addition, the user should be able to modify the data provided for the user profile (Requirement#11). OPTIONS: It would be impressive to additionally provide the option of storing the data in a database (Mysql or Sun Derby only). If chosen, this option should be another parameter on the command line to give the user the option when reading in the initial set of data whether it will be stored by hash based storage or databases. In addition, this would be acceptable as one of the two innovations mentioned at the end of this document. Requirement3. Offline queries. [By Requirement#4, the data must be maintained between executions of the program. So, if you shut down the program and start it up again, the data is not lost.) The user should be able to conduct offline queries of your data storage via a GUI. The extent of these queries will depend on what you have stored in your storage structure; i.e, the queries will target the specific information you have stored about each item and/or transactional history in your storage. Since you have a timestamp associated with each data entered into your storage, the user can ask for data obtained within a certain time range. The user should only be able to retrieve data that they requested and was entered to the data storage on the user's behalf. The admin can retrieve data from a specific user(s) or all users. The user should be allowed to printout the results of the queries to a local file (presumably interacting with a GUI) OPTIONS: A nifty option would to allow the user to email the user a report of the obtained data. This would count as an innovation. Requirement4. Persistence of Data. The notion of persistence states that the data is preserved even if the system crashes. The privileged user/admin only from a GUI should be able to reconstruct the storage from backup data possibly the Transactional Log from Requirement#9, assuming you have enough information in the log to carry out this task.) RequirementS. Processing individual pages. This requirement dovetails Requirement#1. The data obtained from the website will be embedded within the webpages provided by the website. These pages are in html. You are to temporarily store the html into a file and then process it. You must right the code yourself and cannot use a third party html API or parser. We will be discussing this code in class in upcoming lectures. You should be processing at least two different webpages from the site. You will be extracting data (text) to be stored into your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
