Week 1 Lecture 2
Week 1 Lecture 2
Development Environment.........................................................................................................................2
Java JDK 11..................................................................................................................................................2
Eclipse..........................................................................................................................................................2
Configuring Eclipse......................................................................................................................................2
Determine Java Version...............................................................................................................................3
Uninstall Java JDK........................................................................................................................................3
Install Java JDK 11........................................................................................................................................4
Install Eclipse...............................................................................................................................................4
Install Spring Tools.......................................................................................................................................5
Configure Your Eclipse IDE...........................................................................................................................5
Build a Spring Boot Web Application – Hello World Demo..........................................................................5
Development Environment
One of the most important parts of this course is making sure that your development environment is
setup properly. We need to ensure that we only have Java JDK 11 installed. We do not want any other
JDK installed alongside this one because it can cause problems. We also want to install Eclipse 2022-06.
This version is very stable, and it will provide the foundation for developing our applications. Finally, we
need to modify the environment so that it is configured optimally for our applications.
I will provide instructions for different operating systems where applicable. Once we move into the IDE, I
will be creating videos using Windows 10 since this is the most popular OS. Be sure to use ctrl-click on
the video links to launch the videos (this might be command click on Mac OS).
Java JDK 11
Java is a very popular programming language. You may have taken Java in your college career. If you
have not, you are completely fine. We will not dive into full blown Java applications. Instead, we will use
small Java methods to help process web requests. You do not need to be a Java guru to be in this course.
Eclipse
Eclipse is a popular IDE (Integrated Development Environment). We will use this IDE to build our
applications. You may be tempted to use other IDEs to build out your applications. This is okay, but I
warn you that sticking with Eclipse from the beginning is going to be best. We will use Eclipse to build
Spring MVC/Spring Boot web applications. IDEs like Visual Studio Code do not currently support building
Spring MVC web applications. Starting with a different IDE and then moving back to Eclipse (once we get
to server-side development), might make things more difficult for you. If your alternate IDE supports
Spring MVC (like IntelliJ), then it would be fine to use that IDE.
Configuring Eclipse
We have a few configuration pieces in Eclipse that we will want to modify. This will make your life easier
as you build your solutions. I will guide you through the steps you need to take in order to configure
your IDE optimally.
Determine Java Version
The first thing we need to do is to determine which version of Java we have installed (if any at all).
Launch Video
Launch Video
Launch Video
Launch Video
Launch Video
Launch Video
Launch Video
Launch Video
Launch Video
Install Eclipse
It is time to install the Eclipse IDE on our computer. The videos below will guide you through the
process. The video will ask that you download 2020-03. I would like you to install 2022-12 instead.
Windows - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-win64.exe
Linux - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-linux64.tar.gz
Mac - https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-mac64.dmg
Here is a video of the 2022-12 installation, along with Spring Tools 4 installation, and a sample project setup:
https://web.microsoftstream.com/video/0dd873d5-0dd6-412d-aaa5-03133f20e564
Launch Video
Launch Video
Launch Video
Launch Video
Adding a Spring Boot Dashboard for managing our embedded Tomcat Web Server
Adding a Package Explorer View
Deleting the Project Explorer View
Linking files with the Eclipse Editor
Changing our Package Presentation to Hierarchical View
All these changes may not make complete sense now. We will discuss their application in future videos,
though.
Launch Video
Build a Spring Boot Web Application – Hello World Demo
I don’t know that I will ever get tired of “Hello World” examples. Here is yet another Hello World
example for you. This video below will provide the steps necessary to build a Spring Boot Web
Applications.
Launch Video