์ „์ฒด ๊ธ€

    ์Šคํ”„๋ง ๋ถ€ํŠธ ์ •๋ฆฌ (200405~)

    Controller @SpringBootApplication ์Šคํ”„๋ง๋ถ€ํŠธ์˜ ์ž๋™ ์„ค์ •, ์Šคํ”„๋ง Bean ์ฝ๊ธฐ์™€ ์ƒ์„ฑ์„ ๋ชจ๋‘ ์ž๋™์œผ๋กœ ์„ค์ •ํ•จ ํ•ด๋‹น class์— ์žˆ๋Š” ์œ„์น˜๋ถ€ํ„ฐ ์„ค์ •์„ ์ฝ์–ด ๊ฐ€๊ธฐ ๋•Œ๋ฌธ์— ํ•ญ์ƒ ํ”„๋กœ์ ํŠธ์˜ ์ตœ์ƒ๋‹จ์— ์œ„์น˜ํ•ด์•ผ ํ•จ. SpringBootApplication.run() ์Šคํ”„๋ง๋ถ€ํŠธ์˜ ๋‚ด์žฅ was์ด๋‹ค. ์™ธ์žฅ was๋ฅผ ์‚ฌ์šฉํ•ด๋„ ๋˜์ง€๋งŒ ๋‚ด์žฅ was ์‚ฌ์šฉ ๊ถŒ๊ณ  (์–ธ์ œ ์–ด๋””์„œ๋‚˜ ๊ฐ™์€ ํ™˜๊ฒฝ์—์„œ ์Šคํ”„๋ง ๋ถ€ํŠธ๋ฅผ ๋ฐฐํฌ) ์„ฑ๋Šฅ์ƒ ์ด์Šˆ : ํ†ฐ์บฃ ์—ญ์‹œ ์„œ๋ธ”๋ฆฟ์œผ๋กœ ์ด๋ฃจ์–ด์ง„ ์ž๋ฐ” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด๋‹ค. ๋˜‘๊ฐ™์€ ์ฝ”๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์œผ๋ฏ€๋กœ ํฌ๊ฒŒ ๊ณ ๋ คํ•˜์ง€ ์•Š์•„๋„ ๋œ๋‹ค. @RestController ์ปจํŠธ๋กค๋Ÿฌ๋ฅผ JSON์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ์ปจํŠธ๋กค๋Ÿฌ๋กœ ๋งŒ๋“ค์–ด ์คŒ ์˜ˆ์ „์—๋Š” @ResposeBody๋ฅผ ๊ฐ ๋ฉ”์†Œ๋“œ๋งˆ๋‹ค ์„ ์–ธ ํ–ˆ๋˜๊ฒƒ์„ ํ•œ๋ฒˆ์— ์‚ฌ์šฉํ•  ์ˆ˜ ..

    NAWA ํ”„๋กœ์ ํŠธ ์„ค๋ช…

    1. ๋ฌธ์„œ ์ž‘์—… ๋ฌธ์„œ ์ž‘์—…์€ ์˜ˆ์ƒ๋งŒํผ์ด๋‚˜ ์–ด๋ ต๊ณ  ์‹œ๊ฐ„์ด ๋งŽ์ด ๋“ค์–ด๊ฐ”๋‹ค. ์ฒ˜์Œ์œผ๋กœ ๊ฐœ๋ฐœ ์˜ˆ์ • ๋ณด๊ณ ์„œ๋กœ ์—ญํ• ๋ถ„๋‹ด, ์ผ์ •, ์‹œ์Šคํ…œ ๊ตฌ์„ฑ๋„, ๊ตฌํ˜„์„ ์ž‘์„ฑํ•˜์˜€๋‹ค. ํ•™์›์—์„œ ๊ฐ™์ด ๋ฐฐ์šด ์–ธ์–ด์™€ ๊ฐœ๋ฐœ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉ ํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ์–ด๋ ต์ง€ ์•Š์•˜๋‹ค. ์—ญํ• ๋ถ„๋‹ด์—์„œ ๊ฐœ์ธ์˜ ์—ญ๋Ÿ‰ ์ฐจ์ด ๋•Œ๋ฌธ์— ์กฐ๊ธˆ ์‹œ๊ฐ„์ด ์ง€์ฒด๋˜์—ˆ์ง€๋งŒ, ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ํ•  ๋•Œ ์ถ”๊ฐ€, ์ˆ˜์ •๋˜์—ˆ๋‹ค. ๊ทธ ํ›„ ๊ธฐ๋Šฅ์ •์˜์„œ (FBS)๋ฅผ ์‹œ์ž‘ํ•˜๋ฉฐ ์ •๋ง ํž˜๋“ค์—ˆ๋‹ค... ๊ทธ ํ›„์— ๋งŒ๋“  ๋ฌธ์„œ์—์„œ ์กฐ๊ธˆ์ด๋ผ๋„ ๋ฐ”๋€Œ๋ฉด FBS๋„ ๋ฐ”๊ฟ”์•ผ ํ•˜๋Š” ์ƒํ™ฉ์ด์–ด์„œ ์ฒ˜์Œ ๊ณ„ํšํ•  ๋•Œ ์ข€ ๋” ์‹ ์ค‘ํ–ˆ์–ด์•ผ ํ–ˆ๋‹ค๋Š” ๊ฑธ ๋ผˆ์ €๋ฆฌ๊ฒŒ ๋Š๊ผˆ๋‹ค... ๊ตฌํ˜„๋˜์–ด์•ผ ํ•  ๊ธฐ๋Šฅ์ด ํ•˜๋‚˜ํ•˜๋‚˜ ๋‚˜์—ด๋˜์–ด์žˆ๋‹ค. ๋Œ€๋ง์— ์š”๊ตฌ์‚ฌํ•ญ ๋ช…์„ธ์„œ , ๊ฐ€์žฅ ์‹œ๊ฐ„์„ ๋งŽ์ด ์Ÿ์•„๋ถ€์—ˆ๋˜ ๊ฒƒ ๊ฐ™๋‹ค. ๊ทธ๋ž˜์„œ ๊ฐœ๋ฐœํ•  ๋•Œ ๋ฌด์ฒ™ ๋„์›€์ด ๋งŽ์ด ๋˜์—ˆ๋‹ค. ํŒ€ ํ”„๋กœ์ ํŠธ์ด๋‹ค ๋ณด๋‹ˆ ์„œ๋กœ ..

    var, const, let

    JavaScript์—์„œ์˜ ๋ณ€์ˆ˜ ์„ ์–ธ ๋ฐฉ์‹ ์ค‘ var, const, let์˜ ์ฐจ์ด์  ๋จผ์ € Hoisting๊ณผ Scope์˜ ๊ฐœ๋…์ด ํ•„์š”ํ•˜๋‹ค. Hoisting Hoist๋ž€ ๋ณ€์ˆ˜์˜ ์ •์˜๊ฐ€ ๋ฒ”์œ„์— ๋”ฐ๋ผ ์„ ์–ธ, ์ดˆ๊ธฐํ™”, ํ• ๋‹น ๋ถ„๋ฆฌ๋˜๋Š” ๊ฒƒ์„ ์˜๋ฏธ (์ „์—ญ๋ณ€์ˆ˜์™€ ์ง€์—ญ๋ณ€์ˆ˜) Scope - ์ „์—ญ ์Šค์ฝ”ํ”„, ์ง€์—ญ ์Šค์ฝ”ํ”„ 1. var ๋ณ€์ˆ˜ ์„ ์–ธ์˜ ๊ฒฝ์šฐ ์œ ๋™์ ์œผ๋กœ ๋ณ€๊ฒฝ๋  ์ˆ˜ ์žˆ๋‹ค. function scope 2. const ๋ณ€์ˆ˜์— ์žฌ์„ ์–ธ, ์žฌํ• ๋‹น ๋ถˆ๊ฐ€ block scope ์ง€์—ญ ์Šค์ฝ”ํ”„ 3. let ๋ณ€์ˆ˜์— ์žฌํ• ๋‹น ๊ฐ€๋Šฅ block scope ES6์—์„œ๋Š” var๋ณด๋‹ค๋Š” const์™€ let์„ ์‚ฌ์šฉํ•ด์„œ ์ •ํ™•ํ•œ ๋ณ€์ˆ˜ ์‚ฌ์šฉ์„ ๊ถŒํ•œ๋‹ค.

    Spring scheduler(์Šคํ”„๋ง ์Šค์ผ€์ฅด๋Ÿฌ)

    ๋ฉ”์ธํŽ˜์ด์ง€์— ๊ฐ€์ž…ํ•œ ํšŒ์›์˜ ์ˆ˜๋ฅผ ํ‘œ์‹œํ•ด์ฃผ๊ณ  ์‹ถ์€๋ฐ ํšŒ์›์ด ๊ฐ€์ž…ํ–ˆ์„๋•Œ ๋ฐ”๋กœ ํ‘œ์‹œ๋˜๋Š”๊ฒŒ ์•„๋‹ˆ๋ผ ๋งค์ผ ์‹œ๊ฐ„์„ ์ •ํ•ด๋‘๊ณ  ์ž๋™์œผ๋กœ ์—…๋ฐ์ดํŠธ ํ•˜๊ฒŒ ํ•˜๊ณ ์‹ถ์—ˆ๋‹ค. servlet-context์— xmlns:task="http://www.springframework.org/schema/task" http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd ์ถ”๊ฐ€ ํ•ด์ฃผ์—ˆ๊ณ  context:component-scan base-package ์—๋Š” ์ ์šฉํ•˜๋Š” ๊ฒฝ๋กœ ์ ์–ด์ฃผ๋ฉด ๋˜๋Š”๋ฐ com.min.app ์œผ๋กœ ์‹œ์ž‘ํ•˜๋Š” ํŒจํ‚ค์ง€ ๋ชจ๋‘๋ฅผ ์„ ํƒํ–ˆ๋‹ค ๊ทธ๋‹ค์Œ ์Šค์ผ€์ฅด๋Ÿฌ ์‚ฌ์šฉํ•  class๋ฅผ ๋งŒ๋“ค์–ด์ฃผ์—ˆ๋‹ค. public static i..

    ์ดํด๋ฆฝ์Šค ๋งˆ์ผ“ ์‹คํ–‰ ์•ˆ๋ ๋•Œ

    ์ดํด๋ฆฝ์Šค Help - Install new software... - Work with : http://download.eclipse.org/mpc/photon Eclipse software repository | The Eclipse Foundation The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks. download.eclipse.org