Skip to content

Just Announced - "Learn Spring Security OAuth":

License

Notifications You must be signed in to change notification settings

elmanorc/tutorials

This branch is 21768 commits ahead of, 18935 commits behind eugenp/tutorials:master.

Folders and files

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

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 additional to Spring, the modules here are covering a number of aspects in Java.

Profile based segregation

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

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

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

Therefore, we have a total of 6 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

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

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

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 76.7%
  • JavaScript 11.8%
  • HTML 3.2%
  • CSS 3.2%
  • TypeScript 3.1%
  • Groovy 0.6%
  • Other 1.4%