Skip to content

Just Announced - "Learn Spring Security OAuth":

License

Notifications You must be signed in to change notification settings

running88/tutorials

This branch is 24270 commits ahead of, 19097 commits behind eugenp/tutorials:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 11, 2022
Nov 9, 2021
May 6, 2021
Dec 11, 2021
Jan 18, 2022
Nov 18, 2021
Jan 18, 2022
Jan 18, 2022
Jan 18, 2022
Jan 18, 2022
Feb 23, 2022
Nov 18, 2021
Nov 18, 2021
May 6, 2021
Oct 4, 2021
May 6, 2021
Aug 2, 2021
Jan 18, 2022
Nov 18, 2021
Mar 13, 2022
Mar 7, 2022
Mar 7, 2022
Aug 2, 2021
Feb 9, 2022
Feb 2, 2022
Sep 19, 2021
Sep 16, 2021
May 6, 2021
Mar 23, 2022
May 6, 2021
Aug 2, 2021
May 6, 2021
Nov 5, 2021
Aug 2, 2021
May 6, 2021
Jan 10, 2022
Sep 19, 2021
Dec 18, 2021
Jan 17, 2022
May 6, 2021
May 6, 2021
Nov 18, 2021
Aug 2, 2021
May 10, 2020
Nov 18, 2021
May 6, 2021
May 24, 2019
Nov 26, 2021
May 6, 2021
Oct 29, 2021
Oct 29, 2021
Oct 29, 2021
Oct 29, 2021
Apr 4, 2022
May 8, 2021
May 8, 2021
May 8, 2021
Jul 28, 2021
Mar 13, 2022
Dec 18, 2021
Sep 16, 2021
Jan 17, 2022
May 8, 2021
Mar 1, 2022
May 8, 2021
Nov 9, 2021
May 8, 2021
May 8, 2021
Dec 18, 2021
Apr 5, 2022
Nov 9, 2021
Mar 13, 2022
May 8, 2021
Nov 5, 2021
Sep 16, 2020
Mar 18, 2020
Feb 23, 2022
Oct 6, 2019
Mar 31, 2022
Jan 10, 2022
Nov 26, 2021
Jan 18, 2022
Jan 17, 2022
May 8, 2021
May 8, 2021
May 8, 2021
Apr 1, 2022
Apr 5, 2022
Apr 6, 2022
May 8, 2021
Aug 18, 2021
Nov 18, 2021
Jan 10, 2022
Dec 1, 2021
Nov 18, 2021
Mar 17, 2022
May 8, 2021
Nov 24, 2021
Nov 26, 2021
Mar 13, 2022
May 8, 2021
Aug 2, 2021
Sep 19, 2021
Feb 23, 2022
May 8, 2021
Nov 18, 2021
Mar 16, 2022
Nov 18, 2021
May 8, 2021
Jan 24, 2022
May 8, 2021
May 8, 2021
Jan 26, 2022
Mar 13, 2022
Jan 30, 2022
Mar 13, 2022
Feb 1, 2022
Jan 5, 2022
May 9, 2021
Sep 26, 2021
Jan 10, 2022
Sep 19, 2021
May 9, 2021
May 9, 2021
Nov 2, 2021
Dec 23, 2021
May 9, 2021
Dec 28, 2021
Apr 6, 2022
May 9, 2021
May 9, 2021
May 9, 2021
Dec 6, 2021
May 9, 2021
Jan 6, 2022
May 9, 2021
May 17, 2021
May 12, 2020
Mar 13, 2022
Dec 9, 2021
Mar 19, 2020
Nov 18, 2021
Nov 18, 2021
Apr 2, 2022
Nov 18, 2021
Nov 18, 2021
Nov 26, 2021
Nov 26, 2021
May 9, 2021
Nov 18, 2021
Mar 13, 2022
Jan 18, 2022
Nov 19, 2021
Nov 18, 2021
Nov 5, 2021
Oct 9, 2021
Nov 18, 2021
Jan 17, 2022
Oct 29, 2021
Mar 18, 2022
Dec 9, 2021
May 9, 2021
Nov 18, 2021
Mar 6, 2022
Nov 24, 2021
May 9, 2021
Dec 22, 2021
Feb 9, 2022
Mar 14, 2022
Aug 2, 2021
Mar 13, 2022
May 9, 2021
Nov 18, 2021
Nov 9, 2021
Mar 16, 2022
May 9, 2021
Sep 24, 2021
Mar 13, 2022
Dec 22, 2021
May 9, 2021
May 9, 2021
Mar 4, 2022
Nov 18, 2021
May 9, 2021
Sep 24, 2021
Mar 13, 2022
Mar 16, 2022
Jan 10, 2022
Sep 19, 2021
Oct 29, 2021
May 9, 2021
May 9, 2021
Sep 19, 2021
Aug 2, 2021
Mar 17, 2022
Jan 17, 2022
Nov 7, 2021
Feb 22, 2022
Mar 13, 2022
Jan 13, 2022
May 9, 2021
Apr 5, 2022
Mar 18, 2020
Apr 13, 2018
Sep 24, 2021
May 10, 2021
Aug 2, 2021
Mar 13, 2022
Feb 22, 2022
Dec 18, 2021
Aug 2, 2021
Sep 16, 2020
Oct 21, 2021
Mar 16, 2022
Dec 29, 2021
May 10, 2021
Nov 22, 2021
May 10, 2021
Nov 9, 2021
Nov 18, 2021
Nov 18, 2021
Nov 18, 2021
Nov 18, 2021
May 13, 2021
May 13, 2021
Dec 9, 2021
Aug 2, 2021
Nov 26, 2021
Feb 9, 2022
Mar 13, 2022
Jan 14, 2022
Mar 13, 2022
Feb 11, 2022
May 13, 2021
Dec 29, 2021
Dec 29, 2021
Jan 17, 2022
Jan 9, 2022
Jan 14, 2022
Mar 13, 2022
May 13, 2021
May 13, 2021
Jan 3, 2022
Jan 4, 2022
May 13, 2021
Nov 25, 2021
Nov 25, 2021
May 13, 2021
Apr 4, 2022
Jan 17, 2022
Jan 18, 2022
Sep 19, 2021
Dec 9, 2021
Dec 15, 2021
Oct 2, 2019
Jan 10, 2022
Apr 5, 2022
Jan 18, 2022
Nov 3, 2021
Jan 18, 2022
Jan 14, 2022
Jan 18, 2022
May 14, 2021
Jan 20, 2022
May 14, 2021
Jan 19, 2022
Feb 22, 2022
Feb 23, 2022
Jan 18, 2022
May 14, 2021
Mar 14, 2022
Jan 18, 2022
May 14, 2021
May 14, 2021
Jan 11, 2022
Nov 18, 2021
May 14, 2021
May 14, 2021
Jan 14, 2022
May 14, 2021
Aug 2, 2021
Dec 18, 2021
Mar 22, 2022
May 14, 2021
Dec 14, 2021
Apr 1, 2022
May 14, 2021
May 14, 2021
Feb 22, 2022
Dec 28, 2021
Apr 6, 2022
May 17, 2021
Mar 1, 2022
May 17, 2021
May 17, 2021
Mar 7, 2022
May 17, 2021
Feb 22, 2022
May 17, 2021
Aug 2, 2021
Nov 16, 2021
Mar 29, 2022
Nov 16, 2021
Jan 10, 2022
May 17, 2021
May 17, 2021
May 17, 2021
Nov 5, 2021
May 12, 2020
Apr 3, 2022
May 17, 2021
May 17, 2021
Dec 6, 2019
Aug 25, 2021
May 17, 2021
May 17, 2021
Sep 16, 2021
Aug 2, 2021
Nov 26, 2021
Sep 16, 2021
May 17, 2021
May 17, 2021
Aug 2, 2021
Mar 16, 2022
Jan 10, 2022
Jan 10, 2022
Jul 28, 2021
Nov 29, 2017
Jan 11, 2022
Jun 29, 2018
Jul 20, 2019
Nov 19, 2021
Apr 4, 2022

