{"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 \nB. <bean ref=”…”\/> \ub300\uc2e0 ‘ref’ \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4:<\/p>\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 \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 \n4. MethodInvokingFactoryBean \ub300\uc2e0 factory-method \uc18d\uc131\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4:<\/p>\n \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 <property name=\"firstName\" value=\"Trustin\"\/>
\n<\/pre>\n
\n <property name=\"girlFriend\" ref=\"younghee\" \/>
\n<\/pre>\n
\n <property name=\"names\" value=\"Trustin\"\/>
\n<\/pre>\n
\n <property name=\"dataSource\">
\n <bean class=\"org.apache.commons.dbcp.BasicDataSource\">
\n ...
\n <\/bean>
\n <\/property>
\n<\/pre>\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":"