{"id":2039,"date":"2001-08-29T01:54:00","date_gmt":"2001-08-29T01:54:00","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/2039\/bros"},"modified":"2022-12-28T01:58:04","modified_gmt":"2022-12-27T16:58:04","slug":"b-r-o-s","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/","title":{"rendered":"B.R.O.S"},"content":{"rendered":"

\uc624\ub298\uc740 BROS \ud504\ub85c\uc81d\ud2b8\ub97c \uc218\ud589\ud588\ub2e4. <\/p>\n

A Bean that Remembers Old State. <\/p>\n

JavaBean \uc758 \ud2b9\uc9d5\uc744 \ubaa8\ub450 \uc720\uc9c0\ud558\uba74\uc11c setXXX()\uac00 \uc218\ud589\ub420 \ub54c \uc8fc\uc5b4\uc9c4 \uc81c\uc57d \uc870\uac74\uc744 \uac80\uc0ac\ud558\uace0, commit\/rollback \uba54\ucee4\ub2c8\uc998\uc744 \uc801\uc6a9\ud568\uc73c\ub85c\uc368 \uc77d\uae30 \uc804\uc6a9 \ud504\ub85c\ud37c\ud2f0\uc758 setXXX() \uba54\uc11c\ub4dc\ub97c private\ub85c \ub450\uc9c0 \uc54a\uac8c \ub418\uc5c8\ub2e4. \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\uc758 \ubcc0\uacbd\uce58\ub294 commit\uc774 \uc218\ud589\ub420 \ub54c \uae4c\uc9c0 \uc784\uc2dc \ubcc0\uc218\uc5d0 \uc800\uc7a5\ub418\uba70, commit\uc774 \uc218\ud589\ub418\ub294 \uc21c\uac04 \uc2e4\uc81c \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce58\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\ub2e4. BROS \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c commit()\uc740 CommitKey\ub97c \uc774\uc6a9\ud55c \uc778\uc99d\uc744 \ud1b5\ud574 \uc815\ud574\uc9c4 \uac1c\uccb4\ub9cc\uc774 commit\uc744 \uc218\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ud558\uc5ec, commit\uc774 \uc218\ud589\ub418\ub294 \uacbd\ub85c\ub97c \uc81c\ud55c\ud568\uc73c\ub85c\uc368 \uc77d\uae30 \uc804\uc6a9 \ud504\ub85c\ud37c\ud2f0\ub97c \uad6c\ud604\ud55c\ub2e4. <\/p>\n

\uc57d 6\uc2dc\uac04\uc5d0 \uac78\uce5c \ud504\ub85c\uc81d\ud2b8\uc600\uace0, Java 1.3 \uc758 Dynamic Proxy \uae30\ub2a5\uc744 \uc2ed\ubd84 \ud65c\uc6a9\ud560 \uc218 \uc788\uc5b4\uc11c \uc88b\uc558\ub2e4. \uc2e4\uc9c8\uc801\uc73c\ub85c BROS \uc778\ud130\ud398\uc774\uc2a4 \ucf54\ub4dc \uc0dd\uc131\uae30\uc640 Constraint\uc5d0 \ub300\ud55c \uac04\ub2e8\ud55c \uad6c\ud604\uc791\uc5c5(\uc790\ub9ac\uc218 \uac80\uc0ac, \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 \uac80\uc0ac, \ubc94\uc704 \uac80\uc0ac \ub4f1)\ub9cc\uc774 \ub0a8\uc544 \uc788\uc744 \ubfd0\uc774\ub2e4. \ud37c\ud3ec\uba3c\uc2a4 \uba74\uc5d0\uc11c tradeoff\uac00 \uc788\uc9c0\ub9cc \uc790\uc138\ud55c \uac83\uc740 \ud504\ub85c\ud30c\uc77c\ub9c1\uc744 \ud1b5\ud574\uc11c \uc54c\uc544\ubcf4\uc544\uc57c \ud560 \uac83 \uac19\ub2e4. <\/p>\n

\uc5ed\uc2dc \ubc1c\ub4f1\uc5d0 \ubd88\uc774 \ub5a8\uc5b4\uc9c0\ub2c8 \uacb0\uacfc\uac00 \ube68\ub9ac \ub098\uc624\ub294\uad6c\ub098… \u3161\u3161;<\/p>\n","protected":false},"excerpt":{"rendered":"

\uc624\ub298\uc740 BROS \ud504\ub85c\uc81d\ud2b8\ub97c \uc218\ud589\ud588\ub2e4. A Bean that Remembers Old State. JavaBean \uc758 \ud2b9\uc9d5\uc744 \ubaa8\ub450 \uc720\uc9c0\ud558\uba74\uc11c setXXX()\uac00 \uc218\ud589\ub420 \ub54c \uc8fc\uc5b4\uc9c4 \uc81c\uc57d \uc870\uac74\uc744 \uac80\uc0ac\ud558\uace0, commit\/rollback \uba54\ucee4\ub2c8\uc998\uc744 \uc801\uc6a9\ud568\uc73c\ub85c\uc368 \uc77d\uae30 \uc804\uc6a9 \ud504\ub85c\ud37c\ud2f0\uc758 setXXX() \uba54\uc11c\ub4dc\ub97c private\ub85c \ub450\uc9c0 \uc54a\uac8c \ub418\uc5c8\ub2e4. \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\uc758 \ubcc0\uacbd\uce58\ub294 commit\uc774 \uc218\ud589\ub420 \ub54c \uae4c\uc9c0 \uc784\uc2dc \ubcc0\uc218\uc5d0 \uc800\uc7a5\ub418\uba70, commit\uc774 \uc218\ud589\ub418\ub294 \uc21c\uac04 \uc2e4\uc81c \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce58\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\ub2e4. BROS \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c commit()\uc740… 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":"B.R.O.S — 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\/2039\/b-r-o-s\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"B.R.O.S — T's message of the day\" \/>\n<meta property=\"og:description\" content=\"\uc624\ub298\uc740 BROS \ud504\ub85c\uc81d\ud2b8\ub97c \uc218\ud589\ud588\ub2e4. A Bean that Remembers Old State. JavaBean \uc758 \ud2b9\uc9d5\uc744 \ubaa8\ub450 \uc720\uc9c0\ud558\uba74\uc11c setXXX()\uac00 \uc218\ud589\ub420 \ub54c \uc8fc\uc5b4\uc9c4 \uc81c\uc57d \uc870\uac74\uc744 \uac80\uc0ac\ud558\uace0, commit\/rollback \uba54\ucee4\ub2c8\uc998\uc744 \uc801\uc6a9\ud568\uc73c\ub85c\uc368 \uc77d\uae30 \uc804\uc6a9 \ud504\ub85c\ud37c\ud2f0\uc758 setXXX() \uba54\uc11c\ub4dc\ub97c private\ub85c \ub450\uc9c0 \uc54a\uac8c \ub418\uc5c8\ub2e4. \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\uc758 \ubcc0\uacbd\uce58\ub294 commit\uc774 \uc218\ud589\ub420 \ub54c \uae4c\uc9c0 \uc784\uc2dc \ubcc0\uc218\uc5d0 \uc800\uc7a5\ub418\uba70, commit\uc774 \uc218\ud589\ub418\ub294 \uc21c\uac04 \uc2e4\uc81c \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce58\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\ub2e4. BROS \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c commit()\uc740... Continue reading →\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\" \/>\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=\"2001-08-29T01:54:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T16:58:04+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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\"},\"author\":{\"name\":\"Trustin Lee\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"headline\":\"B.R.O.S\",\"datePublished\":\"2001-08-29T01:54:00+00:00\",\"dateModified\":\"2022-12-27T16:58:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\"},\"wordCount\":30,\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\",\"name\":\"B.R.O.S — T's message of the day\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\"},\"datePublished\":\"2001-08-29T01:54:00+00:00\",\"dateModified\":\"2022-12-27T16:58:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vault.motd.kr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"B.R.O.S\"}]},{\"@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":"B.R.O.S — 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\/2039\/b-r-o-s\/","og_locale":"en_US","og_type":"article","og_title":"B.R.O.S — T's message of the day","og_description":"\uc624\ub298\uc740 BROS \ud504\ub85c\uc81d\ud2b8\ub97c \uc218\ud589\ud588\ub2e4. A Bean that Remembers Old State. JavaBean \uc758 \ud2b9\uc9d5\uc744 \ubaa8\ub450 \uc720\uc9c0\ud558\uba74\uc11c setXXX()\uac00 \uc218\ud589\ub420 \ub54c \uc8fc\uc5b4\uc9c4 \uc81c\uc57d \uc870\uac74\uc744 \uac80\uc0ac\ud558\uace0, commit\/rollback \uba54\ucee4\ub2c8\uc998\uc744 \uc801\uc6a9\ud568\uc73c\ub85c\uc368 \uc77d\uae30 \uc804\uc6a9 \ud504\ub85c\ud37c\ud2f0\uc758 setXXX() \uba54\uc11c\ub4dc\ub97c private\ub85c \ub450\uc9c0 \uc54a\uac8c \ub418\uc5c8\ub2e4. \ubaa8\ub4e0 \ud504\ub85c\ud37c\ud2f0\uc758 \ubcc0\uacbd\uce58\ub294 commit\uc774 \uc218\ud589\ub420 \ub54c \uae4c\uc9c0 \uc784\uc2dc \ubcc0\uc218\uc5d0 \uc800\uc7a5\ub418\uba70, commit\uc774 \uc218\ud589\ub418\ub294 \uc21c\uac04 \uc2e4\uc81c \ud504\ub85c\ud37c\ud2f0\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce58\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\ub2e4. BROS \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c commit()\uc740... Continue reading →","og_url":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/","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":"2001-08-29T01:54:00+00:00","article_modified_time":"2022-12-27T16:58:04+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"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#article","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/"},"author":{"name":"Trustin Lee","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"headline":"B.R.O.S","datePublished":"2001-08-29T01:54:00+00:00","dateModified":"2022-12-27T16:58:04+00:00","mainEntityOfPage":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/"},"wordCount":30,"publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/","url":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/","name":"B.R.O.S — T's message of the day","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#website"},"datePublished":"2001-08-29T01:54:00+00:00","dateModified":"2022-12-27T16:58:04+00:00","breadcrumb":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/2039\/b-r-o-s\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vault.motd.kr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"B.R.O.S"}]},{"@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\/2039"}],"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=2039"}],"version-history":[{"count":1,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/2039\/revisions"}],"predecessor-version":[{"id":6414,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/2039\/revisions\/6414"}],"wp:attachment":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=2039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=2039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=2039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}