Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M9523929

Have any Question?


Related Questions in Java

Solving 2nd degree equationsbull write the following java

Solving 2nd degree equations • Write the following Java methods • boolean real-sols(double a, double b, double c): it returns true if the 2nd degree equation ax2 + bx + c has real solutions • double solution1(double a, d ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

Can someone kindly help me to consider whether java

Can someone kindly help me to consider whether Java provides the facility of operator overloading? If it does, may you kindly describe how overloading operators can be accomplished? If not, may you kindly describe why yo ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

In ruby the hash class inherits from enumerable suggesting

In Ruby, the Hash class inherits from Enumerable, suggesting to a programmer that Hashes are collections. In Java, however, the Map classes are not part of the JCF (Java Collections Framework). For each language, provide ...

Assessment instructionsin this assessment you will design

Assessment Instructions In this assessment, you will design and code a simple Java application that defines a class, instantiate the class into a number of objects, and prints out the attributes of these objects in a spe ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Object-oriented software development1 introduction 11

OBJECT-ORIENTED SOFTWARE DEVELOPMENT 1. Introduction 1.1 Assignment Requirement 1.2 Deliverables and Structure (what to submit) 1.3 Software Restrictions 1.4 How to score high... 1.5 Assumptions 2. System Requirements 2. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As