Closed

Service oriented site

This is a webapp project which needs to be created in netbeans bundled with tomcat. This assignment is fairly easy since i will be providing most of the files, they just need to be tweaked and edited. This project will be modeled after [url removed, login to view] the examples on this following website. The controller files and java files are all there they just need to be changed around for this project. Chapter 6 should be an example of how the project needs to run. Here is what is asked for the project.

----------------------------------------

You are to create a service oriented web site. Users will be able to log into your site and maintain an account on your site. The type of service that you provide is your choice. For example, the site that was developed in the book kept track of a user's hobby and aversion. Try to be creative in picking your site. There are already enough book sellers on the web and one site that keeps track of hobbies is enough. Choose a service that interests you.

The assignment is long, if you wait until the last week to start, then you will not have enough time to finish it. Even though some of the features have not been covered in class, there are many things that can be implemented now. Please get started.

Step One

On Apache

* Configure Apache so that the URL /username is handled by Tomcat. Replace username with your user name.

* Configure Apache so that all URLs that start with /username/ are handled by Tomcat. Replace username with your user name.

* Configure Apache so that all URLs that end with .jsp are handled by Tomcat.

* Configure Apache so that all URLs that start with /manager/ are handled by Tomcat.

* Configure Apache so that [url removed, login to view] and [url removed, login to view] are both set as welocme pages.

* Create a directory named project.

o For this directory and its subdirectories, make [url removed, login to view] the first choice for a default page when a directory is requested. All other directories should display [url removed, login to view] as the first choice.

o Limit access to this directory to you and me. Access to the root directory should not be restricted.

+ Use Basic authentication.

+ The password file is located in /aul/homes/downeyt/cs/etc/0801/[url removed, login to view]

* Create a subdirectory of project named errors.

o Create a page for 404 errors. Using SSI tags, include the banner and footer files, from the includes directory, in this file.

o Create a page for 403 errors. Using SSI tags, include the banner and footer files, from the includes directory, in this file.

o Create a page for 500 errors. Using SSI tags, include the banner and footer files, from the includes directory, in this file.

o For the project directory and its subdirectories, make these the error pages that Apache will show when there is an error. All other directories should still show the Apache default error messages.

* Create a [url removed, login to view] page in the project directory.

o Create at least three meaningful paragraphs that describe your site and the service that you will provide.

o Create a link to a file that does not exist.

o Create a link to a file that does not have any access.

o Create a link to the root of the your-username web application on Tomcat. Use a relative reference from the Apache server, do not include an absolute reference to the Tomcat server on port 8008.

o Create a link to the manager web application on Tomcat. Use a relative reference from the Apache server, do not include an absolute reference to the Tomcat server on port 8008.

* Edit the [url removed, login to view] file in the root of Apache.

o Create a short description of your website and the services that it provides.

o Create a link to the project directory.

o Create a link to a file that does not exist.

o Create a link to a file that does not have any access.

On Tomcat,

* Create a new web application named your-username.

o Use the secure [url removed, login to view] file.

o Create a welcome page named index.jsp. Be sure that this is the page that is displayed when the root of the web application is requested.

o Restrict access to this web site to you and me.

* Create a servlet controller application that is similar to the [url removed, login to view] application.

o Do not use hidden fields.

o Use a controller helper and helper base.

o Use a data bean to store the data from the request.

o Automatically populate the data from the request into the bean.

o Use a logger to write informational messages.

o Use the ButtonMethod attributes to annotate the controller helper and simplify the doGet method.

o Place the JSPs in the same directory as the controller.

* Instead of using the two fields hobby and aversion, create three different text fields to gather information form a user for your site. The fields should be relevant to the service that your site is providing. Be creative.

Step Two

On Tomcat,

* Modify the application so that it handles GET and POST requests.

o Modify your JSPs so that they use POST.

o A GET request should not retrieve data from the session and should always display the edit page.

o A POST request should retrieve data from the session and should display different pages, based upon the button that was clicked.

* Add an additional property to your application. This property must be numeric: int, float or double. It must be related to the service that your site is providing.

* Add required validation to your application.

o Validate that the numeric field is in a specific range of numbers. Do not include 0 in the range. There are additional annotations that can be used with numeric properties. Built-in Annotations for Hibernate.

+ @Min(value=100)

+ @Max(value=200)

+ @Range(min=100,max=200)

+ Each of these needs an import statement:

import [url removed, login to view];

import [url removed, login to view];

import [url removed, login to view];

o Validate that one of the string properties only contains uppercase letters, lowercase letters and spaces.

o For each field that is to be validated, display information in the web page that indicates the correct format of the data to be entered.

* When the process button is clicked, save the user's information in a database. Do not display all the data from the database in the process page, only display the data that the user entered.

* Modify the edit button on the process page so that it starts a new transaction.

o The edit page should be shown after the button is clicked.

o The old data should not appear in the edit page.

* Add a new button to the process page.

o When the button is clicked, show a new page that will display all the data that is stored in the database.

