LoginSignup
1
4

More than 3 years have passed since last update.

Spring Boot

Posted at
  1. 依存関係の概念
     ・各種ツールやブラグインのバージョンを意識しなくても良い。
     ・設定にはコンポーネントの名前だけ書き、あとは自動で拾ってくれる(BOM: Bill Of Materials)
    ・SPringのバージョンアップに応じて、関連するものがバージョンアップされる

  2. コンフィグレーション
     ・Springを使うための設定?
    参考: https://spring-boot-reference.jp/configurationクラスを理解しよう%E3%80%82/

Springの肝
・DI
  シングルトンの設計手法
  いちいちnewしなくて良い。
   
  
https://qiita.com/shuntaro_tamura/items/ba5a2e9b3ba305285edd

シングルトン
https://teratail.com/questions/36721
https://qiita.com/shoheiyokoyama/items/c16fd547a77773c0ccc1

@componentscan
https://blog.mookjp.io/memo/spring-boot勉強メモ/
@Component@Service@Controller@RestController@Repositoryなどのアノテーションが付けられたすべてのクラスのBeanを自動的に作成し、それらをSpringコンテナに追加する
@Autowired=DIにできるようにする)ために使用されます。

DIについて詳しく
 https://qiita.com/ritukiii/items/de30b2d944109521298f

マルチプロジェクト

モデル

プロジェクト構成
・front …クライアント
・domain サーバーのロジック
image.png

補足資料
・デバッグのノウハウ
  ・類似との差分
  ・標準的なやり方

1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4