War file for your application that can be deployed on tomcat, JAVA Programming

Assignment Help:

Deliverable:  1) WAR file for your application that can be deployed and run on TomcaT (War file must contains the Java source code)

Requirement for application:
1. Application must be developed within Eclipse.
2. Application must be developed using Java SDK version 1.5.0_15
3. Application must be developed using Servlet version 2.4
4. Application must be developed using JSP version 2.0
5. Application must consist of one HTML page to capture user input.  
a. The HTML page must include the following components:
i. 5 questions in Input box format
1. 2 of the 5 input boxes must accept numeric field only
ii. 1 question in radio button format
iii. 1 question in check box format
iv. 1 question in text area format
b. All of the fields on the HTML page are required (developer determine the min and max field length).  
6. Application must consist of one CSS file to control the styling of the HTML page on #5.
a. The amount of styling is up to the developer to decide
7. Application must consist of two JSP pages.
a. First JSP will have the name of: confirmation.jsp
i. This page will print out all the information returned back from the Business class.
1. Format of the data display is up to the developer to decide
ii. This page will provide a link for user to return back to the HTML page for further data entry
b. Second JSP will have the name of: error.jsp
i. Any validation error message from the Validator class must be displayed on this JSP
ii. Any exception message thrown within the application will need to be displayed on this JSP
8. Application must consist of one Servlet class.
a. This Servlet class must not contain any business logic or presentation logic
b. This Servlet class route the request object to the Validator class to do validation
i. If any validation failed, this Servlet will
1. Put the validation error on the response object
2. Route the response object to the error.jsp page
c. This Servlet class route the validated request to the Business class to handle the business logic
i. If all successful, this Servlet will
1. Put the response from the Business class on the response object
2. Route the response object o the confirmation.jsp page
d. If there is any error happens within this Servlet or within the Business and Validate class, this Servlet will:
i. put the exception message on the response object
ii. route the response object to the error.jsp page
9. Application must consist of two "Model" classes:
a. Validator Java class
i. This class will validate each and every single input fields from the HTML page
ii. This class will put all the validation error in a ArrayList and put it onto the response object and return back to the calling class.
iii. If there is no validation error, this class will return put an empty ArrayList onto the response object and return back to the calling class.
b. Business Java class
i. One of the methods within this class will take the two numeric input fields (from the HTML page), multiple them and return the value back to the calling class.
ii. One of the methods within this class will combine the one radio button value and all of the check box values into one single String object, delimited with the "+" character and return back to the calling class.
10. Every class and method within the application must be well documented in JavaDoc Style.


Related Discussions:- War file for your application that can be deployed on tomcat

Create child processes, Using Fork() and Exec() or Clone(), create four ch...

Using Fork() and Exec() or Clone(), create four child processes. Load the same "Hello" program in each process after creation. This program should behave differently in each pro

Socket in java networking and rmi, What Is a Socket in Java Networking and ...

What Is a Socket in Java Networking and RMI? Ans) A socket is one end-point of a two-way communication link among two programs running on the network. A socket is bound to a por

Test driven development (tdd)? , Test Driven Development (TDD) TDD pro...

Test Driven Development (TDD) TDD process gives your confidence in the delivered code for the following things. 1. TDD can remove duplication of code and also disciplines t

Android, how android applications are made using java.?

how android applications are made using java.?

Imagemagick or same as text png generation, Imagemagick or same as text png...

Imagemagick or same as text png/jpg generation expert needed Project Description: Require someone who is experienced with generating text images. You will use any of the soft

Illustrate java management extensions (jmx)?, JMX framework can enhance the...

JMX framework can enhance the manageability of your application by  1. Monitoring your application for critical events, performance problems, and error condition statistics. E.g

Create a program for student database, You are required to write a program ...

You are required to write a program that is going to be used to store the student details of a particular school.  This school caters for students aged between 5 years to 15 years.

Bi-lingual site for the mitzpe apiary, Bi-lingual site for the Mitzpe apiar...

Bi-lingual site for the Mitzpe apiary Project Description: We require a bi-lingual website built in 14 days. The Mitzpe Apiary is a new company that was started by local e

Describe member variables vs. local variables, Describe Member Variables vs...

Describe Member Variables vs. Local Variables ? class Car { String licensePlate = ""; // member variable double speed; = 0.0; // member variable double maxSp

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd