<?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>Nliu4773&#039;s Blog</title>
	<atom:link href="http://nliu4773.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nliu4773.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 26 Oct 2009 03:09:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nliu4773.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nliu4773&#039;s Blog</title>
		<link>http://nliu4773.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nliu4773.wordpress.com/osd.xml" title="Nliu4773&#039;s Blog" />
	<atom:link rel='hub' href='http://nliu4773.wordpress.com/?pushpress=hub'/>
		<item>
		<title>week12</title>
		<link>http://nliu4773.wordpress.com/2009/10/15/week12/</link>
		<comments>http://nliu4773.wordpress.com/2009/10/15/week12/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 14:51:20 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=32</guid>
		<description><![CDATA[Meet with the group member , try to integrate our ppts and decide on the topics we are going to talk in the presentation, decide the order of talk finalize the enrollment application , fix a bug : student selected units  wont be removed from the available unit list Test the application under all kinds [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=32&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Meet with the group member , try to integrate our ppts and decide on the topics we are going to talk in the presentation, decide the order of talk</p>
<p>finalize the enrollment application , fix a bug : student selected units  wont be removed from the available unit list</p>
<p>Test the application under all kinds of situations to make sure it won&#8217;t crush during the presentation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=32&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/10/15/week12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week11</title>
		<link>http://nliu4773.wordpress.com/2009/10/06/week11/</link>
		<comments>http://nliu4773.wordpress.com/2009/10/06/week11/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 12:49:52 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=30</guid>
		<description><![CDATA[Try to add some css to the application to make it look better ,  but the lecture told me that i should reuse the sakai css to make the application has the same look and feel with sakai , after some check on the internet ,  find the sakai_tool_skin.doc  sakai_portal_skin.doc file which tells you how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=30&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Try to add some css to the application to make it look better ,  but the lecture told me that i should reuse the sakai css to make the application has the same look and feel with sakai , after some check on the internet ,  find the sakai_tool_skin.doc  sakai_portal_skin.doc file which tells you how to reuse and customize sakai css ,  use some of the css classes in my application  for e.g portletBody css class to resize the main frame ,  navIntraTool for the navigation bar</p>
<p>prepare some PPT files for final presentation and made some screenshots in case that the application wont work during the presentation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=30&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/10/06/week11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week10</title>
		<link>http://nliu4773.wordpress.com/2009/09/28/week10/</link>
		<comments>http://nliu4773.wordpress.com/2009/09/28/week10/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:31:38 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=25</guid>
		<description><![CDATA[trying to migrate the spring application to sakai first try to use the Converting Spring MVC applications to Sakai tutorial in the course main page , but the tutorial is not in detail and hard to follow , tried many times and it always give the class version not comparable mistake , later find out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=25&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>trying to migrate the spring application to sakai</p>
<p>first try to use the Converting Spring MVC applications to Sakai tutorial in the course main page , but the tutorial is not in detail and hard to follow , tried many times and it always give the class version not comparable mistake , later find out that it&#8217;s because sakai is using spring2.0.6 and the spring  i used for development is 2.5</p>
<p>the final method i used to convert spring application to sakai is to create a simple helloworld program using sakai appbuilder , then gradually add functions and dependencies , if error happens look at the tomcat log for information then try to fix it , most of the time it&#8217;s dependency missing or dependent JAR version not compatible mistake.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=25&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/09/28/week10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week9</title>
		<link>http://nliu4773.wordpress.com/2009/09/23/week9/</link>
		<comments>http://nliu4773.wordpress.com/2009/09/23/week9/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 13:23:26 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=22</guid>
		<description><![CDATA[install sakai , engage a lot of problems first try to follow the video tutorials and it&#8217;s not working , read through the sakai development enviroment walk through tutorial and find that a lot of steps are missing .after 2 days of check and fix finally got sakai installed in tomcat some points need special [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=22&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>install sakai , engage a lot of problems</p>
<p>first try to follow the video tutorials and it&#8217;s not working , read through the sakai development enviroment walk through tutorial and find that a lot of steps are missing .after 2 days of check and fix finally got sakai installed in tomcat</p>
<p>some points need special attention when installing sakai</p>
<p>1, the sakai version and tomcat version has to be compatible</p>
<p>2, need to change the setting in sakai.properties to use mysql database setting , also need to create the sakai user account in mysql and grant all privige</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=22&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/09/23/week9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week8</title>
		<link>http://nliu4773.wordpress.com/2009/09/16/week8/</link>
		<comments>http://nliu4773.wordpress.com/2009/09/16/week8/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 12:15:15 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=20</guid>
		<description><![CDATA[implemented most of the critical functions of the enrollment system : chose student major , list major core units , select unit ,  list student selected units encounter some problems like trying to operate on persistence class after session closed. After some check on the internet find that the problem is that  getHibernateTemplate().load() will close [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=20&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>implemented most of the critical functions of the enrollment system : chose student major , list major core units , select unit ,  list student selected units</p>
<p>encounter some problems like trying to operate on persistence class after session closed. After some check on the internet find that the problem is that  getHibernateTemplate().load() will close session after 1 conversion with the database , if we want to operate on the persistence class , we have to manually get the session and open/close tranction.</p>
<p>Also have a lazy initialiation problem , find 2 solutions</p>
<p>1, set lazy=&#8221;false&#8221;</p>
<p>2, explicitly initialize the associated persistence classes before load them</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=20&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/09/16/week8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>WEEK7</title>
		<link>http://nliu4773.wordpress.com/2009/09/07/week7/</link>
		<comments>http://nliu4773.wordpress.com/2009/09/07/week7/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 11:43:22 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=11</guid>
		<description><![CDATA[PROJECT PROGRESS finish all preparation works ( spring ,hibernate ,maven tutorial) start to develop the enrollment system chose MyEclipse as the IDE since it has a nice feature of hibernate reverse engnie which automaticly generate all the mapping file files for you , so you dont have to write the same thing again and again [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=11&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PROJECT PROGRESS</p>
<p>finish all preparation works ( spring ,hibernate ,maven tutorial)</p>
<p>start to develop the enrollment system</p>
<p>chose MyEclipse as the IDE since it has a nice feature of hibernate reverse engnie which automaticly generate all the mapping file files for you , so you dont have to write the same thing again and again</p>
<p>give peer-review to team member charis javis , suggest him to include more project implementation plan in his proposal</p>
<p>prepare for the mid-term exam , read the essays about frameworks , design patterns .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=11&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/09/07/week7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>WEEK6</title>
		<link>http://nliu4773.wordpress.com/2009/08/30/week6/</link>
		<comments>http://nliu4773.wordpress.com/2009/08/30/week6/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 01:37:29 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=8</guid>
		<description><![CDATA[LEARNING SUMMARY Start learning maven, summarized some main features of the maven 1, how does maven differs from tradition build tools Maven uses project description information (pom.xml) to manage project build, test and report Maven provides a convenient way of publish project information and share JAR among project. Thus enables manage different version of source [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=8&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>LEARNING SUMMARY</p>
<p>Start learning maven, summarized some main features of the maven</p>
<p>1, how does maven differs from tradition build tools</p>
<p>Maven uses project description information (pom.xml) to manage project build, test and report</p>
<p>Maven provides a convenient way of publish project information and share JAR among project.</p>
<p>Thus enables manage different version of source code write by different person.</p>
<p>Maven is more than a build tool，it is a standard way to think about project layout and management</p>
<p>Maven project has a standard directory structure</p>
<p>Maven plugin is a set of similar goals</p>
<p>After running mvn install , a series of goals will be executed until the project lifecycle finished , during this project lifecycle maven has done a lot of work like compile, download decency, create JAR.</p>
<p>2, POM.XML : metadata tells maven about the project , some important fields</p>
<p>&lt;artifactid&gt; the id of the project output</p>
<p>&lt;dependency&gt; specify the JAR artifacts project depend on</p>
<p>&lt;repository&gt; associate the project with a source code repository for maven source code control (SCM) to use.</p>
<p>&lt;sourceDirectory&gt; specify the location of project source code</p>
<p>&lt;resource&gt; specify the configuration files to be copied in JAR ( .property .xml configuration files)</p>
<p>3, how to create a maven web app project</p>
<p>Use maven archetype plug in to specify web app project archetype and specify the arificateid, groupid.</p>
<pre>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp

write java source code in src/main/resources folder
write web configuration files in src/main/webapp/web-inf folders

PROJECT PROGRESS</pre>
<p>Try to Migrating the ant project created in spring tutorial to maven</p>
<p>Encounter a problem that maven can’t download the dependent artifacts from centre repository,</p>
<p>Read through the maven developer’s notebook again and find out that I need to set a proxy for maven. Add the entry &lt;proxy&gt;…&lt;/proxy&gt; entry in the settings.xml file in .m2 folder then problem resolved.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=8&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/08/30/week6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week5</title>
		<link>http://nliu4773.wordpress.com/2009/08/25/week5/</link>
		<comments>http://nliu4773.wordpress.com/2009/08/25/week5/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 01:35:20 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=6</guid>
		<description><![CDATA[LEARNING SUMMARY Start learning hibernate framework, summarized some main features of the hibernate framework 1, reason for object/relational mapping Relational Database use relational model and Application use object oriented model, so when we need to use data source from database in application there would be a structure mismatch, that’s why we need to use object/relational [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=6&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>LEARNING SUMMARY</p>
<p>Start learning hibernate framework, summarized some main features of the hibernate framework</p>
<p>1, reason for object/relational mapping</p>
<p>Relational Database use relational model and Application use object oriented model, so when we need to use data source from database in application there would be a structure mismatch, that’s why we need to use object/relational mapping.</p>
<p>2, Data Source Architectural Pattern</p>
<p>Four patterns: Table data gateway, row data gateway, active recorder, data map per.</p>
<p>Hibernate is aiming to do data map per where a layer of software that separates the in-memory objects from the database.</p>
<p>So that we can operate on persistence class objects to perform database operations instead of using sql</p>
<p>3, how to use hibernate to do ORM</p>
<p>l         POJO class as persistence class , one instance of the class represent one row in the table</p>
<p>l         Mapping file (.hbm.xml) to specify class/table mapping (class field to table column mapping ), specify the primary key generate strategy , specify table association mapping (&lt;set&gt;…&lt;one-to-many&gt; &lt;/set&gt; )</p>
<p>l         Configure the database hibernate.cfg.xml ( database connection setting , mapping resource , session context management )</p>
<p>PROJECT PROGRESS</p>
<p>Integrate the spring application with hibernate ,</p>
<p>Modify the individual proposal, according to the tutor’s feedback; add some background information about why we need an improved enrollment system.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=6&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/08/25/week5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week4</title>
		<link>http://nliu4773.wordpress.com/2009/08/19/week4/</link>
		<comments>http://nliu4773.wordpress.com/2009/08/19/week4/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 03:31:50 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/2009/10/26/week3/</guid>
		<description><![CDATA[PROJECT PROGRESS Draw the domain class diagrams for enrollment system design , design the database , six tables ( STUDENT , STUDENTUNIT , UNIT , STUDENTMAJOR , MAJOR ,  MAJORUNIT ) Trying out hibernate in a traditional MVC, successfully load the student information from the database and displayed on a jsp page. Link to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=5&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PROJECT PROGRESS</p>
<p>Draw the domain class diagrams for enrollment system design , design the database , six tables ( STUDENT , STUDENTUNIT , UNIT , STUDENTMAJOR , MAJOR ,  MAJORUNIT )</p>
<p>Trying out hibernate in a traditional MVC, successfully load the student information from the database and displayed on a jsp page.</p>
<p>Link to the domain class diagram (UML diagram in the bottom)</p>
<p>http://docs.google.com/Doc?docid=0ATsvVMY7q6uRZHRrcWdic18zZm1mdzZ4ZHI&amp;hl=en</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=5&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/08/19/week4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
		<item>
		<title>week3</title>
		<link>http://nliu4773.wordpress.com/2009/08/12/week3/</link>
		<comments>http://nliu4773.wordpress.com/2009/08/12/week3/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 11:40:00 +0000</pubDate>
		<dc:creator>nliu4773</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nliu4773.wordpress.com/?p=3</guid>
		<description><![CDATA[LEARNING SUMMARY Start learning the spring framework, summarized some main features of the spring framework 1, dependency injection When a class A is depend on another class B, instead of instantiate B inside A , put the dependence relationship in a configuration file to let the container know , later when we instantiate A , [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=3&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>LEARNING SUMMARY</p>
<p>Start learning the spring framework, summarized some main features of the spring framework</p>
<p>1, dependency injection</p>
<p>When a class A is depend on another class B, instead of instantiate B inside A , put the dependence relationship in a configuration file to let the container know , later when we instantiate A , the container will automatic inject an instance of B.</p>
<p>The advantage of dependence injection is that class A doesn’t know the existence of class B , it only uses class B’s interface and class B’s interface is implemented via B’s implementation class which injected automatically by the container. This has greatly reduced the coupling between classes. And with lower coupling modification of a class won’t affect too many other classes, which makes software extensibility possible.</p>
<p>2, improved MVC</p>
<p>Spring framework adds a dispatcher controller since the traditional controller is doing too much work. It has to handle the request and call the models to perform business logic then forward the result to view. In Spring framework the dispatcher controller is only responsible for request handling and leave the interact with model and view to the page controller. This kind of separation of concern guarantees high cohesion where each software <a title="Module (programming)" href="http://en.wikipedia.org/wiki/Module_%28programming%29"></a>module only focuses on its own responsibilities.</p>
<p>The view revolver maps the logic name of the view to the actual view object to fulfill the same purpose (high cohesion).</p>
<p>PROJECT PROGRESS</p>
<p>Meeting with the group members, decide that our group’s project theme will be an improved e-learning system. And I will be responsible for developing the enrollment subsystem. Look up some drawbacks of the existing enrollment system of Sydney university ( not user friendly , not integrated with handbook instruction , no credit point calculator , not associated with student major ) and proposed some improvements.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nliu4773.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nliu4773.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nliu4773.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nliu4773.wordpress.com&amp;blog=10103795&amp;post=3&amp;subd=nliu4773&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nliu4773.wordpress.com/2009/08/12/week3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/196bac27fc396c4606386e75904c72a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nliu4773</media:title>
		</media:content>
	</item>
	</channel>
</rss>
