1) Set up your Practice Environment

1.1) Internet Browsing – Firefox

If you already have antivirus and internet security make sure not to allow any of these programs to install the McAfee or other security product again. Look for any CHECKED boxes and uncheck them if needed. Multiple antivirus/internet security products will slow your system.

Firefox works best with the materials site. Other browsers may only show protected content on the site even after you are successfully logged in. Also, some browsers may not copy the line breaks in the code provided properly.
https://www.mozilla.org/en-US/firefox/new/


1.2) Install Java JDK 1.8 on your practice computer.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Install Java
Development Kit 1.8


1.3) Install Eclipse Java EE Edition on your practice computer.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Install Eclipse
Java EE Edition


1.4) Create your Eclipse work space directory on your practice computer

C:\java-tools\javarun\jwad2-wksp

or

C:\java-tools\javarun\jwad2-wksp

1.5) Install MySQL (latest) on your practice computer.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Install
MySQL 8.x
or latest

1.6) Get a copy of the MySQL JDBC Database Driver.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Use MySQL
mysql-connector-java-8.x.x.jar

You will add this to your project build path when you need JDBC access to MySQL. You will also add this to each of your Web App projects that require database support in the WEB-INF/libs folder.


1.7) Install Tomcat 9.x on your practice computer C:

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Install
Apache Tomcat 9

You will use this to test/serve your Java Web Applications to your Web Browser (i.e. local to your machine).


1.8) Add Tomcat 9.x to your Eclipse environment.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Eclipse: Add an Apache
Tomcat 9 Server

You will use this to test/serve your Java Web Applications to your Web Browser (i.e. local to your machine).


1.9) Import the Sample Dynamic Web Project in Eclipse on your practice computer.

Opens in a new tab/window. Come back to this window when you’re ready to go to the next step.

Hello World Web App
Eclipse Dynamic
Web Project