Giter Site home page Giter Site logo

kortov / springworkshop Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 283 KB

Spring Hibernate simple CRM demo (link for preview is below, wait some seconds to boot it up)

Home Page: http://web-kortov-spring.herokuapp.com

Java 99.12% CSS 0.73% Batchfile 0.14%
spring-mvc hibernate

springworkshop's Introduction

Project With Spring & Hibernate

This is a fully functional implementation of Udemy Spring & Hibernate course

The app src is placed into mvc/web-customer-tracker module: sources

Technologies

  • Spring Core, Annotations, Java Config
  • Spring AOP
  • Spring MVC
  • Spring Security
  • Spring REST
  • Hibernate CRUD
  • Maven
  • MySQL
  • Heroku

screenshot_20180819_171618

screenshot_20180819_172107

springworkshop's People

Contributors

dependabot[bot] avatar kortov avatar

Watchers

 avatar  avatar  avatar

Forkers

pav-rom

springworkshop's Issues

Inversion of Control with Annotations

  1. Define a new Coach implementation using Annotations
  2. Reference the new coach implementation in your main application.
  3. Test your application to verify you are getting information from your new coach implementation.

Inversion of Control with XML Configuration

  1. Define a new implementation for the Coach interface. You can use whatever sport you would like.
  2. Reference your new implementation in the Spring config file.
  3. Test your application to verify you are retrieving information from your new Coach implementation.

Practice Activity #7 - Inversion of Control and Dependency Injection with Java Code

  1. Create a new Coach implementation.
  2. Create a new fortune service implementation (return a single hard-coded fortune)
  3. Create a Java configuration class to perform IoC and DI with those classes.
  4. Develop a main application to retrieve your coach implementation.
  5. Test your application and verify your coach implementation is wired up as desired.

Dependency Injection with XML Configuration

  1. Define a new implementation for the FortuneService.

    a. When the getFortune() method is called it should return a random fortune from the array.

    b. Your fortune service should define three fortunes in an array.

  2. Inject your new dependency into your Coach implementation.

  3. Test your application to verify you are retrieving random fortunes.

Bean Scopes with XML Configuration

  1. Add bean scopes to your new Coach implementation that you created in one of the previous activities.

  2. Test singleton scope and prototype scope as I did in the videos.

  3. Verify that the bean scopes are being applied as desired.

Practice Activity #5 - Dependency Injection with Annotations

  1. Define a new implementation for the FortuneService.
    Your fortune service should read the fortunes from a file.
    The fortune service should load the fortunes into an array
    When the getFortune() method is called it would return a random fortune from the array.

  2. Inject your new dependency into your Coach implementation

  3. Test your application to verify you are getting random fortunes based on your fortunes file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.