Repository files navigation

The Courses

Here's the new "Learn Spring" course:
>> LEARN SPRING - THE MASTER CLASS

Here's the Master Class of "REST With Spring" (along with the new announced Boot 2 material):
>> THE REST WITH SPRING - MASTER CLASS

And here's the Master Class of "Learn Spring Security":
>> LEARN SPRING SECURITY - MASTER CLASS

Java and Spring Tutorials

This project is a collection of small and focused tutorials - each covering a single and well defined area of development in the Java ecosystem. A strong focus of these is, of course, the Spring Framework - Spring, Spring Boot and Spring Security. In addition to Spring, the modules here cover a number of aspects of Java.

Profile based segregation

We are using maven build profiles to segregate the huge list of individual projects we have in our repository.

As for now, vast majority of the modules require JDK8 to build and run correctly.

The projects are broadly divided into 3 lists: first, second and heavy.

Next, they are segregated further on the basis of the tests that we want to execute.

Additionally, there are 2 profiles dedicated for JDK9 and above builds.

Therefore, we have a total of 8 profiles:

Profile Includes Type of test enabled
default-first First set of projects *UnitTest
integration-lite-first First set of projects *IntegrationTest
default-second Second set of projects *UnitTest
integration-lite-second Second set of projects *IntegrationTest
default-heavy Heavy/long running projects *UnitTest
integration-heavy Heavy/long running projects *IntegrationTest
default-jdk9-and-above JDK9 and above projects *UnitTest
integration-jdk9-and-above JDK9 and above projects *IntegrationTest

Building the project

Though it should not be needed often to build the entire repository at once because we are usually concerned with a specific module.

But if we want to, we can invoke the below command from the root of the repository if we want to build the entire repository with only Unit Tests enabled:

mvn clean install -Pdefault-first,default-second,default-heavy

or if we want to build the entire repository with Integration Tests enabled, we can do:

mvn clean install -Pintegration-lite-first,integration-lite-second,integration-heavy

Analogously, for the JDK9 and above projects the commands are:

mvn clean install -Pdefault-jdk9-and-above

and

mvn clean install -Pintegration-jdk9-and-above

Building a single module

To build a specific module, run the command: mvn clean install in the module directory.

Running a Spring Boot module

To run a Spring Boot module, run the command: mvn spring-boot:run in the module directory.

Working with the IDE

This repo contains a large number of modules. When you're working with an individual module, there's no need to import all of them (or build all of them) - you can simply import that particular module in either Eclipse or IntelliJ.

Running Tests

The command mvn clean install from within a module will run the unit tests in that module. For Spring modules this will also run the SpringContextTest if present.

To run the integration tests, use the command:

mvn clean install -Pintegration-lite-first or

mvn clean install -Pintegration-lite-second or

mvn clean install -Pintegration-heavy or

mvn clean install -Pintegration-jdk9-and-above

depending on the list where our module exists

About

Just Announced - "Learn Spring Security OAuth":

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.0%
  • JavaScript 11.1%
  • HTML 3.1%
  • TypeScript 2.9%
  • CSS 1.9%
  • Groovy 0.6%
  • Other 1.4%