{"id":1637,"date":"2005-07-17T15:47:00","date_gmt":"2005-07-17T15:47:00","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/1637\/spring-xml"},"modified":"2022-12-28T01:48:47","modified_gmt":"2022-12-27T16:48:47","slug":"%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/","title":{"rendered":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4"},"content":{"rendered":"

\ucd9c\ucc98: Spring XML: way simpler since 1.2<\/a> – Alef Arendsen (Interface21 NL)<\/a><\/p>\n

Spring Framework 1.2 \uc774\uc0c1\uc5d0\uc11c \uc0ac\uc6a9 \uac00\ub2a5\ud55c XML \ucd95\uc57d \ud45c\ud604\ub4e4\uc785\ub2c8\ub2e4.<\/p>\n

1. <property>\uc758 \uac12\uc744 \uc9c0\uc815\ud560 \ub54c:<\/p>\n

A. <value> \ub300\uc2e0 ‘value’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4:<\/p>\n


\n <property name=\"firstName\" value=\"Trustin\"\/>
\n<\/pre>\n

\nB. <bean ref=”…”\/> \ub300\uc2e0 ‘ref’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4:<\/p>\n


\n <property name=\"girlFriend\" ref=\"younghee\" \/>
\n<\/pre>\n

\n2. Collection \uc744 \ud45c\ud604\ud560 \ub54c \uc6d0\uc18c\uac00 \ud558\ub098 \ubfd0\uc778 \uacbd\uc6b0 Collection \ud45c\uae30\ub97c \uc0dd\ub7b5\ud560 \uc218 \uc788\ub2e4.<\/p>\n


\n <property name=\"names\" value=\"Trustin\"\/>
\n<\/pre>\n

\n3. bean \uc774 \ub2e4\ub978 bean \uc744 \uad6c\uc131\ud558\ub294 \uc694\uc18c\ub77c 2\ud68c \uc774\uc0c1 \ucc38\uc870\ud560 \uc77c\uc774 \uc5c6\uc744 \uacbd\uc6b0 <property> \ub0b4\uc5d0 <bean> \ud0dc\uadf8\ub97c nest \ud560 \uc218 \uc788\ub2e4:<\/p>\n


\n <property name=\"dataSource\">
\n <bean class=\"org.apache.commons.dbcp.BasicDataSource\">
\n ...
\n <\/bean>
\n <\/property>
\n<\/pre>\n

\n4. MethodInvokingFactoryBean \ub300\uc2e0 factory-method \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4:<\/p>\n


\n <bean name=\"dollar\" class=\"xxx.yyy.zzz.CurrencyFactory\"
\n factory-method=\"newDollar\"\/>
\n <bean name=\"euro\" factory-bean=\"dollar\" factory-method=\"newEuro\"\/>
\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

\ucd9c\ucc98: Spring XML: way simpler since 1.2 – Alef Arendsen (Interface21 NL) Spring Framework 1.2 \uc774\uc0c1\uc5d0\uc11c \uc0ac\uc6a9 \uac00\ub2a5\ud55c XML \ucd95\uc57d \ud45c\ud604\ub4e4\uc785\ub2c8\ub2e4. 1. <property>\uc758 \uac12\uc744 \uc9c0\uc815\ud560 \ub54c: A. <value> \ub300\uc2e0 ‘value’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name=”firstName” value=”Trustin”\/> B. <bean ref=”…”\/> \ub300\uc2e0 ‘ref’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name=”girlFriend” ref=”younghee” \/> 2. Collection \uc744 \ud45c\ud604\ud560 \ub54c… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/\uc720\uc6a9\ud55c-spring-xml-\ucd95\uc57d-\ud45c\ud604\ub4e4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day\" \/>\n<meta property=\"og:description\" content=\"\ucd9c\ucc98: Spring XML: way simpler since 1.2 – Alef Arendsen (Interface21 NL) Spring Framework 1.2 \uc774\uc0c1\uc5d0\uc11c \uc0ac\uc6a9 \uac00\ub2a5\ud55c XML \ucd95\uc57d \ud45c\ud604\ub4e4\uc785\ub2c8\ub2e4. 1. <property>\uc758 \uac12\uc744 \uc9c0\uc815\ud560 \ub54c: A. <value> \ub300\uc2e0 ‘value’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name="firstName" value="Trustin"\/> B. <bean ref=”…”\/> \ub300\uc2e0 ‘ref’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name="girlFriend" ref="younghee" \/> 2. Collection \uc744 \ud45c\ud604\ud560 \ub54c... Continue reading →\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/\uc720\uc6a9\ud55c-spring-xml-\ucd95\uc57d-\ud45c\ud604\ub4e4\/\" \/>\n<meta property=\"og:site_name\" content=\"T's message of the day\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:published_time\" content=\"2005-07-17T15:47:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T16:48:47+00:00\" \/>\n<meta name=\"author\" content=\"Trustin Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/www.twitter.com\/trustin\" \/>\n<meta name=\"twitter:site\" content=\"@trustin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trustin Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/\"},\"author\":{\"name\":\"Trustin Lee\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"headline\":\"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4\",\"datePublished\":\"2005-07-17T15:47:00+00:00\",\"dateModified\":\"2022-12-27T16:48:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/\"},\"wordCount\":42,\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/\",\"name\":\"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\"},\"datePublished\":\"2005-07-17T15:47:00+00:00\",\"dateModified\":\"2022-12-27T16:48:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vault.motd.kr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/\",\"name\":\"T's message of the day\",\"description\":\"the best is yet to come\",\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\",\"name\":\"Trustin Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"contentUrl\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"width\":966,\"height\":966,\"caption\":\"Trustin Lee\"},\"logo\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/t.motd.kr\/\",\"https:\/\/www.facebook.com\/trustin\",\"https:\/\/www.instagram.com\/trustinlee\/\",\"https:\/\/www.linkedin.com\/in\/trustin\",\"https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin\",\"https:\/\/www.youtube.com\/@trustinlee\"]}]}<\/script>","yoast_head_json":{"title":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/\uc720\uc6a9\ud55c-spring-xml-\ucd95\uc57d-\ud45c\ud604\ub4e4\/","og_locale":"en_US","og_type":"article","og_title":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day","og_description":"\ucd9c\ucc98: Spring XML: way simpler since 1.2 – Alef Arendsen (Interface21 NL) Spring Framework 1.2 \uc774\uc0c1\uc5d0\uc11c \uc0ac\uc6a9 \uac00\ub2a5\ud55c XML \ucd95\uc57d \ud45c\ud604\ub4e4\uc785\ub2c8\ub2e4. 1. <property>\uc758 \uac12\uc744 \uc9c0\uc815\ud560 \ub54c: A. <value> \ub300\uc2e0 ‘value’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name=\"firstName\" value=\"Trustin\"\/> B. <bean ref=”…”\/> \ub300\uc2e0 ‘ref’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4: <property name=\"girlFriend\" ref=\"younghee\" \/> 2. Collection \uc744 \ud45c\ud604\ud560 \ub54c... Continue reading →","og_url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/\uc720\uc6a9\ud55c-spring-xml-\ucd95\uc57d-\ud45c\ud604\ub4e4\/","og_site_name":"T's message of the day","article_publisher":"https:\/\/www.facebook.com\/trustin","article_author":"https:\/\/www.facebook.com\/trustin","article_published_time":"2005-07-17T15:47:00+00:00","article_modified_time":"2022-12-27T16:48:47+00:00","author":"Trustin Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/www.twitter.com\/trustin","twitter_site":"@trustin","twitter_misc":{"Written by":"Trustin Lee","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#article","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/"},"author":{"name":"Trustin Lee","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"headline":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4","datePublished":"2005-07-17T15:47:00+00:00","dateModified":"2022-12-27T16:48:47+00:00","mainEntityOfPage":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/"},"wordCount":42,"publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/","url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/","name":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4 — T's message of the day","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#website"},"datePublished":"2005-07-17T15:47:00+00:00","dateModified":"2022-12-27T16:48:47+00:00","breadcrumb":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1637\/%ec%9c%a0%ec%9a%a9%ed%95%9c-spring-xml-%ec%b6%95%ec%95%bd-%ed%91%9c%ed%98%84%eb%93%a4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vault.motd.kr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"\uc720\uc6a9\ud55c Spring XML \ucd95\uc57d \ud45c\ud604\ub4e4"}]},{"@type":"WebSite","@id":"https:\/\/vault.motd.kr\/wordpress\/#website","url":"https:\/\/vault.motd.kr\/wordpress\/","name":"T's message of the day","description":"the best is yet to come","publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d","name":"Trustin Lee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","contentUrl":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","width":966,"height":966,"caption":"Trustin Lee"},"logo":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/t.motd.kr\/","https:\/\/www.facebook.com\/trustin","https:\/\/www.instagram.com\/trustinlee\/","https:\/\/www.linkedin.com\/in\/trustin","https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin","https:\/\/www.youtube.com\/@trustinlee"]}]}},"_links":{"self":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1637"}],"collection":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=1637"}],"version-history":[{"count":1,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1637\/revisions"}],"predecessor-version":[{"id":6015,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1637\/revisions\/6015"}],"wp:attachment":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=1637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=1637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=1637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}