{"published":"2025-03-20 18:07:26","image_url":null,"blog_url":"https://tech.excite.co.jp/","title":"SpringBoot\u306eBean\u30b9\u30b3\u30fc\u30d7\u3092@Scope\u3067\u4f7f\u3044\u5206\u3051\u308b","description":"\u30a8\u30ad\u30b5\u30a4\u30c8\u682a\u5f0f\u4f1a\u793e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4f50\u3005\u6728\u3067\u3059\u3002SpringBoot\u306eBean\u30b9\u30b3\u30fc\u30d7\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306fSingleton\u3067\u3059\u304c\u3001@Scope\u3092\u5229\u7528\u3057\u3066\u4f7f\u3044\u5206\u3051\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 Bean\u30b9\u30b3\u30fc\u30d7\u3068\u306f\uff1f singleton request session prototype singleton\u30b9\u30b3\u30fc\u30d7\u3001prototype\u30b9\u30b3\u30fc\u30d7\u306e\u9055\u3044 singleton\u30b9\u30b3\u30fc\u30d7 request\u30b9\u30b3\u30fc\u30d7 prototype\u30b9\u30b3\u30fc\u30d7 \u88dc\u8db3:ApplicationContext\u306b\u3064\u3044\u3066 \u307e\u3068\u3081 Bean\u30b9\u30b3\u30fc\u30d7\u3068\u306f\uff1f SpringBoot\u306fDI\u30b3\u30f3\u30c6\u30ca\u3092\u4fdd\u6709\u3057\u3066\u3044\u3066\u3001\u8d77\u52d5\u6642\u306b\u591a\u304f\u306eBean\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u305d\u306eBean\u304c\u3069\u306e\u3088\u2026","type":"rich","version":"1.0","width":"100%","author_name":"earu","author_url":"https://blog.hatena.ne.jp/earu/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2025%2F03%2F20%2F180726\" title=\"SpringBoot\u306eBean\u30b9\u30b3\u30fc\u30d7\u3092@Scope\u3067\u4f7f\u3044\u5206\u3051\u308b - \u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"height":"190","url":"https://tech.excite.co.jp/entry/2025/03/20/180726","blog_title":"\u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.","provider_url":"https://hatena.blog"}