Gentle Java / Intro to Spring Class Home Page

The following items are available:

Spring/Spring Boot Wrap-Up Exercise

The purpose of this lab is for you to practice the concepts you learned in this course without all of the "hand-holding" provided in the "normal" labs to prove that you can create a simple but complete Spring Boot JPA/RESTful application from scratch. The instructions are here. and here's a sample solution.

Introduction to Spring AOP

Here is a lecture PDF introducing Spring's Aspect Oriented Programming.

Introduction to Java Logging

Here is a lecture PDF introducing Java logging frameworks.

Introduction to Spring Batch

Here is a lecture PDF introducing Spring Batch.

Introduction to Spring and JMS

Here is a lecture PDF about using Spring to access enterpise messaging using JMS .

Gentle Java Class Wrap-Up Exercise

The purpose of this lab is for you to practice the concepts you learned in this course without all of the "hand-holding" provided in the "normal" labs to prove that you can create a simple but complete Java application from scratch.

Instructions

A software program is required to keep track of fuel purchases for a fleet. We need to keep track of the date of the purchase, as well as the name of the gas station, cost per gallon, number of gallons purchased, the number of miles driven on the tank and the miles per gallon.
To do:
1. Create a new Java project in Eclipse named WrapUp, makeing sure to uncheck the module-info checkbox.
2. Create a class that implements the requirements above.
3. Create a testing class with a main() method that creates a collection (use the generic syntax) and then creates a few gas-purchase objects and stores their references in the collection.
4. The testing class should also display the average MPG for the collection of purchases.

Object Class Methods

Here is a lecture PDF about the java.lang.Object class. Here is a lab PDF. Lab notes:

Java Threads

Here is a lecture PDF introducing Java threads. Here is a lab PDF. Lab notes:

Java Logging

Here is a lecture PDF introducing Java logging techniques.

Annotations

Here is a lecture PDF introducing Java annotations.

Java Inner Classes

Here is a lecture PDF introducing Java inner classes.

Extra Enum Practice Lab

Here is a lab PDF. Lab notes:

Extra Java Collections Practice Lab

Here is a lab PDF. Lab notes: