Skip to content

PraveenGandhi/spring-workshop

Repository files navigation

https://drive.google.com/open?id=1BMs7J2rDwB8MD-8UbbdncUXPhtcQdqNuyhAa3s_P06c

   _____            _                _       __           __        __                
  / ___/____  _____(_)___  ____ _   | |     / /___  _____/ /_______/ /_  ____  ____   
  \__ \/ __ \/ ___/ / __ \/ __ `/   | | /| / / __ \/ ___/ //_/ ___/ __ \/ __ \/ __ \ 
 ___/ / /_/ / /  / / / / / /_/ /    | |/ |/ / /_/ / /  / ,< (__  ) / / / /_/ / /_/ / 
/____/ .___/_/  /_/_/ /_/\__, /     |__/|__/\____/_/  /_/|_/____/_/ /_/\____/ .___/   
    /_/                 /____/                                             /_/        

|^ /? /\ \/ [- [- |\|   (_, /\ |\| |) |-| |   |^

License: MIT Spring LinkedIn Blog

project

Old school Spring applications

  • XML configuration
    1. Hello Spring
    2. Spring JDBC
    3. Spring MVC
  • Java Configurtion
    1. Hello Spring
    2. Spring JDBC
    3. Spring MVC

Spring-boot applications

  1. Hello Spring-boot
  2. JDBC with H2 database
  3. Web MVC hello-world
  4. Request Mapping
  5. Form submission
  6. Form validation
  7. Web application with Database (JDBC)

Database applications are using H2 database for simplicity. These can be switched to any JDBC complaint Database

jdbc:h2:tcp://localhost:1510/./spring-workshop

jdbc:h2:file:./spring-workshop

To build and run

gradlew projects
gradlew build

#to run individual application (for example)
gradlew :old-school:xml:01-hello-spring:run
gradlew :old-school:xml:03-spring-web-mvc:appRun
gradlew :spring-boot:01-hello-spring-boot:bootRun

Next steps (live):