Chat with us, powered by LiveChat Instructions:??? Homework for Web Data ? Assignment: There are two major parts to this assignment. For the server code (service and java business logic) you will need to create a | Wridemy

Instructions:??? Homework for Web Data ? Assignment: There are two major parts to this assignment. For the server code (service and java business logic) you will need to create a

   

Homework for Web Data  
Assignment:
There are two major parts to this assignment. For the server code (service and java business logic) you will need to create a utility object that maps to the JSON you will be ingesting. This includes number in party, hike, start date and hike duration in days. It is probably easiest to map the fields as Strings and primitives and then use them to build your components (BookingDay, Rates) in your Java logic. You will also need
another utility object to package the result and or error message that gets passed back to the client. Once you have your utility objects you will need to incorporate them in your service method from last assignment as either an input parameter or return object. Don't forget to update the annotations for your modifications.
The second part of the assignment will be providing a client page to collect the parameters from the user, call back to your service, and then provide the result back to the user ON THE SAME PAGE. This actually involves things that we have not covered to this point in the class. However, I am providing the following Reference HTML Page for you to use as a template for your client page. The page contains an empty HTML form for you to fill with your input elements and an empty result area that is updated with the data returned by the service and formatted for the users readability. It also includes JavaScript that takes the form data (after user submits with button push) and converts it into a JSON string, makes an AJAX POST call back to your service and then processes the result. The only thing you really need to do to the JavaScript section is update the success function to read, parse and update the page with the JSON results returned from the service. The rest of the JavaScript should function as it is. The reference page contains direction in the form of comments that you should find helpful as you make updates. Once completed, you should be able to bring up the client page with the form, update the parameters and upon clicking the Get Rate button see the results appear below the form in the output area. As with the last assignment, you are *strongly* encouraged to use Netbeans to build this application with Tomcat. I'd like you to make a ReSTful Java Application that will include your client page and that you will setup and configure as a web application to be deployed to the class web server as a war file. Also, don't
forget to make sure you have an appropriately configured service using either the ApplicationConfig.xml, web.xml in your war file so that it is recognized on the class server. You should be able to use most of the logic from your last assignment, but you will need to add the new utility objects along with logic to get the information from the objects to your existing code and from your code back to the utility object for return to client. You will also need to update the service signature and annotations to make sure it ingests and returns JSON formatted data.
Your final project source should include all your back end code, service, utility objects and any other business logic, client side page that will be used to call into the service and any configuration files (e.g., web.xml) that are used in your implementation.
Submission:
A zip file of the following should be posted to the Blackboard assignment:
1. Screen shots of your client working with your server (show one bad data and one good data result).
2. All of the source code for the project (client, service and configuration).
Also upload your war file to the class server and provide the URL of your form page that accesses your web service in your blackboard submission.

 

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

    Do you need an answer to this or any other questions?

    About Wridemy

    We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

    How It Works

    To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

    Are there Discounts?

    All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

    Hire a tutor today CLICK HERE to make your first order

    Related Tags

    Academic APA Writing College Course Discussion Management English Finance General Graduate History Information Justify Literature MLA