<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Beauty of Challenge</title>
	<atom:link href="http://chanwook.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chanwook.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 27 Dec 2007 04:23:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chanwook.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/06fada58325a7805c8315bc52d5dc664?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Beauty of Challenge</title>
		<link>http://chanwook.wordpress.com</link>
	</image>
			<item>
		<title>Spring MVC Sample base on Spring 2.5 Annotation</title>
		<link>http://chanwook.wordpress.com/2007/12/27/spring-mvc-sample-base-on-spring-25-annotation/</link>
		<comments>http://chanwook.wordpress.com/2007/12/27/spring-mvc-sample-base-on-spring-25-annotation/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 04:20:53 +0000</pubDate>
		<dc:creator>chanwook</dc:creator>
				<category><![CDATA[Spring]]></category>
		<category><![CDATA[Spring MVC 2.5 Annotation Sample]]></category>

		<guid isPermaLink="false">http://chanwook.wordpress.com/2007/12/27/spring-mvc-sample-base-on-spring-25-annotation/</guid>
		<description><![CDATA[This sample is based on Spring 2.5 Annotation that using @Controller(and another MVC annotation),  @Repository, etc&#8230;
Yet now implemented few function, but I have plan to update in the future.
I wnat to be of help you!
Source : Go to Google Code
ps.  get source by svn
ps.  some text is korean
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=7&subd=chanwook&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This sample is based on Spring 2.5 Annotation that using @Controller(and another MVC annotation),  @Repository, etc&#8230;</p>
<p>Yet now implemented few function, but I have plan to update in the future.</p>
<p>I wnat to be of help you!</p>
<p>Source : <a href="http://springtutorial.googlecode.com/svn/" title="Google Code">Go to Google Code</a></p>
<p>ps.  get source by svn</p>
<p>ps.  some text is korean</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chanwook.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chanwook.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanwook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanwook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanwook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanwook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanwook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanwook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanwook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanwook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanwook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanwook.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=7&subd=chanwook&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanwook.wordpress.com/2007/12/27/spring-mvc-sample-base-on-spring-25-annotation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/56cc71d4dab8118042bd2142e2ac2e13?s=96&#38;d=identicon" medium="image">
			<media:title type="html">chanwook</media:title>
		</media:content>
	</item>
		<item>
		<title>Must be required getter / setter method for hibernate&#8217;s Entity?</title>
		<link>http://chanwook.wordpress.com/2007/12/26/must-be-required-getter-setter-method-for-hibernates-entity/</link>
		<comments>http://chanwook.wordpress.com/2007/12/26/must-be-required-getter-setter-method-for-hibernates-entity/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 09:10:12 +0000</pubDate>
		<dc:creator>chanwook</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[Hibernate Entity Getter/Setter]]></category>

		<guid isPermaLink="false">http://chanwook.wordpress.com/2007/12/26/must-be-required-getter-setter-method-for-hibernates-entity/</guid>
		<description><![CDATA[No.
Hibernate must not require getter/setter method for Entity if using that field access type.
We possibly configure field access type
1. &#60;hibernate-mapping default-access=&#8221;field&#124;property&#124;ClassName&#8221; &#62;
2. &#60;property access=&#8221;field&#124;property&#124;ClassName&#8221; &#62;
3. @AccessType(&#8220;field&#124;property&#124;ClassName&#8221;)
If you using field access type, only can use field.
@Entity
@AccessType(&#8220;field&#8221;)
public class EntityExample {
@Id
private String id;
@ManyToOne
private AnotherEntity friend;
&#8230;
}
This time directly access to field by Reflection.
But consider from a  different standpoint [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=6&subd=chanwook&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>No.</p>
<p>Hibernate must not require getter/setter method for Entity if using that field access type.</p>
<p>We possibly configure field access type</p>
<p>1. &lt;hibernate-mapping default-access=&#8221;field|property|ClassName&#8221; &gt;</p>
<p>2. &lt;property access=&#8221;field|property|ClassName&#8221; &gt;</p>
<p>3. @AccessType(&#8220;field|property|ClassName&#8221;)</p>
<p>If you using field access type, only can use field.</p>
<p>@Entity<br />
@AccessType(&#8220;field&#8221;)<br />
public class EntityExample {</p>
<p>@Id<br />
private String id;</p>
<p>@ManyToOne<br />
private AnotherEntity friend;</p>
<p>&#8230;<br />
}</p>
<p>This time directly access to field by Reflection.</p>
<p>But consider from a  different standpoint that problem why using getter/setter?</p>
<p>It may be considered point of view that how use Entity object.</p>
<p>If Entity is (rich) domain object, may require getter and setter method.</p>
<p>But Entity is only used to data container(or DTO), may not require setter method.</p>
<p>We had remove misunderstanding to certainly require getter/setter method when using Hibernate!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chanwook.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chanwook.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanwook.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanwook.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanwook.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanwook.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanwook.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanwook.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanwook.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanwook.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanwook.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanwook.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=6&subd=chanwook&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanwook.wordpress.com/2007/12/26/must-be-required-getter-setter-method-for-hibernates-entity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/56cc71d4dab8118042bd2142e2ac2e13?s=96&#38;d=identicon" medium="image">
			<media:title type="html">chanwook</media:title>
		</media:content>
	</item>
		<item>
		<title>Is Domain Object need to declare to Spring bean?</title>
		<link>http://chanwook.wordpress.com/2007/11/25/is-domain-object-need-to-declare-to-spring-bean/</link>
		<comments>http://chanwook.wordpress.com/2007/11/25/is-domain-object-need-to-declare-to-spring-bean/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 16:21:31 +0000</pubDate>
		<dc:creator>chanwook</dc:creator>
				<category><![CDATA[DDD]]></category>
		<category><![CDATA[DDD Spring DomainObject DI]]></category>

		<guid isPermaLink="false">http://chanwook.wordpress.com/2007/11/25/is-domain-object-need-to-declare-to-spring-bean/</guid>
		<description><![CDATA[I got a problem when implement DDD with Spring. This problem is &#8220;Is Domain Object need to declare to Spring bean?&#8221;.
What do you think this problem?
In past, I&#8217;m thought that Domain Object is not absolutely declared Spring Bean.
But I&#8217;m confused that implement it example for DDD with Spring.
Because Domain Object had Data and Behavior(Business Logic), [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=5&subd=chanwook&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I got a problem when implement DDD with Spring. This problem is &#8220;Is Domain Object need to declare to Spring bean?&#8221;.</p>
<p>What do you think this problem?</p>
<p>In past, I&#8217;m thought that Domain Object is not absolutely declared Spring Bean.</p>
<p>But I&#8217;m confused that implement it example for DDD with Spring.</p>
<p>Because Domain Object had Data and Behavior(Business Logic), it is need to directly dependencies with other layer class(specific Repository or Infrastructure layer).</p>
<p><code><br />
class Board {<br />
private BoardRepository repository;<br />
public void insert() {<br />
repository.insert(this);<br />
}<br />
...<br />
}<br />
</code><br />
Once I progress toward declaration to Bean.</p>
<p>This is point of problem. If we use ORM as Hibernate, Domain Object take the responsibility of Entity and Spring&#8217;s Bean at a time.</p>
<p><code>@Entity<br />
@SequenceGenerator(name = "BoardId_Seq", sequenceName = "BoardId_Seq")<br />
class Board {<br />
...<br />
}<br />
</code><br />
Because creation of Domain Object is executed to inner ORM, need to additional code for DI.</p>
<p>For example,</p>
<p><code>class BoardServiceFacade ...{<br />
...<br />
public Long insertBoard(Board board) {<br />
Board boardBean = domainFactory.newBoard(board);<br />
boardBean.insert();<br />
return boardBean.getId();<br />
}<br />
}<br />
</code></p>
<p><code>class DomainFactory ...{<br />
public Board newBoard(Board board) {<br />
Board boardBean = newInitializedBoard(board);<br />
return boardBean;<br />
}<br />
}<br />
</code><br />
Work flow is next for persist to Board instance :</p>
<p>1. insertBoard method called with Board instance that is got Client(layer).<br />
2. domainFactory.newBoard() called with Board instance<br />
3. create new Spring&#8217;s Bean instance(this bean has prototype bean scope) with initialized(resolved?) dependencies.<br />
4. domain object&#8217;s value is copied to created Spring&#8217;s Bean from got instance from Client.<br />
finally, Board instance that Spring&#8217;s Bean do persist method(insert()).</p>
<p>Opps. very complexity..</p>
<p>This complexity is caused by declared to Spring&#8217;s Bean for Domain Object.</p>
<p>If Domain Object is not declared Spring&#8217;s Bean, it&#8217;s code is not necessity!</p>
<p>I found very elegance solution in this article.</p>
<p><a href="http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/beans/factory/annotation/Configurable.html">@Configuarble</a> is introduced Spring 2.0. This annotation is possibe to injection of dependenies only add it by container.<br />
<code><br />
@Configurable<br />
...<br />
class Board {<br />
private BoardRepository repository;<br />
public void insert() {<br />
repository.insert(this);<br />
}<br />
...<br />
}</code></p>
<p>very nice and very convenience.</p>
<p>reference article : <a href="https://www.dbguide.net/know/know102001.jsp?mode=view&amp;divcateno=9&amp;divcateno_=9&amp;pg=1&amp;idx=3229">Spring framework and DDD(Domain-Driven Design)</a> &#8211; for korean.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chanwook.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chanwook.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanwook.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanwook.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanwook.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanwook.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanwook.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanwook.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanwook.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanwook.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanwook.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanwook.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=5&subd=chanwook&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanwook.wordpress.com/2007/11/25/is-domain-object-need-to-declare-to-spring-bean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/56cc71d4dab8118042bd2142e2ac2e13?s=96&#38;d=identicon" medium="image">
			<media:title type="html">chanwook</media:title>
		</media:content>
	</item>
		<item>
		<title>I want to enter for Spring Experience 2008.</title>
		<link>http://chanwook.wordpress.com/2007/11/24/i-want-to-enter-for-spring-experience-2008/</link>
		<comments>http://chanwook.wordpress.com/2007/11/24/i-want-to-enter-for-spring-experience-2008/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 10:52:21 +0000</pubDate>
		<dc:creator>chanwook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Spring Experience]]></category>

		<guid isPermaLink="false">http://chanwook.wordpress.com/2007/11/24/i-want-to-enter-for-spring-experience-2008/</guid>
		<description><![CDATA[Spring Experience 2007 is held in Florida at December 12-15 .
Only One man is participating to this conference for the second straight year(or more years?^^)
I&#8217;m not went to abroad once, But I want to go to conference-Spring Experience 2008- at next year.
I&#8217;m anticipating cost that $2,700&#8230; and saving the money for participating conference from now.
I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=4&subd=chanwook&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.thespringexperience.com/conference/hollywood/2007/12/index.html">Spring Experience 2007</a> is held in Florida at December 12-15 .</p>
<p>Only <a href="http://toby.epril.com/">One man</a> is participating to this conference for the second straight year(or more years?^^)</p>
<p>I&#8217;m not went to abroad once, But I want to go to conference-Spring Experience 2008- at next year.</p>
<p>I&#8217;m anticipating cost that $2,700&#8230; and saving the money for participating conference from now.</p>
<p>I must participating conference for learn  their passion!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chanwook.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chanwook.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chanwook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chanwook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chanwook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chanwook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chanwook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chanwook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chanwook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chanwook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chanwook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chanwook.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chanwook.wordpress.com&blog=2191185&post=4&subd=chanwook&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chanwook.wordpress.com/2007/11/24/i-want-to-enter-for-spring-experience-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/56cc71d4dab8118042bd2142e2ac2e13?s=96&#38;d=identicon" medium="image">
			<media:title type="html">chanwook</media:title>
		</media:content>
	</item>
	</channel>
</rss>