<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-52520753189003150</id><updated>2024-03-19T13:45:16.288-07:00</updated><category term="C++ / Qt"/><category term="Java"/><category term="Random"/><category term="Xubuntu"/><category term="Spring"/><category term="SpringData"/><category term="Spring MVC"/><category term="Ubuntu 11.10"/><category term="Authentication"/><category term="Linux"/><category term="MongoDB"/><category term="Oneiric"/><category term="Ubuntu"/><category term="Unity"/><category term="gnome 3.2"/><category term="gnome shell"/><category term="install."/><category term="iso"/><category term="jQuery"/><category term="jdk 1.7.0"/><category term="jsp"/><category term="mount"/><category term="node.js"/><title type='text'>Love, hold, and protect your PDBs.</title><subtitle type='html'>Accept certain inalienable truths</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-3745072862234691606</id><published>2014-08-11T11:33:00.003-07:00</published><updated>2014-09-21T11:27:39.101-07:00</updated><title type='text'>hybris links</title><content type='html'>Bye!&lt;br /&gt;
&lt;br /&gt;
Create a component:&lt;br /&gt;
https://wiki.hybris.com/display/release4/B2B+Customization+of+WCMS+Module+Elements&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create template page&lt;br /&gt;
https://wiki.hybris.com/display/accdoc/How+To+Add+a+New+CMS+Page+Template+-+Tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
i need this:&lt;br /&gt;
http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/3745072862234691606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2014/08/hybris-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3745072862234691606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3745072862234691606'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2014/08/hybris-links.html' title='hybris links'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4188533969032345258</id><published>2014-05-06T04:31:00.003-07:00</published><updated>2014-05-06T04:32:52.489-07:00</updated><title type='text'>Memory dump</title><content type='html'>./jmap -heap:format=b pid&lt;br /&gt;
&lt;br /&gt;
will create a heap.bin file. May be analysed using &amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;jvisualvm.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4188533969032345258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2014/05/memory-dump.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4188533969032345258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4188533969032345258'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2014/05/memory-dump.html' title='Memory dump'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4476039427771800681</id><published>2013-10-29T01:40:00.000-07:00</published><updated>2013-10-29T01:40:06.062-07:00</updated><title type='text'>copy all files of type in one place</title><content type='html'>find ../liferay/ -name *.war -print0 | xargs -0 cp -t .</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4476039427771800681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2013/10/copy-all-files-of-type-in-one-place.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4476039427771800681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4476039427771800681'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2013/10/copy-all-files-of-type-in-one-place.html' title='copy all files of type in one place'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-2513852695601909697</id><published>2013-09-13T08:47:00.001-07:00</published><updated>2013-09-13T08:47:24.069-07:00</updated><title type='text'>liferay 2</title><content type='html'>I know.. i know i didn&#39;t write for a long time.. but i was muddling some liferay &amp;nbsp;.. and i had i thought...&lt;br /&gt;
&lt;br /&gt;
What&#39;s good about ext-plugins?&lt;br /&gt;
you can have only one....</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/2513852695601909697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2013/09/liferay-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/2513852695601909697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/2513852695601909697'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2013/09/liferay-2.html' title='liferay 2'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-681316876231219030</id><published>2012-10-05T12:23:00.002-07:00</published><updated>2012-10-26T01:49:15.076-07:00</updated><title type='text'>liferay</title><content type='html'>may be usefull ( best practice ) : &lt;a href=&quot;http://blog.orange11.nl/2012/05/03/liferay-sdk-development-best-practices/&quot;&gt;http://blog.orange11.nl/2012/05/03/liferay-sdk-development-best-practices/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
looks more usefull&lt;br /&gt;
&lt;a href=&quot;http://www.liferay.com/community/wiki/-/wiki/Main/Optimal+Liferay+Core+Development+with+IntelliJ&quot;&gt;http://www.liferay.com/community/wiki/-/wiki/Main/Optimal+Liferay+Core+Development+with+IntelliJ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
it works :)&lt;br /&gt;
&lt;a href=&quot;http://www.liferay.com/web/mika.koivisto/blog/-/blogs/12322618&quot;&gt;http://www.liferay.com/web/mika.koivisto/blog/-/blogs/12322618&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
start tomcat for remote debut:&amp;nbsp;&amp;nbsp; catalina.sh jpda run&lt;br /&gt;
&lt;br /&gt;
vpn client for linux: http://www.linuxplanet.com/linuxplanet/tutorials/7271/1&lt;br /&gt;
&lt;br /&gt;
from ppk to key for ssh: http://thanosk.net/content/conver-putty-ppk-key-ssh-key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create a sftp user &lt;a href=&quot;http://solderintheveins.co.uk/2011/03/ubuntu-sftp-only-account-how-to/&quot; target=&quot;_blank&quot;&gt;http://solderintheveins.co.uk/2011/03/ubuntu-sftp-only-account-how-to/&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://archive.networknewz.com/networknewz-10-20030707AuthenticatingbyPublicKeyOpenSSH.html&quot;&gt;http://archive.networknewz.com/networknewz-10-20030707AuthenticatingbyPublicKeyOpenSSH.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create private/public keys &lt;a href=&quot;http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/&quot; target=&quot;_blank&quot;&gt;http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/&amp;nbsp;&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/681316876231219030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/10/liferay.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/681316876231219030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/681316876231219030'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/10/liferay.html' title='liferay'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4690920258533511702</id><published>2012-08-20T04:03:00.000-07:00</published><updated>2012-12-06T07:00:04.250-08:00</updated><title type='text'>tomcat6 java.lang.OutOfMemoryError: PermGen space</title><content type='html'>&lt;h2 style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
These params must be updated to these values:&lt;/h2&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&amp;nbsp;-XX:PermSize=256m&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&amp;nbsp;-XX:MaxPermSize=256m&amp;nbsp;&lt;/div&gt;
&lt;h4 style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&amp;nbsp;&lt;/h4&gt;
&lt;h2 style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
Where can i can add these params?&amp;nbsp;&lt;/h2&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
/etc/tomcat6.config&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
There is a line called &lt;b&gt;JAVA_OPTIONS&lt;/b&gt;. Add the new params before the closing &quot;.&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&amp;nbsp;Using only PermSize it should look like this:&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;JAVA_OPTS=&quot;${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -XX:PermSize=256m&quot;&lt;/span&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;netstat -tulpn | grep port&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;ps pid&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;kill pid&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;tomcat as a service:&amp;nbsp; /etc/init.d/tomcat6 stop&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;b&gt;tar -zcvf archive-name.tar.gz directory-name&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp;tar xvf /data/package.tar /usr&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&lt;location foo=&quot;foo&quot;&gt;
  ProxyPass ajp://localhost:8009/foo
  ProxyPassReverse ajp://localhost:8009/foo
&lt;/location&gt;
&lt;/code&gt;&lt;/pre&gt;
And then in your server.xml:&lt;br /&gt;


&lt;pre&gt;&lt;code&gt;&lt;connector enablelookups=&quot;false&quot; port=&quot;8009&quot; protocol=&quot;AJP/1.3&quot; secure=&quot;true&quot; tomcatauthentication=&quot;false&quot; uriencoding=&quot;UTF-8&quot;&gt;
&lt;/connector&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4690920258533511702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/08/tomcat6-javalangoutofmemoryerror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4690920258533511702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4690920258533511702'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/08/tomcat6-javalangoutofmemoryerror.html' title='tomcat6 java.lang.OutOfMemoryError: PermGen space'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-6585737132017376339</id><published>2012-07-16T11:36:00.002-07:00</published><updated>2012-07-16T11:39:41.132-07:00</updated><title type='text'>XFCE ( 4.10 XUbuntu / Mint 13 XFCE ) Maximize window by Double clicking title bar</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-gAxQ8ZpDMcPOEcnvfiwqZlKygyCT-g4CWUMxbNTu1PSOUAPnKmwtO9HXS6HRrq3Idqqgpz9rbjmvyibgKeb52U8yKvGyU_o24zj7B4T2_WDZDCG0nIQwpvyOb-WN2yKFraRqcgkG7hg/s1600/150px-Xfce_logo.svg.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-gAxQ8ZpDMcPOEcnvfiwqZlKygyCT-g4CWUMxbNTu1PSOUAPnKmwtO9HXS6HRrq3Idqqgpz9rbjmvyibgKeb52U8yKvGyU_o24zj7B4T2_WDZDCG0nIQwpvyOb-WN2yKFraRqcgkG7hg/s1600/150px-Xfce_logo.svg.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
I found this &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/393672&quot; target=&quot;_blank&quot;&gt;bug&lt;/a&gt; report which looks like fixed:&lt;br /&gt;
- [xfce]Double click title bar actions use different speed than text selection&lt;br /&gt;
&lt;br /&gt;
Anyway, on my configuration, i have a cheap , no brand, &quot;laser mouse&quot;, this is not working.&lt;br /&gt;
&lt;br /&gt;
I found in the bug comments these instructions which worked for me:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
XFCEMenu -&amp;gt; Setting -&amp;gt; Settings Editor&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;xfwm4 -&amp;gt; general&lt;/span&gt;&lt;/div&gt;
&lt;div id=&quot;yui_3_2_0_1_1342461497003527&quot; style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
double_click_time = 400&amp;nbsp;&lt;/div&gt;
&lt;div id=&quot;yui_3_2_0_1_1342461497003527&quot; style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
xsettings -&amp;gt; Net&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Ubuntu Mono&#39;, monospace; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; max-width: 45em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: auto;&quot;&gt;
DoubleClickTime = 400&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/6585737132017376339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/07/xfce-410-xubuntu-mint-13-xfce-maximize.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6585737132017376339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6585737132017376339'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/07/xfce-410-xubuntu-mint-13-xfce-maximize.html' title='XFCE ( 4.10 XUbuntu / Mint 13 XFCE ) Maximize window by Double clicking title bar'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-gAxQ8ZpDMcPOEcnvfiwqZlKygyCT-g4CWUMxbNTu1PSOUAPnKmwtO9HXS6HRrq3Idqqgpz9rbjmvyibgKeb52U8yKvGyU_o24zj7B4T2_WDZDCG0nIQwpvyOb-WN2yKFraRqcgkG7hg/s72-c/150px-Xfce_logo.svg.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-8651318944450836459</id><published>2012-03-14T13:56:00.001-07:00</published><updated>2012-07-10T05:24:58.389-07:00</updated><title type='text'>Effective Java</title><content type='html'>http://www.youtube.com/watch?v=V1vQf4qyMXg&lt;br /&gt;
&lt;br /&gt;
http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/test/util/ReflectionTestUtils.html&lt;br /&gt;
&lt;br /&gt;
It&#39;s nice to use with Junit. It helps to set private members.</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/8651318944450836459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/03/effective-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/8651318944450836459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/8651318944450836459'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/03/effective-java.html' title='Effective Java'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-6164697553190068201</id><published>2012-03-07T00:03:00.001-08:00</published><updated>2012-03-08T00:05:13.222-08:00</updated><title type='text'>RESTful controllers and error handling and validation</title><content type='html'>I found this info about the error handling in restful controllers&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.cuttleworks.com/2011/12/spring-restful-controllers-and-error-handling/&quot;&gt;http://blog.cuttleworks.com/2011/12/spring-restful-controllers-and-error-handling/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.zenika.com/index.php?post/2011/05/18/Error-handling-with-REST&quot;&gt;http://blog.zenika.com/index.php?post/2011/05/18/Error-handling-with-REST&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/&quot;&gt;http://blog.goyello.com/2011/12/16/enhancements-spring-mvc31/&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
first link is about changing the model and view to a JSON model and view.&lt;br /&gt;
But do not implement AnnotatedExceptionResolver as it will conflict with @Valid.&lt;br /&gt;
It&#39;s working without it anyway. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mainly on controller can be added annotated methods which can return the http error code and some other useful info about the error.&lt;br /&gt;
&lt;br /&gt;
ex:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre class=&quot;java code java&quot; style=&quot;font-family: inherit;&quot;&gt;@ExceptionHandler&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;EmptyResultDataAccessException.&lt;span style=&quot;color: #7f0055; font-weight: bold;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;
@ResponseStatus&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;value=HttpStatus.&lt;span style=&quot;color: black;&quot;&gt;NOT_FOUND&lt;/span&gt;,reason=&lt;span style=&quot;color: #888888;&quot;&gt;&quot;Contact not found&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #7f0055; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #7f0055; font-weight: bold;&quot;&gt;void&lt;/span&gt; notFound&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/6164697553190068201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/03/restful-controllers-and-error-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6164697553190068201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6164697553190068201'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/03/restful-controllers-and-error-handling.html' title='RESTful controllers and error handling and validation'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-7752246376414621976</id><published>2012-02-09T01:40:00.000-08:00</published><updated>2012-02-09T01:40:25.074-08:00</updated><title type='text'>how to install a .rpm on ubuntu</title><content type='html'>&lt;ol&gt;
&lt;li&gt;sudo apt-get install alien dpkg-dev debhelper build-essential&lt;/li&gt;
&lt;li&gt;sudo alien packagename.rpm&lt;/li&gt;
&lt;li&gt; sudo dpkg -i packagename.deb&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
source: &lt;a href=&quot;http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/&quot; target=&quot;_blank&quot;&gt;howtogeek.com &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/7752246376414621976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2012/02/how-to-install-rpm-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/7752246376414621976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/7752246376414621976'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2012/02/how-to-install-rpm-on-ubuntu.html' title='how to install a .rpm on ubuntu'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4033053323820361051</id><published>2011-12-28T13:08:00.000-08:00</published><updated>2011-12-28T13:08:16.909-08:00</updated><title type='text'>Linux, add user to group</title><content type='html'>usermod -G groupname username</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4033053323820361051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/12/linux-add-user-to-group.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4033053323820361051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4033053323820361051'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/12/linux-add-user-to-group.html' title='Linux, add user to group'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-3441308991923222737</id><published>2011-11-20T03:23:00.001-08:00</published><updated>2011-11-20T03:31:22.729-08:00</updated><title type='text'>gnome 3.2 shortcuts</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBquBs28YgbydzjZJZPHuMxTmcO5SyCXCnH6TI4VuwE1b4-agF198hyNZe2hVkM8tUQok93t45LNB5zuEOSqqIJN6VFLt76iNUfXmFs046B67ee9e_jeWCx6nZhBRlbCBl3CWNCTkC3Zg/s1600/ubuntu_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBquBs28YgbydzjZJZPHuMxTmcO5SyCXCnH6TI4VuwE1b4-agF198hyNZe2hVkM8tUQok93t45LNB5zuEOSqqIJN6VFLt76iNUfXmFs046B67ee9e_jeWCx6nZhBRlbCBl3CWNCTkC3Zg/s200/ubuntu_logo.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;kbd&gt;Super&lt;/kbd&gt; key: Switch between overview and desktop &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;F1&lt;/kbd&gt;: Switch between overview and desktop &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;F2&lt;/kbd&gt;: Pop up command dialog &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Tab&lt;/kbd&gt;: Pop up application switcher &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Shift&lt;/kbd&gt;+&lt;kbd&gt;Tab&lt;/kbd&gt;:
  Cycle in reverse direction in the
  application switcher &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;[key above Tab]&lt;/kbd&gt;: Switch between windows of
  the same application in Alt+Tab &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Tab&lt;/kbd&gt;: Pop up accessibility switcher &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;Shift&lt;/kbd&gt;+&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;R&lt;/kbd&gt;:
  Start and end screencast recording &lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Up/Down arrow&lt;/kbd&gt;: Switch between workspaces&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;Ctrl&lt;/kbd&gt;+&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Shift&lt;/kbd&gt;+&lt;kbd&gt;Up/Down
  arrow&lt;/kbd&gt;: Move the current window
  to a different workspace&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;b&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;Tab&lt;/kbd&gt;: Pop up application switcher&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;b style=&quot;color: red;&quot;&gt;&lt;kbd&gt;Alt&lt;/kbd&gt;+&lt;kbd&gt;[key above Tab]&lt;/kbd&gt;: Switch between windows of
  the same application in Alt+Tab&amp;nbsp; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As much as i hate Ubuntu, I am not ready to move along, but soon...</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/3441308991923222737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/11/gnome-32-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3441308991923222737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3441308991923222737'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/11/gnome-32-shortcuts.html' title='gnome 3.2 shortcuts'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBquBs28YgbydzjZJZPHuMxTmcO5SyCXCnH6TI4VuwE1b4-agF198hyNZe2hVkM8tUQok93t45LNB5zuEOSqqIJN6VFLt76iNUfXmFs046B67ee9e_jeWCx6nZhBRlbCBl3CWNCTkC3Zg/s72-c/ubuntu_logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4772917197522958593</id><published>2011-11-09T23:45:00.000-08:00</published><updated>2011-11-10T00:09:51.679-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>jQuery: select an element by an ID that has characters like comma and dots</title><content type='html'>The solution can be found &lt;a href=&quot;http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_by_an_ID_that_has_characters_used_in_CSS_notation.3F&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mainly:&lt;br /&gt;
&lt;br /&gt;
You have to tell jQuery to treat these characters literally rather than as CSS 
notation, they must be &quot;escaped&quot; by placing two backslashes in front of 
them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt; // Does not work
 $(&quot;#some:id&quot;)
 
 // Works!
 $(&quot;#some\\:id&quot;)
&lt;/pre&gt;
&lt;pre&gt; // Does not work
 $(&quot;#some.id&quot;)
 
 // Works!
 $(&quot;#some\\.id&quot;)&amp;nbsp;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; A little helper function that may help alot&lt;/span&gt; :&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; function jq(myid) { 
   return &#39;#&#39; + myid.replace(/(:|\.)/g,&#39;\\$1&#39;);
 }

&lt;/pre&gt;
&lt;br /&gt;
The function can be used like so:
&lt;br /&gt;
$( jq(&#39;some.id&#39;) )</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4772917197522958593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/11/jquery-select-element-by-id-that-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4772917197522958593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4772917197522958593'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/11/jquery-select-element-by-id-that-has.html' title='jQuery: select an element by an ID that has characters like comma and dots'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-463539090442863743</id><published>2011-11-01T12:54:00.000-07:00</published><updated>2011-11-01T12:54:49.826-07:00</updated><title type='text'>install npm for node.js</title><content type='html'>On ubuntu when installing npm package manager, it fails with&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;npm ERR! error installing npm@1.0.103 Error: EACCES, Permission denied &#39;../lib/node_modules/npm/bin/npm-cli.js&#39;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! error rolling back npm@1.0.103 Error: ENOTEMPTY, Directory not empty &#39;/usr/local/lib/node_modules/npm/node_modules&#39;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! Error: EACCES, Permission denied &#39;../lib/node_modules/npm/bin/npm-cli.js&#39;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! Report this *entire* log at:&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! &amp;nbsp; &amp;nbsp; &lt;http: github.com=&quot;&quot; isaacs=&quot;&quot; issues=&quot;&quot; npm=&quot;&quot;&gt;&lt;/http:&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! or email it to:&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! &amp;nbsp; &amp;nbsp; &lt;npm-@googlegroups.com&gt;&lt;/npm-@googlegroups.com&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR!&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! System Linux 3.0.0-12-generic&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! command &quot;/usr/local/bin/node&quot; &quot;/tmp/npm.8484/package/cli.js&quot; &quot;install&quot; &quot;-gf&quot;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! cwd /tmp/npm.8484/package&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! node -v v0.4.12&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! npm -v 1.0.103&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! path ../lib/node_modules/npm/bin/npm-cli.js&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! code EACCES&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR!&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! Additional logging details can be found in:&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm ERR! &amp;nbsp; &amp;nbsp; /tmp/npm.8484/package/npm-debug.log&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;npm not ok&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I found the solution here:&lt;br /&gt;
&lt;a href=&quot;https://github.com/isaacs/npm/issues/1612&quot;&gt;https://github.com/isaacs/npm/issues/1612&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fbfbfb; color: #333333; font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 12px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;-webkit-box-shadow: rgba(0, 0, 0, 0.0625) 0px 1px 2px inset; background-color: #eeeeee; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-top-style: solid; border-top-width: 1px; color: #444444; font-size: 12px; font: normal normal normal 12px/normal &#39;Bitstream Vera Sans Mono&#39;, Courier, monospace; margin-bottom: 1em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;code style=&quot;background-color: rgb(238, 238, 238) !important; border-bottom-color: rgb(222, 222, 222) !important; border-bottom-style: none !important; border-bottom-width: 1px !important; border-color: initial !important; border-left-color: rgb(222, 222, 222) !important; border-left-style: none !important; border-left-width: 1px !important; border-right-color: rgb(222, 222, 222) !important; border-right-style: none !important; border-right-width: 1px !important; border-top-color: rgb(222, 222, 222) !important; border-top-style: none !important; border-top-width: 1px !important; border-width: initial !important; color: rgb(68, 68, 68) !important; font-size: 12px !important; font: normal normal normal 12px/normal &#39;Bitstream Vera Sans Mono&#39;, Courier, monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important;&quot;&gt;curl http://npmjs.org/install.sh | sudo clean=no sh&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/463539090442863743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/11/install-npm-for-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/463539090442863743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/463539090442863743'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/11/install-npm-for-nodejs.html' title='install npm for node.js'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-1043349234184995885</id><published>2011-10-16T01:07:00.000-07:00</published><updated>2012-02-16T12:16:08.783-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="install."/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="jdk 1.7.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 11.10"/><title type='text'>How to install SUN JDK 7.0 on Ubuntu 11.10</title><content type='html'>It looks like the Sun Java was removed from the Ubuntu repositories...&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSSKGF-9jqMotxqBp8QkhR03qztlsLxRcwnNCEmPK_OBLY5sxPdBmGI2aLUuD9Agy13V7_8oD6p0b5RPtVYIfohJMn70Dc2UfskbBlhE6mWKV2D0l-IxKY37XDqJ-QaO0IAeGXqX42ih8/s1600/java.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSSKGF-9jqMotxqBp8QkhR03qztlsLxRcwnNCEmPK_OBLY5sxPdBmGI2aLUuD9Agy13V7_8oD6p0b5RPtVYIfohJMn70Dc2UfskbBlhE6mWKV2D0l-IxKY37XDqJ-QaO0IAeGXqX42ih8/s200/java.png&quot; width=&quot;150&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
This is how Java can be installed from Oracle site:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Download the tar.gz file for linux,ex: jdk-7-linux-i586.tar.gz from&amp;nbsp;&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html&quot;&gt;Oracle&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Untar and copy it where the open java is installed: /usr/lib/jvm/&lt;/div&gt;
&lt;div&gt;
&lt;code&gt;&amp;nbsp; &amp;nbsp; sudo tar -zxvf ~/Downloads/jdk-7-linux-i586.tar.gz -C /usr/lib/jvm/&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;3. Add the new java installation to the java alternative lists:&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/jre/bin/java 1&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;4. Make the added installation the default one&lt;/code&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo update-alternatives --config java&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;5. Choose the sun java option, in my case it was 2.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;6. Test using java -version.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;my java path:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;b&gt;/usr/lib/jvm/jdk1.7.0/jre/bin/java&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;---------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;Install maven directly from Apache site.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;1. download and untar mvn.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; sudo tar -zxvf ~/Downloads/mvn.tar.gz -C &amp;nbsp;/usr/local/apache-maven&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;2. edit&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: monospace;&quot;&gt;/etc/profile( add Java Home / MVN home, and add bin to Path )&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;JAVA_HOME=/usr/lib/jvm/jdk1.7.0&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;export PATH=$PATH:$JAVA_HOME/bin&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;M2_HOME=/usr/local/apache-maven/apache-maven-2.2.1&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;export M2=$M2_HOME/bin&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;export PATH=$PATH:M2&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;---------------------------------------------------------&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;edit /etc/environment ex:&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/flgor/tools/jdk1.6.0_31/bin&quot;&lt;br /&gt;JAVA_HOME=&quot;/home/flgor/tools/jdk1.6.0_31&quot;&lt;br /&gt;M2_HOME=&quot;/usr/share/maven2&quot;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;add java to firefox:&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;cd /usr/lib/firefox-10.0.1/plugins&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;sudo ln -s /home/flgor/tools/jdk1.6.0_31/jre/lib/i386/libnpjp2.so .&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/1043349234184995885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/10/how-to-install-sun-jdk-70-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1043349234184995885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1043349234184995885'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/10/how-to-install-sun-jdk-70-on-ubuntu.html' title='How to install SUN JDK 7.0 on Ubuntu 11.10'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSSKGF-9jqMotxqBp8QkhR03qztlsLxRcwnNCEmPK_OBLY5sxPdBmGI2aLUuD9Agy13V7_8oD6p0b5RPtVYIfohJMn70Dc2UfskbBlhE6mWKV2D0l-IxKY37XDqJ-QaO0IAeGXqX42ih8/s72-c/java.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-1868794305269090118</id><published>2011-10-15T13:33:00.000-07:00</published><updated>2011-10-16T12:56:51.579-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gnome 3.2"/><category scheme="http://www.blogger.com/atom/ns#" term="gnome shell"/><category scheme="http://www.blogger.com/atom/ns#" term="Oneiric"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 11.10"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity"/><title type='text'>Ubuntu 11.10 and gnome shell 3.2</title><content type='html'>Ubuntu 11.10 was released yesterday i guess...&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; It has a lot of nice reviews, but from my point of view it&#39;s not that piece of art.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmOh6ihz3GeKzwyGyTJQmjWLPTGxonmDBVXZj80ctc9tqQe3610XfVWzP3Z5knqx4us-6O2O3wpd1LVognhX3Eck7v-jydmoa78Z4c9d-0vgtQuol7b3RiKQjlAMjVKMk03d7RAGX7_I/s1600/gnome_icon.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmOh6ihz3GeKzwyGyTJQmjWLPTGxonmDBVXZj80ctc9tqQe3610XfVWzP3Z5knqx4us-6O2O3wpd1LVognhX3Eck7v-jydmoa78Z4c9d-0vgtQuol7b3RiKQjlAMjVKMk03d7RAGX7_I/s1600/gnome_icon.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; I find Unity still in the sucking position. CompizConfig it&#39;s a must in order to tweak a little... but compiz config crashes and in few clicks i made Unity menus to disappear&amp;nbsp;&amp;nbsp; forever.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; The proprietary drivers does not install correctly... The post release one does not install at all, and the older one crashes with gnome 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; What i find very nice is gnome shell. Gnome 3.2 really deserve a try.&lt;br /&gt;
&lt;br /&gt;
-How to install gnome shell 3.2:&lt;br /&gt;
Go into Ubuntu software center, search for gnomeshell, click install.&lt;br /&gt;
Install gnome tweak. ( same way )&lt;br /&gt;
&lt;br /&gt;
For moment do not install the recommended ATI drivers.&lt;br /&gt;
&lt;br /&gt;
Here is a link from Ati site how to install the drivers manually:&lt;br /&gt;
&lt;a href=&quot;http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide&quot;&gt;http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ToDo: Try Fedora 16 with gnome shell when it will be released.&lt;br /&gt;
&lt;br /&gt;
How to add an application to activities Gnome 3:&lt;br /&gt;
&lt;a href=&quot;http://bloggezmoy.com/2011/05/17/how-to-add-an-application-to-the-gnome-3-application-launcher/&quot;&gt;http://bloggezmoy.com/2011/05/17/how-to-add-an-application-to-the-gnome-3-application-launcher/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/1868794305269090118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/10/ubuntu-1110-and-gnome-shell-32.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1868794305269090118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1868794305269090118'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/10/ubuntu-1110-and-gnome-shell-32.html' title='Ubuntu 11.10 and gnome shell 3.2'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmOh6ihz3GeKzwyGyTJQmjWLPTGxonmDBVXZj80ctc9tqQe3610XfVWzP3Z5knqx4us-6O2O3wpd1LVognhX3Eck7v-jydmoa78Z4c9d-0vgtQuol7b3RiKQjlAMjVKMk03d7RAGX7_I/s72-c/gnome_icon.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-8719736944148123151</id><published>2011-09-21T13:52:00.000-07:00</published><updated>2011-09-26T06:00:46.005-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="node.js"/><title type='text'>Node.js helpful links ( moved from clipboard )</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
node-js openssl error:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
http://blog.andyhoff.com/nodejs-could-not-autodetect-openssl-support&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
how to include socket.io into html / jsp ( check the html code )&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
http://stackoverflow.com/questions/6785979/socket-io-0-7-7-client-issues-require-socket-io-client-js-not-working?answertab=votes#tab-top&lt;br /&gt;
&lt;br /&gt;
Final answer can be found on socket.io wiki:&lt;br /&gt;
&lt;a href=&quot;https://github.com/LearnBoost/Socket.IO/wiki/How-do-I-serve-the-client&quot;&gt;https://github.com/LearnBoost/Socket.IO/wiki/How-do-I-serve-the-client&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
node-js get post data:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
http://stackoverflow.com/questions/4295782/node-js-extracting-post-data&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
json on node-js:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
http://onemoredigit.com/post/2132782467/node-js-websockets-and-talking-json&lt;br /&gt;
&lt;br /&gt;
disconnect, reconnect ( create client socket with&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif; font-size: 14px; line-height: 18px;&quot;&gt;{&#39;force new connection&#39;: true} )&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/7499463/socket-io-works-first-time-not-second-time-onwards?answertab=votes#tab-top&quot;&gt;http://stackoverflow.com/questions/7499463/socket-io-works-first-time-not-second-time-onwards?answertab=votes#tab-top&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Node helpful http request link&lt;br /&gt;
http://nodejs.org/docs/v0.4.8/api/all.html#http.request&lt;br /&gt;
&lt;br /&gt;Node useful link:&lt;br /&gt;
http://nodeguide.com/beginner.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/8719736944148123151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/09/nodejs-helpful-links-moved-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/8719736944148123151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/8719736944148123151'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/09/nodejs-helpful-links-moved-from.html' title='Node.js helpful links ( moved from clipboard )'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-1006840525176117822</id><published>2011-08-29T12:24:00.000-07:00</published><updated>2011-10-16T06:03:34.587-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ / Qt"/><category scheme="http://www.blogger.com/atom/ns#" term="iso"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Xubuntu"/><title type='text'>qt application: mount iso files on xubuntu</title><content type='html'>&lt;b style=&quot;color: red;&quot;&gt;Info&lt;/b&gt;: a new version xisomount002 was released on code.google &lt;a href=&quot;http://code.google.com/p/xisomount/downloads/detail?name=xisomount002&amp;amp;can=2&amp;amp;q=&quot;&gt;http://code.google.com/p/xisomount/downloads/detail?name=xisomount002&amp;amp;can=2&amp;amp;q=&lt;/a&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv4n0NIIPw8GyeWoR-2kC-hqSENRWjeMU4dzUhlpcgcdtAiQgqR5g2CIBgUSNAcz_R3PC2CWeEEr7yR5GWSG34HrDg0WJBj_sS2aOERIyL7eEnFIZ6SGPISdPuZOMsMkTkEpjGQ_TYY8s/s1600/xisomount002.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv4n0NIIPw8GyeWoR-2kC-hqSENRWjeMU4dzUhlpcgcdtAiQgqR5g2CIBgUSNAcz_R3PC2CWeEEr7yR5GWSG34HrDg0WJBj_sS2aOERIyL7eEnFIZ6SGPISdPuZOMsMkTkEpjGQ_TYY8s/s400/xisomount002.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;X Iso Mount Application version 0.02&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
The application can be downloaded from qt-app.org . This is the link: &lt;a href=&quot;http://qt-apps.org/content/show.php/X+Iso+Mount?content=145408&amp;amp;PHPSESSID=91a9d9296e91784a7230773f612be5ef&quot;&gt;http://qt-apps.org/content/show.php/X+Iso+Mount?content=145408&amp;amp;PHPSESSID=91a9d9296e91784a7230773f612be5ef&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
The project code can be found here:&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/%20http://code.google.com/p/xisomount/&quot;&gt;http://code.google.com/p/xisomount/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A linux executabil can be &lt;b&gt;found&lt;/b&gt; here:&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/xisomount/downloads/list&quot;&gt;http://code.google.com/p/xisomount/downloads/list&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Instalation:&lt;/b&gt;&lt;br /&gt;
Download application from the above location.&lt;br /&gt;
sudo chmod a+x xisomount&lt;br /&gt;
./xisomount&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Obs:&lt;/b&gt;&lt;br /&gt;
This may be the final version for moment. I don&#39;t have any plans to do add more functionality as the application serves me well enough. I will add new releases when I will move to another linux distribution or when new major qt version will be launched.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;High lvl overview:&lt;/b&gt;&lt;br /&gt;
The whole application is a Qt GUI around these commands:&lt;br /&gt;
- sudo mount -o loop isoFileName.iso mountLocation &lt;br /&gt;
- sudo umount mountLocation&lt;br /&gt;
- mount -l -t udf&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Done:&lt;/b&gt;&lt;br /&gt;
-text aria with all mounted dvds &lt;br /&gt;
-added vlc and thunar buttons ( works with mount location line edit )&lt;br /&gt;
&lt;b&gt;-&lt;/b&gt;drag and drop events&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
-systray icon&lt;br /&gt;
-basic functionality &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;In progress:&lt;/b&gt;&lt;br /&gt;
-&amp;nbsp;application will read start param if present ( an iso file path ).&lt;br /&gt;
- only one instance of the application&amp;nbsp; is allowed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Backlog:&lt;/b&gt;&lt;br /&gt;
-change text aria with a table view ( for mounted dvds )&lt;br /&gt;
-add help&lt;br /&gt;
-implement all the menus submenus.&lt;br /&gt;
-create a deb.&lt;br /&gt;
-only one instance of the application&amp;nbsp; is allowed.&lt;br /&gt;
&lt;g:plusone annotation=&quot;inline&quot;&gt;&lt;/g:plusone&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
    var po = document.createElement(&#39;script&#39;); po.type = &#39;text/javascript&#39;; po.async = true;
    po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
    var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(po, s);
  })();
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/1006840525176117822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/08/qt-application-mount-iso-files-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1006840525176117822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1006840525176117822'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/08/qt-application-mount-iso-files-on.html' title='qt application: mount iso files on xubuntu'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv4n0NIIPw8GyeWoR-2kC-hqSENRWjeMU4dzUhlpcgcdtAiQgqR5g2CIBgUSNAcz_R3PC2CWeEEr7yR5GWSG34HrDg0WJBj_sS2aOERIyL7eEnFIZ6SGPISdPuZOMsMkTkEpjGQ_TYY8s/s72-c/xisomount002.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-159176746650294915</id><published>2011-08-26T13:49:00.000-07:00</published><updated>2011-08-29T12:17:11.323-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Authentication"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring MVC"/><title type='text'>Tutorial: adding authentication to Spring MVC</title><content type='html'>in progress ( will take some time ).&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/159176746650294915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/08/tutorial-adding-authentication-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/159176746650294915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/159176746650294915'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/08/tutorial-adding-authentication-to.html' title='Tutorial: adding authentication to Spring MVC'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-3476597529789827479</id><published>2011-08-09T09:13:00.000-07:00</published><updated>2011-08-26T13:25:06.118-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><category scheme="http://www.blogger.com/atom/ns#" term="SpringData"/><title type='text'>Spring Data Migrate from M2 to M3</title><content type='html'>Spring Data and Mongo tutorial was created using 1.0.0.M2.&lt;br /&gt;
The new spring data version 1.0.0.M3 comes with alot of improvements.&lt;br /&gt;
&lt;br /&gt;
These are the changes needed to update the project to M3&lt;br /&gt;
&lt;br /&gt;
Update pom.xm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&lt; properties &gt; 
     &lt; tiles.version &gt; 2.2.2 &lt; /tiles.version &gt; 
     &lt; spring.data.mongo.version &gt; 1.0.0.M3 &lt; /spring.data.mongo.version &gt; 
 &lt; /properties &gt; 

 &lt; dependency &gt; 
 &lt; groupId &gt; org.springframework.data &lt; /groupId &gt; 
     &lt; artifactId &gt; spring-data-mongodb &lt; /artifactId &gt; 
     &lt; version &gt; ${spring.data.mongo.version} &lt; /version &gt; 
 &lt; /dependency &gt; 

 &lt; repositories &gt; 
     &lt; repository &gt; 
     &lt; id &gt; spring-milestone &lt; /id &gt; 
     &lt; name &gt; Spring Maven MILESTONE Repository &lt; /name &gt; 
     &lt; url &gt; http://maven.springframework.org/milestone &lt; /url &gt; 
 &lt; /repository &gt; 

 &lt; /repositories &gt; 
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Also, MongoTemplate no longer takes a default collection name. The collection name is now either specified when the method is invoked or inferred from the Java class, either the class name or via mapping metadata.&lt;br /&gt;
So, mongo-configuration.xml will look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&lt; bean id=&quot;mongoTemplate&quot; class=&quot;org.springframework.data.document.mongodb.MongoTemplate&quot; &gt; 
     &lt; constructor-arg ref=&quot;mongo&quot;/ &gt; 
     &lt; constructor-arg name=&quot;databaseName&quot; value=&quot;usersdb&quot;/ &gt; 		  
 &lt; /bean &gt; 
&lt;/pre&gt;The ref attribute from mongoTemplate specifies which mongo:mongo object should be used. A more detailed exemple about this can be found into the M3 documentation. Different mongoTemplate beans can have different mongo objects ( mongo servers ).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Tip ( when using multiple databases into the same project ): &lt;/b&gt;&lt;br /&gt;
MongoTemplate is mapped over a database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Instantiate mongoTemplate beans using the id attribute also.&lt;br /&gt;
The id can be passed to the mongo:repositories using mongo-template-ref attribute like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;&lt; mongo:repositories base-package=&quot;com.application.repositories1&quot; mongo-template-ref=&quot;mongoTemplateId1&quot;/&gt;
&lt; mongo:repositories base-package=&quot;com.application.repositories2&quot; mongo-template-ref=&quot;mongoTemplateId2&quot;/&gt;
&lt;/pre&gt;&lt;br /&gt;
If the mongo-template-ref is not defined it will be used by spring only one mongoTemplate when creating repositories and all the collections will go into one database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/3476597529789827479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-data-migrate-from-m2-to-m3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3476597529789827479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3476597529789827479'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-data-migrate-from-m2-to-m3.html' title='Spring Data Migrate from M2 to M3'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-7574077377882869576</id><published>2011-08-05T06:43:00.000-07:00</published><updated>2011-08-08T06:22:15.598-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="MongoDB"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="SpringData"/><title type='text'>Spring 3 MVC and MongoDB using SpringData</title><content type='html'>How to create a Spring MVC project with SpringData and MongoDB database from scratch.&lt;br /&gt;
&lt;br /&gt;
Pre requests:&lt;br /&gt;
- eclipse and maven plugin for eclipse&lt;br /&gt;
- maven ( command line, optional )&lt;br /&gt;
- mongodb&lt;br /&gt;
- java jdk 1.6&lt;br /&gt;
&lt;br /&gt;
In eclipse create a new maven project&lt;br /&gt;
- File - New - Others - Maven - Maven Project&lt;br /&gt;
- Check create a simple project&lt;br /&gt;
- select .war and fill the blanks&lt;br /&gt;
&lt;br /&gt;
At the end of this process you should have a java project and minimal pom.xml&lt;br /&gt;
Add the spring, springdata and mongodb dependencies in pom.xml &lt;br /&gt;
&lt;br /&gt;
Create controler, service, model and repository packages.&lt;br /&gt;
&lt;br /&gt;
Model package will include simple POJO classes. These classes will be modeled over the mongoDB collections.&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;User.java Class:

package com.flgor.model;

import org.springframework.data.annotation.Id;

public class User {
 @Id
 String id;
 String name;
 String password; 
 public String getId() {
  return id;
 }
 public void setId(String id) {
  this.id = id;
 }
 public String getName() {
  return name;
 }
 public void setName(String name) {
  this.name = name;
 }
 public String getPassword() {
  return password;
 }
 public void setPassword(String password) {
  this.password = password;
 }
}

&lt;/pre&gt;&lt;br /&gt;
Repository package will contain only interfaces. These interfaces will extend MongoRepository interface.&lt;br /&gt;
Into these interfaces we can declare Query methods. ( check springdata documentation for details ) &lt;br /&gt;
&lt;br /&gt;
This is an exemple:&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;IUserRepository.java class:

package com.flgor.repository;

import java.util.List;
import org.springframework.data.document.mongodb.repository.MongoRepository;
import com.flgor.model.User;

public interface IUserRepository extends MongoRepository&lt; User, String &gt; {
 List&lt; User &gt; findByName(String user);
}
&lt;/pre&gt;&lt;br /&gt;
In the next file are created the mongoTemplate and the mongorepositories beans.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;mongo-config.xml

&lt; ?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?  &gt;         
&lt; beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:p=&quot;http://www.springframework.org/schema/p&quot;
 xmlns:mongo=&quot;http://www.springframework.org/schema/data/mongo&quot;
 xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans 
      http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
      http://www.springframework.org/schema/data/mongo
      http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd&quot; &gt;         

 &lt; mongo:repositories base-package=&quot;com.flgor.repository&quot; / &gt;         

 &lt; mongo:mongo host=&quot;localhost&quot; port=&quot;27017&quot; / &gt;         

 &lt; bean id=&quot;mongoTemplate&quot; class=&quot;org.springframework.data.document.mongodb.MongoTemplate&quot; &gt;         
  &lt; constructor-arg ref=&quot;mongo&quot; / &gt;         
  &lt; constructor-arg name=&quot;databaseName&quot; value=&quot;tutorialDB&quot; / &gt;         
  &lt; constructor-arg name=&quot;defaultCollectionName&quot; value=&quot;user&quot; / &gt;         
 &lt; /bean &gt;         
&lt; /beans &gt;   
&lt;/pre&gt;&lt;br /&gt;
Using spring data ( mongotemplate and mongorepository ) it&#39;s very eazy and natural to work over the mongo database.&lt;br /&gt;
&lt;br /&gt;
Next is a simple service.java exemple (service package ). It&#39;s implemented mongo collection clean, insert, findall and find by name inside the initialise method.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;package com.flgor.service;

import java.util.List;

import javax.annotation.PostConstruct;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.document.mongodb.MongoTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;



import com.flgor.model.User;
import com.flgor.repository.IProductRepository;
import com.flgor.repository.IUserRepository;
import com.flgor.model.Product;

@Repository
@Transactional
public class ApplicationService {

 @Autowired
 private IProductRepository productRepository;

 @Autowired
 private IUserRepository userRepository;

 @Autowired
 private MongoTemplate mongoTemplate;

 private final static Logger logger = Logger
   .getLogger(ApplicationService.class);

 @PostConstruct
 public void initialise() {
  // Clean User and Product Database
  mongoTemplate.dropCollection(&quot;user&quot;);
  productRepository.deleteAll();

  // Add an user using MongoRepository
  User user = new User();
  user.setName(&quot;admin&quot;);
  user.setPassword(&quot;admin&quot;);
  userRepository.save(user);

  // Add products using MongoTemplate
  for (int i = 0; i  &lt;  10; i++) {
   Product product = new Product();
   product.setName(&quot;product &quot; + i);
   product.setPrice((float) (i * 100));
   mongoTemplate.save(&quot;product&quot;, product);
  }

  List &lt; Product &gt;  productList = productRepository.findAll();
  for (Product prod : productList) {
   logger.info(prod.getName());
  }

  // findByName is only declared in IUserRepository
  // the magic is done automatically by Spring
  List &lt; User &gt;  userList = userRepository.findByName(&quot;admin&quot;);
  logger.info(&quot;First user is: &quot; + userList.get(0).getName());
 }
}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
For moment controller it&#39;s not implemented. Also there is no viewer resolver.&lt;br /&gt;
Start mongodb (./bin/mongod )&lt;br /&gt;
Start the tutorial with&lt;b&gt; mvn tomcat:run&lt;/b&gt;&lt;br /&gt;
mvn clean install may help.&lt;br /&gt;
&lt;br /&gt;
The applicationService output at startup:&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;1423 [main] INFO  com.flgor.service.ApplicationService  - product 0
1423 [main] INFO  com.flgor.service.ApplicationService  - product 1
1423 [main] INFO  com.flgor.service.ApplicationService  - product 2
1423 [main] INFO  com.flgor.service.ApplicationService  - product 3
1423 [main] INFO  com.flgor.service.ApplicationService  - product 4
1423 [main] INFO  com.flgor.service.ApplicationService  - product 5
1423 [main] INFO  com.flgor.service.ApplicationService  - product 6
1423 [main] INFO  com.flgor.service.ApplicationService  - product 7
1423 [main] INFO  com.flgor.service.ApplicationService  - product 8
1423 [main] INFO  com.flgor.service.ApplicationService  - product 9
1440 [main] INFO  com.flgor.service.ApplicationService  - First user is: admin
&lt;/pre&gt;&lt;br /&gt;
Into the the mongo database will be crated a user collection( with 1 entry ) and product collection( with 10 entries).&lt;br /&gt;
&lt;br /&gt;
A tipical servletName-servlet.xml for SPRING MVC project:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&lt; ?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?  &gt;  
 &lt; beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:p=&quot;http://www.springframework.org/schema/p&quot;
 xmlns:mvc=&quot;http://www.springframework.org/schema/mvc&quot; xmlns:context=&quot;http://www.springframework.org/schema/context&quot;
 xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans      
                  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                  http://www.springframework.org/schema/context
                  http://www.springframework.org/schema/context/spring-context-3.0.xsd
               http://www.springframework.org/schema/mvc 
               http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd&quot; &gt; 

  &lt; import resource=&quot;classpath:tutorialApplicationContext.xml&quot; / &gt; 

  &lt; context:annotation-config / &gt; 
  &lt; context:component-scan base-package=&quot;com.flgor&quot; / &gt; 
  &lt; mvc:annotation-driven / &gt; 
 &lt; /beans &gt; 
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is how the pom.xml should look like.&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;&lt; project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
 xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot; &gt; 
  &lt; modelVersion &gt; 4.0.0 &lt; /modelVersion &gt; 
  &lt; groupId &gt; com.flgor &lt; /groupId &gt; 
  &lt; artifactId &gt; tutorial &lt; /artifactId &gt; 
  &lt; version &gt; 0.0.1 &lt; /version &gt; 
  &lt; packaging &gt; war &lt; /packaging &gt; 
  &lt; name &gt; mongotutorial &lt; /name &gt; 
  &lt; description &gt; spring data tutorial &lt; /description &gt; 

  &lt; dependencies &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; javax.annotation &lt; /groupId &gt; 
    &lt; artifactId &gt; jsr250-api &lt; /artifactId &gt; 
    &lt; version &gt; 1.0 &lt; /version &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; jstl &lt; /groupId &gt; 
    &lt; artifactId &gt; jstl &lt; /artifactId &gt; 
    &lt; version &gt; 1.1.2 &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; taglibs &lt; /groupId &gt; 
    &lt; artifactId &gt; standard &lt; /artifactId &gt; 
    &lt; version &gt; 1.1.2 &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; junit &lt; /groupId &gt; 
    &lt; artifactId &gt; junit &lt; /artifactId &gt; 
    &lt; version &gt; 4.8.1 &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; log4j &lt; /groupId &gt; 
    &lt; artifactId &gt; log4j &lt; /artifactId &gt; 
    &lt; version &gt; 1.2.14 &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-web &lt; /artifactId &gt; 
    &lt; version &gt; 3.0.5.RELEASE &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-core &lt; /artifactId &gt; 
    &lt; version &gt; 3.0.5.RELEASE &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-tx &lt; /artifactId &gt; 
    &lt; version &gt; 3.0.5.RELEASE &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-webmvc &lt; /artifactId &gt; 
    &lt; version &gt; 3.0.5.RELEASE &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-aop &lt; /artifactId &gt; 
    &lt; version &gt; 3.0.5.RELEASE &lt; /version &gt; 
    &lt; type &gt; jar &lt; /type &gt; 
    &lt; scope &gt; compile &lt; /scope &gt; 
   &lt; /dependency &gt; 
   &lt; dependency &gt; 
    &lt; groupId &gt; org.springframework.data &lt; /groupId &gt; 
    &lt; artifactId &gt; spring-data-mongodb &lt; /artifactId &gt; 
    &lt; version &gt; 1.0.0.M2 &lt; /version &gt; 
   &lt; /dependency &gt; 
  &lt; /dependencies &gt; 

  &lt; build &gt; 
   &lt; finalName &gt; spring-tutorial &lt; /finalName &gt; 
   &lt; plugins &gt; 
    &lt; plugin &gt; 
     &lt; groupId &gt; org.apache.maven.plugins &lt; /groupId &gt; 
     &lt; artifactId &gt; maven-compiler-plugin &lt; /artifactId &gt; 
     &lt; version &gt; 2.3.2 &lt; /version &gt; 
     &lt; configuration &gt; 
      &lt; source &gt; 1.5 &lt; /source &gt; 
      &lt; target &gt; 1.5 &lt; /target &gt; 
     &lt; /configuration &gt; 
    &lt; /plugin &gt; 
   &lt; /plugins &gt; 
  &lt; /build &gt; 

  &lt; repositories &gt; 
   &lt; repository &gt; 
    &lt; id &gt; spring-maven-milestone &lt; /id &gt; 
    &lt; name &gt; Springframework Maven Repository &lt; /name &gt; 
    &lt; url &gt; http://maven.springframework.org/milestone &lt; /url &gt; 
   &lt; /repository &gt; 
  &lt; /repositories &gt; 

 &lt; /project &gt; 
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The whole project can be downloaded from this location:&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/bet-alarm/downloads/list&quot;&gt;&lt;b&gt;http://code.google.com/p/bet-alarm/downloads/list&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Use Import -&gt; Maven -&gt; Existing Maven Project to import the project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Used links:&lt;/b&gt;&lt;br /&gt;
http://static.springsource.org/spring-data/data-document/docs/1.0.0.M3/reference/html/&lt;br /&gt;
http://krams915.blogspot.com/2011/04/spring-data-mongodb-revision-for-100m2.html</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/7574077377882869576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-3-mvc-with-mongo-db-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/7574077377882869576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/7574077377882869576'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-3-mvc-with-mongo-db-using.html' title='Spring 3 MVC and MongoDB using SpringData'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-4760652821343885896</id><published>2011-08-02T23:43:00.000-07:00</published><updated>2011-08-05T14:22:22.553-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><title type='text'>Spring Property Placeholder Configurer using multiple files from resources</title><content type='html'>A property resource configurer that resolves placeholders in bean property values of context definitions. It pulls values from a properties file into bean definitions.&lt;br /&gt;
&lt;br /&gt;
Property &quot;location&quot; is used when we have only one property file, but &quot;locations&quot; accept a list of property files.&lt;br /&gt;
&lt;br /&gt;
ApplicationContext xml should look like this when using &quot;&lt;b&gt;locations&quot;&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class=&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;locations&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:database.properties&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:authentication.properties&amp;lt;/value&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can use property files as usual:&lt;br /&gt;
Ex:&lt;br /&gt;
1. inside authentication.properties&lt;br /&gt;
&amp;nbsp;fileBased.userList = userslist&lt;br /&gt;
&lt;br /&gt;
2. injecting the property into other bean from application context xml:&lt;br /&gt;
&amp;lt;bean name=&quot;myBean&quot; class=&quot;com.package.mybean&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; init-method=&quot;readUserLists&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;userLocation&quot; value=&quot;${fileBased.userList}&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/4760652821343885896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-propertyplaceholder-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4760652821343885896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/4760652821343885896'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/08/spring-propertyplaceholder-using.html' title='Spring Property Placeholder Configurer using multiple files from resources'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-3773523440886821576</id><published>2011-07-15T07:20:00.000-07:00</published><updated>2011-09-08T13:44:14.774-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Random"/><title type='text'>include HTML code on blogger.com in 2 eazy steps</title><content type='html'>1. Replace &lt; with &amp;amp;lt; and &gt; with &amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Profit. :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit:&lt;br /&gt;
In order to use syntaxhighlighter check this link:&lt;br /&gt;
&lt;a href=&quot;http://blog.cartercole.com/2009/10/awesome-syntax-highlighting-made-easy.html&quot; title=&quot;code to do quick syntax highlighting&quot;&gt;syntax highlighting tutorial&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;I almost moved the blog to wordpress because of the syntax highlither.
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-add-syntax-highlighting-to-any-project/</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/3773523440886821576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/07/include-html-code-on-bloggercom-in-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3773523440886821576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/3773523440886821576'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/07/include-html-code-on-bloggercom-in-2.html' title='include HTML code on blogger.com in 2 eazy steps'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-6874705737681555203</id><published>2011-07-15T07:03:00.000-07:00</published><updated>2011-08-05T14:22:58.098-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jsp"/><title type='text'>jsp, new line convert from java to html</title><content type='html'>Problem:&quot;\n&quot; is not recognized by jsp as new line char. &lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
Inside the jsp file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ taglib uri=&quot;http://java.sun.com/jsp/jstl/core&quot; prefix=&quot;c&quot;%&amp;gt;&lt;br /&gt;
&amp;lt;%@ taglib prefix=&quot;fn&quot; uri=&quot;http://java.sun.com/jsp/jstl/functions&quot; %&amp;gt;&lt;br /&gt;
&amp;lt;% pageContext.setAttribute(&quot;newLineChar&quot;, &quot;\n&quot;); %&amp;gt;&lt;br /&gt;
&amp;lt;% pageContext.setAttribute(&quot;newLineHtml&quot;, &quot;&amp;lt; br /&amp;gt;&quot;); %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use fn:replace to change from \n to &amp;lt;br \&amp;gt;&lt;br /&gt;
&amp;lt;c:out value=&quot;${fn:replace(loggedObject.stack, newLineChar, newLineHtml  )}&quot; &lt;b&gt;escapeXml=&quot;false&quot;&lt;/b&gt;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
log4j tip:&lt;br /&gt;
do not use logger.info( e ); //where e is exception use logger.info(&quot;&quot;,e);&lt;br /&gt;
Using first method the error stack is not included, where stack is the most valuable info.</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/6874705737681555203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/07/jsp-new-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6874705737681555203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/6874705737681555203'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/07/jsp-new-line.html' title='jsp, new line convert from java to html'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-52520753189003150.post-1767472987412440459</id><published>2011-07-13T11:08:00.000-07:00</published><updated>2011-08-05T14:23:40.886-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><category scheme="http://www.blogger.com/atom/ns#" term="SpringData"/><title type='text'>Spring Datastore Document and MongoDB</title><content type='html'>http://static.springsource.org/spring-data/data-document/docs/1.0.0.M2/reference/html/#d0e3049</content><link rel='replies' type='application/atom+xml' href='http://flgor.blogspot.com/feeds/1767472987412440459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://flgor.blogspot.com/2011/07/spring-datastore-document-and-mongodb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1767472987412440459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/52520753189003150/posts/default/1767472987412440459'/><link rel='alternate' type='text/html' href='http://flgor.blogspot.com/2011/07/spring-datastore-document-and-mongodb.html' title='Spring Datastore Document and MongoDB'/><author><name>Flgor</name><uri>http://www.blogger.com/profile/07647934741767972335</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>