Create a new servlet
The instructions to download the software in order to complete this assignment has been attached.
Complete "Exercise 5.2 Create a new servlet" from the Murach & Urban textbook. (Screenshot attached). Submit the source files as evidence of exercise completion. If unable to submit source files, please provide a screenshot.
Here are the four major steps for installing the software:
1) Install the textbook exercises
2) Install JDK with Netbeans 8.2
3) Install the Apache Server
4) Install MySQL
Following are screenshots of each step and links to install the software.
1. Install the textbook exercises
Click link below, provide requested information on the form and then download the application which will install the textbook source code and data for the book.
https://www.murach.com/shop/murach-s-java-servlets-and-jsp-3rd-edition-detail
2. Install JDK with Netbeans 8.2:
https://www.oracle.com/technetwork/java/javase/downloads/jdk-netbeans-jsp-3413139-esa.html
Be sure you verify your version of your operating system, click accept license agreement, and click the appropriate download. After download completes run the application.
Install Apache Server:
Go to the link below and download the zip file corresponding to your operating system under Binary distributions.
https://tomcat.apache.org/download-80.cgi
Run Netbeans, then select plugins…
Search for ‘Java EE Base’, select, click ‘Install’. Accept all prompts.
Test Netbeans.
Click File ‘New Project’, click Web Application, click Next.
Select Apache Tomcat Server
Navigate to the C drive where you saved the server files under folder tomcat-8.0. Select apache-tomcate-8.5.69, provide a username of admin password of admin, click finish.
Select the button next to the hammer to select your default browser (suggest Microsoft Edge)…
Make any edits to the html and then click run project..
If prompted…enter the login/password you created for the server above.
Accept all Windows warnings.
Install MySQL 8.0
https://downloads.mysql.com/archives/installer/
Be sure you select the product version shown below and your operating system.
Select Developer Default.
Review these and…for those that say ‘manual requirement’ you will want to click ‘check’.
Click ‘execute’ and accept all prompts.
Click Next to accept all prompts for remaining screens in install until here (enter admin/admin as user and password)…
Accept and click next through remaining install steps until here (enter admin as password). Click check, then next through remaining prompts till finish.
Click ‘Local Instance MySQLSS’ in gray and enter password created above (admin).
Click open sql script…
Select the ‘create databases’ sql from the Murach files you installed on your C drive.
Click the lightning bolt to execute the script and create the databases needed for the course…