o Use a tag from the JSTL to loop through all the records in the database and display all the data for each record.

o Add a button to the new page that will start a new transaction.

+ The edit page should be shown after the button is clicked.

+ The old data should not appear in the edit page.

Step Three

On Apache,

* Create a subdirectory of project named styles.

* Create a stylesheet in the styles directory.

o Change the backgournd color of the page. If you are having a difficult time deciding on colors, try this site [url removed, login to view]

o Change the text color of the page.

o Change the font of the page. Use the font-family attribute and specify a very specific font, a more common font and a generic font.

o Change the left and right margin of the page.

o Define the color for hypertext links. Use the A:LINK pseudo tag.

o Define the color for visited links. Use the A:VISITED pseudo tag.

o For H1 and H2 headings,

+ H1 and H2 headings should use a different font than the body. Use the font-family attribute and specify a very specific font, a more common font and a generic font.

+ H1 and H2 headings should have center alignment.

+ Make all H1 headings use upper case letters.

+ Make all H2 headings use capitalized first letters for each word in the heading.

o Define the var tag to be underlined. Be sure that any text that uses this tag does not appear italicized. The default style for this tag is italicized, be sure to turn this off. Change the font for this tag to be a monospace font. Use the font-family attribute and specify a very specific font, a more common font and a generic font.

o Define the em tag to be bold and 10% larger than the font used in the body. Make the text color different from the text color in the body. Be sure that any text that uses this tag does not appear italicized.

o Define nested ordered lists, use two different numbering systems for two levels of nested ordered lists. Do not use decimal for either numbering.

* Use the stylesheet in all your HTML pages on Apache.

* In the [url removed, login to view] in the project directory.

o Add an H1 heading to the page. Place it at the top, after the included header.

o Add an H2 heading above each of the three paragraphs on your page.

o Use the var tag several times in the page.

o Use the em tag several times in the page.

o Create a nested ordered list with two levels of nesting. The list will contain links to parts of the assigment.

+ Directories

# link to errors directory

# link to the Apache root directory

+ Files

# link to nonexistent file

# link to resticted access file

+ Project

# link to project root

# link to project controller

On Tomcat,

* Add a checkbox group to your project application.

* Add a single selection list to your project. Include at least six options. Validate that the value that is selected is one of the values from the selection list. It is possible that someone could write their own form to access your site, so it is always good to validate, even when using a selection list.

* Initialize the checkbox group and the selection list according to the values in the query string.

* When displaying the data that the user entered, display all the values that were chosen in the checkbox group.

* When displaying the data from the database, display all the values that were chosen in the checkbox group, for each row.

* Use the Apache stylesheet in all your JSPs for the project. The style sheet only needs to appear when the project application is accessed from Apache. When the site is accessed from Tomcat, the style sheet does not appear. Use a relative re

Skills: Java, JSP

See more: jstl, xml validator web, xml use case, what levels, hobbies, web site errors, web site error, web services apache tomcat, web page styles, webapp examples, webapp example, var sheet, value options, user group manager, use case levels, use case includes, use case include example, type use case, two levels, turn website application, track description, top web manager, top query, top levels, top group

About the Employer:
( 0 reviews ) plantation, United States

Project ID: #249930

9 freelancers are bidding on average $190 for this job

hostechsupport

Hello Sir Please check PMB Awaiting response......... Angela

$250 USD in 10 days
(1 Review)
2.4
rchoudari

i CAN DELIVER IN ONE DAY

$200 USD in 1 day
(0 Reviews)
0.0
wasimulhaque4

Dear sir, Thank you very much for giving us opportunity to participate your project . We possess 5 years of Experience in such operation.We have near about 200 developers. We r expertise in .NET ,Java,ROR,php,ASP More

$225 USD in 5 days
(0 Reviews)
0.0
sauravlaturkar

Hello, Technology that I deal with is Java. Worked on JSP,Struts,JSF,Hibernate and Google web tolkit(GWT). I gone through you project details and intrested to work with you. Looking forward for your feedback. Tha More

$150 USD in 20 days
(0 Reviews)
0.0
deadlycoder

i can deliver it in 7 days.

$80 USD in 7 days
(0 Reviews)
0.0
AliaaBadr

Hi I am very interested in your project and can get the job done within a week. I have worked with Java in many projects. I used Jbuilder with Apache Tomcat to build a recruitment website. Looking forward to hearin More

$200 USD in 7 days
(0 Reviews)
0.0
manishpurohi7

Ask for demo if u want ..... I u feel good then continue Costing Per developer : $8 per hour Time Taken : 25 Total amount : $ 200

$200 USD in 16 days
(0 Reviews)
0.0
calcantara

I am on vacations now, your assignment is more simple that you think i can do all stuff quickly. I'm working on java since 2001 using JSTL, JSP, Strust, JSF and administering servers (WEB:apache, IIS; Servlet Containe More

$180 USD in 2 days
(0 Reviews)
0.0
ravilst

I could do it. LIke yours specs.

$225 USD in 30 days
(0 Reviews)
0.0