<?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: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-2072896722482331315</id><updated>2011-07-28T21:41:22.186+03:00</updated><category term='SpeechRecognitionEngine;Recognize;DictationGrammar;'/><category term='Join'/><category term='Performance'/><category term='ampersand'/><category term='EMF'/><category term='Hibernate'/><category term='CSS: position:static'/><category term='Code Management'/><category term='Aluna'/><category term='Testing'/><category term='FileSync'/><category term='TDD'/><category term='css'/><category term='position:relative'/><category term='apache tomcat'/><category term='sysobjects'/><category term='sun'/><category term='Debugging'/><category term='SqlServer'/><category term='Managment'/><category term='syscolumns'/><category term='xml'/><category term='LINQ'/><category term='select'/><category term='MySQL'/><category term='java'/><category term='MS SQL Server'/><category term='security'/><category term='Logging'/><category term='Design'/><category term='Object Explorer'/><category term='Best Practices'/><category term='case'/><category term='SubVersion'/><category term='Templates'/><category term='Object Initializers'/><category term='Shrink'/><category term='if statement; programming ; semicolon'/><category term='Projection'/><category term='Panel'/><category term='web site testing'/><category term='Polymorphism'/><category term='Eclipse'/><category term='Bird'/><category term='ASP.Net'/><category term='and float.'/><category term='Implicitly Typed Local Variables'/><category term='max_heap_table_size'/><category term='position:absolute'/><category term='Microsoft'/><category term='Feature Pack'/><category term='Postback'/><category term='MVC'/><category term='javascript'/><category term='Ad Rotation'/><category term='Velocity'/><category term='cache'/><category term='GUID'/><category term='SQL Server'/><category term='UPDATE'/><category term='AJAX'/><category term='classpath'/><category term='wsdl'/><category term='UUID'/><category term='sql injection'/><category term='types'/><category term='Log file'/><category term='Collection Initializers'/><category term='LOG4E'/><category term='Sdk'/><category term='owasp'/><category term='culture info;date ; excel ; csv'/><category term='Freeware'/><category term='Design Patterns'/><category term='if'/><category term='Inheritance'/><category term='ip number'/><category term='Code Snippets'/><category term='Slow queries'/><category term='c sharp'/><category term='Automatic Properties'/><category term='SQL Server 2008'/><category term='cloud computing'/><category term='Michael Kofler'/><category term='Branching'/><category term='webconfig'/><category term='mapping'/><category term='web services'/><category term='Unique ID'/><category term='Anonymous Types'/><category term='ModalPopupExtender'/><category term='development guide'/><category term='mouse cursor change'/><category term='Sfc'/><category term='ip address'/><category term='TPTP'/><category term='SVN'/><category term='WPF'/><category term='clean'/><category term='Silverlight'/><title type='text'>RockeTier Development Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-6054607219280908310</id><published>2009-07-20T18:14:00.003+03:00</published><updated>2009-07-20T18:23:12.439+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='c sharp'/><category scheme='http://www.blogger.com/atom/ns#' term='ip number'/><category scheme='http://www.blogger.com/atom/ns#' term='ip address'/><title type='text'>converting IP address to IP number</title><content type='html'>Ip number is a numerical representation of the ip address we are all used to .&lt;br /&gt;For instance 1.2.3.4 = 1690960 ;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is good for some reasons, like conveting the Ip address to geographical position, or rule manupulation like firewalls and network devices. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How do you do that ? &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is a little method that shows how to do that in c # &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;        public static uint convertIP(string sIp)&lt;/div&gt;&lt;div&gt;        {&lt;/div&gt;&lt;div&gt;            string[] sOctecs;&lt;/div&gt;&lt;div&gt;            char[] cSeperator = { '.' };&lt;/div&gt;&lt;div&gt;            int[] iOctet = new int[4];&lt;/div&gt;&lt;div&gt;            uint iReturnIPNumber = 0;&lt;/div&gt;&lt;div&gt;            if (sIp != "")&lt;/div&gt;&lt;div&gt;            {&lt;/div&gt;&lt;div&gt;                bool bConvertOK;&lt;/div&gt;&lt;div&gt;                sOctecs = sIp.Split(cSeperator, 4);//split the string to the octets&lt;/div&gt;&lt;div&gt;                for (int i = 0; i &lt;&gt;&lt;div&gt;                {&lt;/div&gt;&lt;div&gt;                    bConvertOK = int.TryParse(sOctecs[i], out iOctet[i]);&lt;/div&gt;&lt;div&gt;                    if (!bConvertOK)&lt;/div&gt;&lt;div&gt;                    {&lt;/div&gt;&lt;div&gt;                        return 0;&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                }//end for&lt;/div&gt;&lt;div&gt;                // iOctecs contain integers , lets do the magic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;                //some math &lt;/div&gt;&lt;div&gt;                iReturnIPNumber = (uint)iOctet[3];&lt;/div&gt;&lt;div&gt;                iReturnIPNumber = iReturnIPNumber + ((uint)iOctet[2] * (uint)256);&lt;/div&gt;&lt;div&gt;                iReturnIPNumber = iReturnIPNumber + ((uint)iOctet[1] * (uint)256 * (uint)256);&lt;/div&gt;&lt;div&gt;                iReturnIPNumber = iReturnIPNumber + ((uint)iOctet[0] * (uint)256 * (uint)256 * (uint)256);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            return iReturnIPNumber;&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you need it in the database , then mySQL has a built in functions of converting &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;  mysql&gt; SELECT INET_ATON('192.168.10.50');&lt;/div&gt;&lt;div&gt;   +----------------------------+&lt;/div&gt;&lt;div&gt;   | INET_ATON('192.168.10.50') |&lt;/div&gt;&lt;div&gt;   +----------------------------+&lt;/div&gt;&lt;div&gt;   |                 3232238130 |&lt;/div&gt;&lt;div&gt;   +----------------------------+&lt;/div&gt;&lt;div&gt;   1 row in set (0.00 sec)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;   mysql&gt; SELECT INET_NTOA(839559360);&lt;/div&gt;&lt;div&gt;   +----------------------+&lt;/div&gt;&lt;div&gt;   | INET_NTOA(839559360) |&lt;/div&gt;&lt;div&gt;   +----------------------+&lt;/div&gt;&lt;div&gt;   | 50.10.168.192        |&lt;/div&gt;&lt;div&gt;   +----------------------+&lt;/div&gt;&lt;div&gt;   1 row in set (0.00 sec)&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-6054607219280908310?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/6054607219280908310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/converting-ip-address-to-ip-number.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6054607219280908310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6054607219280908310'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/converting-ip-address-to-ip-number.html' title='converting IP address to IP number'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5593391894071630544</id><published>2009-07-16T11:31:00.003+03:00</published><updated>2009-07-16T11:42:30.650+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SpeechRecognitionEngine;Recognize;DictationGrammar;'/><title type='text'>Vista Speech Regognition API</title><content type='html'>This will teach your program to read text from the voice it "hears" using .NET 3&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;so this is how it goes :&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Go to the references of your project and add System.Speech.Recognition&lt;/li&gt;&lt;li&gt;Create a new instance of the SpeechRecognitionEngine&lt;br /&gt;SpeechRecognitionEngine sre = new SpeechRecognitionEngine(new CultureInfo("en-US"));&lt;/li&gt;&lt;li&gt;Set a file to read from  and a dictionary to use:&lt;br /&gt;sre.SetInputToWaveFile("c:\\test.wav");&lt;br /&gt;sre.LoadGrammar(new DictationGrammar());&lt;/li&gt;&lt;li&gt;Now read&lt;br /&gt;RecognitionResult rr = sre.Recognize();&lt;/li&gt;&lt;li&gt;If something fails inside the Recognize() then it returns null , otherwise rr.Text will get you the text you are looking for ;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;now the problem is and it stays unsolved , that out of the box , the engine does not usually hit the correct text . Good luck and mail me if you have ideas&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;            SpeechRecognitionEngine sre = new SpeechRecognitionEngine(new CultureInfo("en-US"));&lt;/div&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;           &lt;/div&gt;&lt;div&gt;            sre.SetInputToWaveFile("c:\\test.wav");&lt;/div&gt;&lt;div&gt;           &lt;/div&gt;&lt;div&gt;            sre.LoadGrammar(new DictationGrammar());&lt;/div&gt;&lt;div&gt;            RecognitionResult rr = sre.Recognize();&lt;/div&gt;&lt;div&gt;            if (rr != null)&lt;/div&gt;&lt;div&gt;            {&lt;/div&gt;&lt;div&gt;                Console.WriteLine(rr.Text);&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            else&lt;/div&gt;&lt;div&gt;            {&lt;/div&gt;&lt;div&gt;                Console.WriteLine("Recognition failed");&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            Console.ReadKey();&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5593391894071630544?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5593391894071630544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/vista-speech-regognition-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5593391894071630544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5593391894071630544'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/vista-speech-regognition-api.html' title='Vista Speech Regognition API'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7468111970162954887</id><published>2009-07-12T11:44:00.002+03:00</published><updated>2009-07-12T11:47:51.235+03:00</updated><title type='text'>Walkthrough: Creating a Windows Service Application in the Component Designer</title><content type='html'>The full step-by-stem straightforward guide from MSDN to create a Windows Service, all with Eventlog registration, action handling, Setup Project, installation and testing.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/zt39148a.aspx"&gt;http://msdn.microsoft.com/en-us/library/zt39148a.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For all your Visual Studio service-creation needs!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7468111970162954887?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7468111970162954887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/walkthrough-creating-windows-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7468111970162954887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7468111970162954887'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/walkthrough-creating-windows-service.html' title='Walkthrough: Creating a Windows Service Application in the Component Designer'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-8195269333655092035</id><published>2009-07-08T22:27:00.002+03:00</published><updated>2009-07-08T22:41:20.288+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='if statement; programming ; semicolon'/><title type='text'>Semicolon after the if statement</title><content type='html'>Too frequent mistake to stay quiet about : the semicolon ";" after the if statement &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;consider the code &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;if  (booleanMethod(s1,s2));&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;return true;&lt;span class="Apple-style-span"  style="color:#33CC00;"&gt; // will be executed anyway&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The code will return true in every case , because there is a semicolon after the if statement. The problem lays in the definition of the semicolon in modern languages such as C# and JAVA semicolon defines the ending of the statement and since the If statement doen't have to be followed by any other statement the true meaning of the upper code is : &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;if booleanMethod is true&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;do - nothing;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;return true;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;so if we want the code to return true only if booleanMethod is true the correct form would be without the semicolon after the if &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;if  (booleanMethod(s1,s2))&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;//&lt;span class="Apple-style-span"  style="color:#33CC00;"&gt; only if the if is true&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;return true;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-8195269333655092035?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/8195269333655092035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/semicolon-after-if-statement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8195269333655092035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8195269333655092035'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/semicolon-after-if-statement.html' title='Semicolon after the if statement'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2510206941118266388</id><published>2009-07-07T16:13:00.003+03:00</published><updated>2009-07-07T16:31:30.953+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Michael Kofler'/><title type='text'>Copying Microsoft SQL table to MySQL</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.kofler.cc/images/mssql2mysql-gui2-small.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 327px; height: 230px;" src="http://www.kofler.cc/images/mssql2mysql-gui2-small.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Performing and Performing once again; today, we need much quicker database access than we currently have: we have some Windows servers contacting with the sql database using Microsoft's SQLClient driver for accessing it. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The idea was to cache some frequently used data on the servers in the in memory databases. The problem was copying the tables' schema from the sql server to the mysql without doing in manually. So: &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I wanted to recommend the &lt;span class="Apple-style-span"   style="  white-space: pre-wrap; font-family:-webkit-monospace;font-size:13px;"&gt;&lt;a href="http://www.kofler.cc/mysql/mssql2mysql.html"&gt;Michael Kofler&lt;/a&gt; &lt;/span&gt;software . I used the gui versions and had only one problem : they both require the correct MySQL ODBC driver. I used the last version located at &lt;a href="http://dev.mysql.com/downloads/connector/odbc/3.51.html#winx64"&gt;http://dev.mysql.com/downloads/connector/odbc/3.51.html#winx64&lt;/a&gt; and nothing worked , because the MySql server version installed was not 64 bit (what a pitty ) therefore, reinstalling the &lt;span class="Apple-style-span"   style=" color: rgb(32, 32, 32);  line-height: 23px; font-family:verdana;font-size:13px;"&gt;Windows MSI Installer (x86) &lt;/span&gt;version solved the issue and the table had been copyed in notime &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks Micael&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2510206941118266388?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2510206941118266388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/copying-microsoft-sql-table-to-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2510206941118266388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2510206941118266388'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/copying-microsoft-sql-table-to-mysql.html' title='Copying Microsoft SQL table to MySQL'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-753977066670801748</id><published>2009-07-07T15:21:00.003+03:00</published><updated>2009-07-07T15:28:32.982+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='max_heap_table_size'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>MySQL Memory Table Size</title><content type='html'>If you're doing some Real Time processing with MySQL, you probably better use a Memory table and only eventually commit the results to a disk table.&lt;br /&gt;&lt;br /&gt;But if you do that with the default setting, you'll soon run out of memory on a 16MB table!!&lt;br /&gt;&lt;br /&gt;Don't worry, it is configurable!&lt;br /&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_max_heap_table_size"&gt;http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_max_heap_table_size&lt;/a&gt;&lt;br /&gt;(Note: this refers to MySQL 5.1 version, you may have another version. Also see page for other system configuration options)&lt;br /&gt;&lt;br /&gt;And to make a long story short, open MySQL Administrator --&gt; Health --&gt; System Variables --&gt; Memory --&gt; max_heap_table_size&lt;br /&gt;and set it to 268435456 (=256MB)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-753977066670801748?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/753977066670801748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/mysql-memory-table-size.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/753977066670801748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/753977066670801748'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/07/mysql-memory-table-size.html' title='MySQL Memory Table Size'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-3181610870877211375</id><published>2009-06-29T15:30:00.002+03:00</published><updated>2009-06-29T15:35:39.004+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Postback'/><title type='text'>Preventing Auto Postbacks</title><content type='html'>&lt;span style="font-family:arial;"&gt;Ever felt like ASP.NET web pages doing postback by themselves? Or better, someone click on Enter and instead clicking on the default button on the webpage, the page just "refreshing" itself.&lt;br /&gt;&lt;br /&gt;Well, try &lt;/span&gt;&lt;a href="http://www.aspsnippets.com/post/2009/05/21/Disable-Enter-key-in-TextBox-to-avoid-postback-in-ASPNet.aspx"&gt;&lt;span style="font-family:arial;"&gt;this great code snippets&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; in your body tag:&lt;br /&gt;BODY onkeydown = "return (event.keyCode!=13)"&lt;br /&gt;This code will prevent auto postback of your page when user clicks on Enter. More options are available in the mentioned webpage.&lt;br /&gt;&lt;br /&gt;Keep Performing!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-3181610870877211375?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/3181610870877211375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/preventing-auto-postbacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3181610870877211375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3181610870877211375'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/preventing-auto-postbacks.html' title='Preventing Auto Postbacks'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-55013393234654639</id><published>2009-06-21T14:22:00.001+03:00</published><updated>2009-06-21T14:23:44.508+03:00</updated><title type='text'>How to choose a PHP IDE?</title><content type='html'>Check out this great review of PHP IDE features, what you need, and which product has one.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/"&gt;The Big PHP IDE Test: Why Use One And Which To Choose&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-55013393234654639?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/55013393234654639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/how-to-choose-php-ide.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/55013393234654639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/55013393234654639'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/how-to-choose-php-ide.html' title='How to choose a PHP IDE?'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5999312182360854608</id><published>2009-06-16T15:46:00.004+03:00</published><updated>2009-06-16T15:52:10.034+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Log file'/><category scheme='http://www.blogger.com/atom/ns#' term='Shrink'/><title type='text'>Shrinking Your SQL Server Log File</title><content type='html'>&lt;span style="font-family:arial;"&gt;Well, did you ever found out that your MS SQL Server transaction log is just too large and its utilization is just too low (lets say 60GB size and only 100MB are used...) and SQL Server just don't let you shrink it?&lt;br /&gt;&lt;br /&gt;Well &lt;/span&gt;&lt;a href="http://blog.nerdbank.net/2006/07/how-to-empty-sql-server-database.html"&gt;&lt;span style="font-family:arial;"&gt;Andrew Arnott&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; found a great solution to get rid of this wasted space and truncate the log:&lt;br /&gt;&lt;br /&gt;backup log [dbname] with truncate_only&lt;br /&gt;go&lt;br /&gt;DBCC SHRINKDATABASE ([dbname], 10, TRUNCATEONLY)&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Keep Performing&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.rocketier.com/"&gt;&lt;span style="font-family:arial;"&gt;RockeTier 1 Billion Events per Day Development Team&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5999312182360854608?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5999312182360854608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/well-did-you-ever-found-out-that-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5999312182360854608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5999312182360854608'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/well-did-you-ever-found-out-that-your.html' title='Shrinking Your SQL Server Log File'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-3082869802589354625</id><published>2009-06-10T11:34:00.002+03:00</published><updated>2009-06-12T16:58:35.358+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Aluna'/><category scheme='http://www.blogger.com/atom/ns#' term='TPTP'/><category scheme='http://www.blogger.com/atom/ns#' term='FileSync'/><category scheme='http://www.blogger.com/atom/ns#' term='Bird'/><category scheme='http://www.blogger.com/atom/ns#' term='EMF'/><category scheme='http://www.blogger.com/atom/ns#' term='LOG4E'/><title type='text'>Eclipse plugins</title><content type='html'>&lt;span style="font-family:arial;"&gt;Morning there &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Yesterday I visited the &lt;span class="Apple-style-span" style="WHITE-SPACE: pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Aluna's "how to buid development enviroment in the Java / JavaEE world"&lt;/span&gt;&lt;/span&gt;; couple of words about it firstly: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;On the other side of the Whale center there was a dentists congress of something, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;and the most surreal thing there was an exhibition of the 3M tools for dentists right next to the ice cream and sweets... &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Now to business: I would like to write about some interesting eclipse plugins &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1. Tptp - Eclipse Test &amp;amp; Performance Tools Platform Project &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Test and performance tools platform &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Does not work with java 6 out of the box &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o For java 6 you need to download special agent. &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Supports unitests &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o More info -&lt;/span&gt;&lt;a href="http://www.eclipse.org/tptp/"&gt;&lt;span style="font-family:arial;"&gt; http://www.eclipse.org/tptp/ &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2. EMF - Eclipse Modeling Framework &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Provides the ability to create UML diagram \ class diagram and other design tools &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Provides simple modeling tools development framework &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;3. Bird&lt;/strong&gt;  &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Provides the ability to create reports &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;4. Log4e&lt;/strong&gt;&lt;/span&gt;&lt;a href="http://log4e.jayefem.de/"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;o Enriches your environment with the ability to create logging mechanism in your code . &lt;/span&gt;&lt;br /&gt;o More info - &lt;a href="http://log4e.jayefem.de/"&gt;http://log4e.jayefem.de/&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;5. FileSync &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;o Automatically copy every change in the eclipse to the file path. &lt;/span&gt;&lt;br /&gt;o More info -&lt;a href="http://andrei.gmxhome.de/filesync/index.html"&gt;http://andrei.gmxhome.de/filesync/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-3082869802589354625?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/3082869802589354625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/eclipse-plugins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3082869802589354625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3082869802589354625'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/eclipse-plugins.html' title='Eclipse plugins'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2286079310890680998</id><published>2009-06-07T16:22:00.002+03:00</published><updated>2009-06-07T16:24:15.776+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mapping'/><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><title type='text'>Hibernate Mapping Cheat Sheet</title><content type='html'>Ever been developing with Hibernate, and wished something would save your Time and Sanity? Here it is!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ndpsoftware.com/HibernateMappingCheatSheet.html"&gt;http://ndpsoftware.com/HibernateMappingCheatSheet.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2286079310890680998?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2286079310890680998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/hibernate-mapping-cheat-sheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2286079310890680998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2286079310890680998'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/hibernate-mapping-cheat-sheet.html' title='Hibernate Mapping Cheat Sheet'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7276206992391144726</id><published>2009-06-04T16:36:00.003+03:00</published><updated>2009-06-04T16:46:14.813+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='types'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><category scheme='http://www.blogger.com/atom/ns#' term='wsdl'/><title type='text'>Java Types and Annotations for Web Services</title><content type='html'>Sometimes you want to send data between different applications, different programming languages, different machines etc.&lt;br /&gt;&lt;br /&gt;One of the standard ways of doing so is using SOAP. Java has built in support for it, just define the following. And then call Endpoint.publish(url, new myClass()) and you're done.&lt;br /&gt;&lt;br /&gt;    @WebService()&lt;br /&gt;    @SOAPBinding(parameterStyle=ParameterStyle.WRAPPED,style=Style.RPC)&lt;br /&gt;    public class myClass {&lt;br /&gt;        @WebMethod(action="myMethod")&lt;br /&gt;        public myOutput myMethod(myInput p_input) {&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;Then of course you want your input and output to have some structure, so the other application and/or programming language would understand the WSDL.&lt;br /&gt;For that, see the following reference&lt;br /&gt;&lt;a href="http://download.oracle.com/docs/cd/B25221_04/web.1013/b25603/apptypemapping.htm"&gt;Mapping Java Types to XML and WSDL Types&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7276206992391144726?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7276206992391144726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/java-types-and-annotations-for-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7276206992391144726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7276206992391144726'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/java-types-and-annotations-for-web.html' title='Java Types and Annotations for Web Services'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-718040060327007633</id><published>2009-06-03T15:13:00.002+03:00</published><updated>2009-06-03T15:19:15.286+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='Projection'/><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><title type='text'>Hibernate again</title><content type='html'>This time , i'm posting here something that did not work for me , however i have found a nice workaround. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The hibernate projection will have to wait &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; "&gt;&lt;p&gt;&lt;b&gt;&lt;span style="font-family:Courier;"&gt;SELECT NAME FROM PRODUCT&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Here, the Projection class comes into play. The above query can be rewritten into a Criteria query as:&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style="font-family:Courier;"&gt;List products=session.createCriteria(Product.class)&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Courier;"&gt;&lt;b&gt;     . setProjection(Projection.property(\"name\"))&lt;br /&gt;&lt;/b&gt;&lt;b&gt;     .list();&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.devarticles.com/c/a/Java/Hibernate-Criteria-Queries-in-Depth/2/"&gt;http://www.devarticles.com/c/a/Java/Hibernate-Criteria-Queries-in-Depth/2/&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-718040060327007633?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/718040060327007633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/hibernate-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/718040060327007633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/718040060327007633'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/06/hibernate-again.html' title='Hibernate again'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-4693945015433758995</id><published>2009-05-25T09:52:00.002+03:00</published><updated>2009-05-25T10:01:26.730+03:00</updated><title type='text'>Working on two computers using Synergy</title><content type='html'>I'm working on my laptop, and have another computer next to me which I'm using as an debug server, and sometimes as an extra screen.&lt;br /&gt;The only physical connection between the two computer is being on the same LAN, but for me they are sitting together on the same desk.&lt;br /&gt;So after working a few hours with two keyboards and two mice, I realized there must be a better solution, someone had to have thought of one already!&lt;br /&gt;&lt;br /&gt;And so I found &lt;a href="http://synergy2.sourceforge.net/"&gt;Synergy&lt;/a&gt;! :-)&lt;br /&gt;Just a few minutes of configuration (inc. figuring out what all those ports, computer names, and screen edged mean), and I have my keyboard and mouse shared with the computer next to me.&lt;br /&gt;&lt;br /&gt;Like having multi-monitor configuration, just without ability to move windows between them, and with the processing power of both computer and physical separation between them!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-4693945015433758995?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/4693945015433758995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/working-on-two-computers-using-synergy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/4693945015433758995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/4693945015433758995'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/working-on-two-computers-using-synergy.html' title='Working on two computers using Synergy'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2038053597853969599</id><published>2009-05-20T13:24:00.003+03:00</published><updated>2009-05-20T14:33:30.722+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='culture info;date ; excel ; csv'/><title type='text'>Date format</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;Recently we have had a problem in csv export, that showed the dates in a different format after exporting some rows. &lt;div&gt;The problem file looked ok, but Microsoft Excel did not show it as we expected ,as showed up , because of the reason that the dates where in the en-US format ,and since we are Israelis, our computers work in he-IL , which is actually almost en-UK&lt;/div&gt;&lt;div&gt;&lt;img src="http://2.bp.blogspot.com/_-9ymhOyZq-Q/ShPn12IFkJI/AAAAAAAAA1g/Ktp61HLkoWQ/s320/orig.jpg" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 318px; height: 320px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5337864895612686482" /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;When a date is 5/10 , excel assumes that it is fith of october (wich is still wrong but we don't care as long as it is a date)  ;)  , however when the date is 5/16 excel files to recognize the 16-th month  (hextober, duh !) and shows the date as a string , wich driving our clients nuts &lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Great so far, because we know what is the problem but the solution was a little triky , because the whole application has culture preset to en-US and actually i was a little bit scarred to change it , therefore we used the dtColData.ToString("yyyy'-'MM'-'dd' 'HH':'mm':'ss") wich worked allright &lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2038053597853969599?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2038053597853969599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/date-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2038053597853969599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2038053597853969599'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/date-format.html' title='Date format'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-9ymhOyZq-Q/ShPn12IFkJI/AAAAAAAAA1g/Ktp61HLkoWQ/s72-c/orig.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7673490743960397025</id><published>2009-05-10T17:52:00.001+03:00</published><updated>2009-05-10T17:55:14.996+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><title type='text'>Hibernate - how to add a new table</title><content type='html'>&lt;div&gt;hibernate creating new table&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;checklist &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1.  create the table in the database&lt;/div&gt;&lt;div&gt;2.  create the class only members this time&lt;/div&gt;&lt;div&gt;3.  create the hbm.xml file with mapping of the class members to the &lt;/div&gt;&lt;div&gt;4.  update the hibernate.cfg.xml with the new hbm file you have created &lt;/div&gt;&lt;div&gt;5.  create the test - and make it fail  (c'mon in never works on the first time )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;more is comming &lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;foreign keys&lt;/li&gt;&lt;li&gt;pictures &lt;/li&gt;&lt;li&gt;more detailed how to&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7673490743960397025?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7673490743960397025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/hibernate-how-to-add-new-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7673490743960397025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7673490743960397025'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/05/hibernate-how-to-add-new-table.html' title='Hibernate - how to add a new table'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2979064773163600371</id><published>2009-04-16T13:20:00.003+03:00</published><updated>2009-04-16T13:48:19.935+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mouse cursor change'/><title type='text'>How to cause 'div' to behave like a button</title><content type='html'>Our graphics guys decided that is it a neat idea to use divs instead of normal html buttons at &lt;a href="http://bugsondemand.com"&gt;bugsondemand.com&lt;/a&gt;. Actually, I prefer buttons but hey.. I'm a stupid man , I would never appreciate a masterpice , a top of the design for me is &lt;a href="http://google.com/"&gt;google.com&lt;/a&gt; just boring input and two buttons.. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Anyway if you want to let your divs to behave like buttons when the mouse passes over, you need to change the mouse cursor to the pointer &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is how it is done :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;div id="BuyCredits2" style="this.style.cursor='pointer'"&amp;gt;&lt;br /&gt; &amp;lt;label style="this.style.cursor='pointer'"&amp;gt;Buy Credits&amp;lt;/label&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There are some more pointer options &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; default&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; auto&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; crosshair&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; hand&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; wait&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; help&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; text&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; move&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; n-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; s-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; e-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; w-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; ne-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; nw-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; se-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; sw-resize&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: tahoma; font-size: 13px; "&gt; pointer&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2979064773163600371?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2979064773163600371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/04/how-to-cause-div-to-behave-like-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2979064773163600371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2979064773163600371'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/04/how-to-cause-div-to-behave-like-button.html' title='How to cause &apos;div&apos; to behave like a button'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5533651482207757180</id><published>2009-04-13T19:28:00.003+03:00</published><updated>2009-04-13T19:46:59.987+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='clean'/><category scheme='http://www.blogger.com/atom/ns#' term='apache tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='UPDATE'/><title type='text'>Apache Tomcat's Cache Fushing</title><content type='html'>We have had a problem updating our &lt;a href="http://www.bugsondemand.com/"&gt;site &lt;/a&gt;content that at the end turned to be Tomcat cache.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Apearently, Apache Tomcat web server hat it own's cache and doenst refresh it too often. we fund that out asking Shahar Zehavi , our new Development Team Leader. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What was done :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Stop the Tomcat &lt;/li&gt;&lt;li&gt;Go to  "/home/&lt;i&gt;&lt;b&gt;USERNAME&lt;/b&gt;&lt;/i&gt;/apache-tomcat-6.0.18/work/Catalina/localhost"&lt;br /&gt;here are the files that will be deleted. &lt;/li&gt;&lt;li&gt;DELETE  :  \rm -rf * &lt;/li&gt;&lt;/ol&gt;&lt;div&gt;I belive that removing the file only will do the job as well , but hey .. when you are putting a new code you should let the old one go .. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;please note :  &lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;you have to change the &lt;span class="Apple-style-span" style="font-style: italic; font-weight: bold; "&gt;USERNAME&lt;/span&gt; to your coresponding username&lt;/li&gt;&lt;li&gt;be careful deleting &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Good luck &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5533651482207757180?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5533651482207757180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/04/apache-tomcats-cache-fushing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5533651482207757180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5533651482207757180'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/04/apache-tomcats-cache-fushing.html' title='Apache Tomcat&apos;s Cache Fushing'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5804392820255410401</id><published>2009-03-31T14:09:00.004+03:00</published><updated>2009-03-31T14:19:22.459+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Templates'/><category scheme='http://www.blogger.com/atom/ns#' term='Freeware'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>Need a quick and cheap website design ?</title><content type='html'>This is a site that gives lot's of nice designs (html and CSS ) for free&lt;div&gt;&lt;a href="http://www.opendesigns.org/view-designs/"&gt;http://www.opendesigns.org/view-designs/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please don't forget to check the license for the design: most of them are under &lt;/div&gt;&lt;div&gt;&lt;a href="http://creativecommons.org/licenses/"&gt;Creative Commons&lt;/a&gt; :&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; color: rgb(73, 73, 73); font-size: 12px; line-height: 22px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;You are free to copy, distribute, display, and perform the work, to make derivative works and to make commercial use of the work under the following conditions:&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;You must attribute the work in the manner specified by the author or licensor. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the copyright holder.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia; font-size: 16px; line-height: normal; "&gt;&lt;a href="http://creativecommons.org/licenses/publicdomain/"&gt;Public domain &lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"    style="font-family:Georgia;font-size:130%;color:#000000;"&gt;&lt;span class="Apple-style-span" style="font-size: 16px; line-height: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; color: rgb(73, 73, 73); font-size: 12px; line-height: 22px; "&gt;You are free to copy, distribute, display, and perform the work, to make derivative works and to make commercial use of the work.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;span class="Apple-style-span"    style="font-family:Georgia;font-size:130%;color:#000000;"&gt;&lt;span class="Apple-style-span" style="font-size: 16px; line-height: normal;"&gt;Or GNU &lt;a href="http://www.gnu.org/copyleft/gpl.html"&gt;GPL&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5804392820255410401?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5804392820255410401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/need-quick-and-cheap-website-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5804392820255410401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5804392820255410401'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/need-quick-and-cheap-website-design.html' title='Need a quick and cheap website design ?'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2336682351565603640</id><published>2009-03-30T08:22:00.004+03:00</published><updated>2009-03-30T08:30:23.654+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='classpath'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><title type='text'>Eclipse .classpath file relative paths</title><content type='html'>Hello All.&lt;br /&gt;&lt;br /&gt;One of the most annoying aspects of eclipse is the fact that you have to add jar files to your project if you want to use external libraries.&lt;br /&gt;Further more the configuration of these jar file is by default only using absolute paths, so when you try to move the project from one machine to another you need to delete pointers to old jars and add the new jar locations.&lt;br /&gt;&lt;br /&gt;We solved this problem by:&lt;br /&gt;1. putting all the project external jar files in a single library called lib in the project top level folder (trunk).&lt;br /&gt;2. Setup an eclipse classpath varible (see this link &lt;a href="http://www.informit.com/articles/article.aspx?p=367962"&gt;http://www.informit.com/articles/article.aspx?p=367962&lt;/a&gt; and look for figure 6-5&lt;br /&gt;&lt;br /&gt;In addition I added the .classpath file to the svn. We can now all use this file without modifications.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2336682351565603640?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2336682351565603640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/eclipse-classpath-file-relative-paths.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2336682351565603640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2336682351565603640'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/eclipse-classpath-file-relative-paths.html' title='Eclipse .classpath file relative paths'/><author><name>Shachar Zehavi</name><uri>http://www.blogger.com/profile/03819071017539917915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7417835639881955597</id><published>2009-03-29T16:37:00.003+03:00</published><updated>2009-03-29T16:53:36.387+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql injection'/><category scheme='http://www.blogger.com/atom/ns#' term='sysobjects'/><category scheme='http://www.blogger.com/atom/ns#' term='syscolumns'/><category scheme='http://www.blogger.com/atom/ns#' term='Object Explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><title type='text'>From my security consulting days</title><content type='html'>It seems that I'm getting rusty and forgetting the system structure of the mycrosoft database, however, my lazyness as my fame keeps me going&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This afretnoon, after the database has been changed once again due to the customers requirements (why oh why !?) and your servant had to update the webservice for supplying what the custommer wanted (remember the &lt;a href="http://asiapac.com.au/images/THE_SOFTWARE_DEVELOPMENT_PROJECT.jpg"&gt;webcomic&lt;/a&gt; right?) ... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So here I sit and checking the the table that had to update .. it seems that it is [tblByyyyReeee] that has a new collumn but grrr : the CopyPaste does not work here . Romi offers clicking on the table's name in the Object Explorer , but hey , there is a nice way to that&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Scratching my old security consulting days memories back there in &lt;a href="http://www.comsecglobal.com"&gt;Comsec &lt;/a&gt; here is &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;select * &lt;/div&gt;&lt;div&gt;from syscolumns &lt;/div&gt;&lt;div&gt;where id in(&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;select id &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;from sysobjects &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;where name = 'tblByyyyReeee'&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;P.S. this is how you steal the database using the simple &lt;a href="http://en.wikipedia.org/wiki/SQL_injection"&gt;SQL Injection Vulnerability &lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7417835639881955597?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7417835639881955597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/from-my-security-consulting-days.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7417835639881955597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7417835639881955597'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/from-my-security-consulting-days.html' title='From my security consulting days'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-8254051919679484967</id><published>2009-03-18T17:38:00.002+02:00</published><updated>2009-03-18T17:43:19.075+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sun'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>Sun plans to make the cloud cumputing service avalible</title><content type='html'>&lt;a href="http://www.sun.com/solutions/cloudcomputing/index.jsp"&gt;http://www.sun.com/solutions/cloudcomputing/index.jsp&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Arial; font-size: 13px; font-weight: bold; -webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; "&gt;At Sun, we envision a world of many clouds, both public and private, that are open and compatible. With our open cloud initiative, we plan to offer an extensive portfolio of products and services and to foster open communities and partner ecosystems, to make this vision a reality. It all starts with the delivery of the Sun Cloud, a public compute and storage cloud, which is due out later this year.&lt;/span&gt; they say &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We will wait and see. Wish them a lot of luck&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-8254051919679484967?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/8254051919679484967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/sun-plans-to-make-cloud-cumputing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8254051919679484967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8254051919679484967'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/sun-plans-to-make-cloud-cumputing.html' title='Sun plans to make the cloud cumputing service avalible'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-6072428980213007686</id><published>2009-03-18T12:38:00.014+02:00</published><updated>2009-03-18T12:49:06.626+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Ad Rotation'/><title type='text'>JavaScript Ad Rotation</title><content type='html'>We just tried to implement a small mini ad rotation for a demo. There so many examples for doing it on client side using JavaScript, but so many are just not working. Therefore, please find attached how to implement it in 3 steps:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Place the following code is jsRotate.js&lt;/strong&gt;&lt;br /&gt;function init() { // Specify the image files window.Pic = new Array(); window.Pic[0] = './images/ulogo0.jpg'; window.Pic[1] = './images/ulogo1.jpg'; window.Pic[2] = './images/ulogo2.jpg'; window.Pic[3] = './images/ulogo3.jpg'; window.Pic[4] = './images/ulogo4.jpg'; // Set slideShowSpeed (milliseconds) window.slideShowSpeed = 3000; // Duration of crossfade (seconds) var crossFadeDuration = 3; // No need to edit var t; window.j = 0; window.p = window.Pic.length; } function runSlideShow(){ if (document.all){ document.images.SlideShow.style.filter="blendTrans(duration=2)"; document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"; document.images.SlideShow.filters.blendTrans.Apply(); } document.images.SlideShow.src = window.Pic[j];//./images/ulogo3.jpg';//; if (document.all) { document.images.SlideShow.filters.blendTrans.Play(); } window.j = window.j + 1; if (window.j &gt; (window.Pic.length-1)) { window.j = 0; } t = setTimeout('runSlideShow()', window.slideShowSpeed); }&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;Add a reference to js file inside the head tag using the script tag:&lt;/strong&gt;&lt;br /&gt;...script language="javascript" src="./scripts/jsRotate.js"...&lt;br /&gt;&lt;br /&gt;3. &lt;strong&gt;Place the following code just before the /body tag&lt;/strong&gt; (ya, where you can find the Google Analytics code...)&lt;br /&gt;&lt;br /&gt;script language="JavaScript" type="text/javascript"... init(); runSlideShow(); ...script...&lt;br /&gt;&lt;script language="JavaScript" type="text/javascript"&gt;&lt;br /&gt;init(); runSlideShow();&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;strong&gt;It's so simple as 1,2,3...&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-6072428980213007686?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/6072428980213007686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/javascript-ad-rotation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6072428980213007686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6072428980213007686'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/javascript-ad-rotation.html' title='JavaScript Ad Rotation'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-6591897052238779750</id><published>2009-03-18T12:23:00.003+02:00</published><updated>2009-03-18T12:35:28.438+02:00</updated><title type='text'>Setup PHP Dev. environmnet  with IIS 7</title><content type='html'>Hello All.&lt;br /&gt;&lt;br /&gt;Here is what need to be done to setup php with eclipse IDE and run things with IIS&lt;br /&gt;1. Download php latest version and install it in a pah without blanks &lt;a href="http://www.php.net/downloads.php"&gt;http://www.php.net/downloads.php&lt;/a&gt; make sure that you select the IIS ISAPI deployment method when promted in the installation&lt;br /&gt;2. Setup the PHPRC environment variable to point to your installation&lt;br /&gt;3. Make sure that the PHP executables are added to your PATH&lt;br /&gt;4. update the php.ini in your php dir to allow short open tag (set short_open_tag = On)&lt;br /&gt;5.follow the instructions in &lt;a href="http://brh.numbera.com/blog/index.php/2008/03/09/setting-up-iis7-with-bonus-php-instructions/"&gt;http://brh.numbera.com/blog/index.php/2008/03/09/setting-up-iis7-with-bonus-php-instructions/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Have fun&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-6591897052238779750?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/6591897052238779750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/setup-php-dev-environmnet-with-iis-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6591897052238779750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6591897052238779750'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/setup-php-dev-environmnet-with-iis-7.html' title='Setup PHP Dev. environmnet  with IIS 7'/><author><name>Shachar Zehavi</name><uri>http://www.blogger.com/profile/03819071017539917915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5805274812080485072</id><published>2009-03-18T12:06:00.003+02:00</published><updated>2009-03-18T12:14:54.557+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='apache tomcat'/><title type='text'>How to setup Java Dev. Environmernt  (Java, Eclipse, Tomcat)</title><content type='html'>Hello All.&lt;br /&gt;&lt;br /&gt;You basically need two things:&lt;br /&gt;1. The Java JDK that can be downloaded from &lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;http://java.sun.com/javase/downloads/index.jsp&lt;/a&gt;&lt;br /&gt;2. Install JDK on your machine (in a path without blanks!!!).&lt;br /&gt;3. Setup the environment var JAVA_HOME to point to your new installation.&lt;br /&gt;3. download eclipse (choose the &lt;a class="packageTitle" href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-jee-ganymede-SR2-win32.zip"&gt;Eclipse IDE for Java EE Developers (163 MB)&lt;/a&gt;) package and unzip it in some folder &lt;a href="http://www.eclipse.org/downloads/"&gt;http://www.eclipse.org/downloads/&lt;/a&gt;&lt;br /&gt;4. download tomcat from the apache site &lt;a href="http://tomcat.apache.org/download-60.cgi"&gt;http://tomcat.apache.org/download-60.cgi&lt;/a&gt;&lt;br /&gt;5. Follow the instructions here to setup your env &lt;a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html"&gt;http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5805274812080485072?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5805274812080485072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/how-to-setup-java-dev-environmernt-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5805274812080485072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5805274812080485072'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/03/how-to-setup-java-dev-environmernt-java.html' title='How to setup Java Dev. Environmernt  (Java, Eclipse, Tomcat)'/><author><name>Shachar Zehavi</name><uri>http://www.blogger.com/profile/03819071017539917915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2254893097997935882</id><published>2009-02-24T15:04:00.002+02:00</published><updated>2009-02-24T15:11:26.996+02:00</updated><title type='text'>Getting output paramater with ExecuteReader()</title><content type='html'>When you have a stored procedure that return both a result set and a return value, and you use ExecuteReader() to get the result set, you can only get the output parameter when you close the reader!&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/310070&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;SqlCommand &lt;/span&gt;sqcMyProc = &lt;span style="color: rgb(0, 0, 153);"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 204, 204);"&gt;SqlCommand&lt;/span&gt;(&lt;span style="color: rgb(204, 0, 0);"&gt;"[dbo].spMyProc"&lt;/span&gt;, sqDBConnection);&lt;br /&gt;sqcMyProc.CommandType = CommandType.StoredProcedure;&lt;br /&gt;sqcMyProc.Parameters.Add(&lt;span style="color: rgb(0, 0, 153);"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 204, 204);"&gt;SqlParameter&lt;/span&gt;(&lt;span style="color: rgb(204, 0, 0);"&gt;"@nSomeParam"&lt;/span&gt;, SqlDbType.BigInt));&lt;br /&gt;sqcMyProc.Parameters[&lt;span style="color: rgb(204, 0, 0);"&gt;"Result"&lt;/span&gt;].Direction = ParameterDirection.ReturnValue;&lt;br /&gt;sqcMyProc.Prepare();&lt;br /&gt;&lt;span style="color: rgb(0, 204, 204);"&gt;SqlDataReader &lt;/span&gt;sqrMyProcReader = sqcMyProc.ExecuteReader();&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;if &lt;/span&gt;(sqrMyProcReader.Read())&lt;br /&gt;{&lt;br /&gt;    &lt;span style="color: rgb(51, 204, 0);"&gt;// read data&lt;/span&gt;&lt;br /&gt;}&lt;br /&gt;sqrMyProcReader.Close(); &lt;span style="color: rgb(51, 204, 0);"&gt;// output param only available after closing reader&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(&lt;span style="color: rgb(0, 0, 153);"&gt;int&lt;/span&gt;)sqcMyProc.Parameters[&lt;span style="color: rgb(204, 0, 0);"&gt;"Result"&lt;/span&gt;].Value; &lt;span style="color: rgb(51, 204, 0);"&gt;// here is the return value&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2254893097997935882?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2254893097997935882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/getting-output-paramater-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2254893097997935882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2254893097997935882'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/getting-output-paramater-with.html' title='Getting output paramater with ExecuteReader()'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-2714215600206035797</id><published>2009-02-22T19:02:00.003+02:00</published><updated>2009-02-22T19:06:37.076+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Join'/><category scheme='http://www.blogger.com/atom/ns#' term='UPDATE'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to Implement a Join between 2 Tables in T-SQL/SQL Server UPDATE Statement</title><content type='html'>Thanks for &lt;a href="http://support.jodohost.com/showthread.php?t=1045"&gt;WineIsGood&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;UPDATE tblA&lt;br /&gt;SET tblA.a_myField = tblB.b_newField&lt;br /&gt;FROM tblA, tblB&lt;br /&gt;WHERE tblA.a_b_id = tblB.b_id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-2714215600206035797?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/2714215600206035797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/how-to-implement-join-between-2-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2714215600206035797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/2714215600206035797'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/how-to-implement-join-between-2-tables.html' title='How to Implement a Join between 2 Tables in T-SQL/SQL Server UPDATE Statement'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-6965054259422347481</id><published>2009-02-22T16:39:00.001+02:00</published><updated>2009-02-22T16:40:26.767+02:00</updated><title type='text'>GigaSpaces XAP .NET-Java Interoperability</title><content type='html'>For all kind of data that you move between .NET and Java code that connects to GigaSpaces, please refer to this page to match types correctly:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gigaspaces.com/wiki/display/XAP66NET/.NET-Java+Interoperability"&gt;http://www.gigaspaces.com/wiki/display/XAP66NET/.NET-Java+Interoperability&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-6965054259422347481?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/6965054259422347481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/gigaspaces-xap-net-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6965054259422347481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6965054259422347481'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/gigaspaces-xap-net-java.html' title='GigaSpaces XAP .NET-Java Interoperability'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-3250978795207913991</id><published>2009-02-22T13:01:00.002+02:00</published><updated>2009-02-22T13:16:35.429+02:00</updated><title type='text'>Database Connection Open/Close</title><content type='html'>It seems trivial that you first open your connection, and eventually close it, but what happens when you're doing it in a loop, and one miss causes havoc forever until restart?&lt;br /&gt;&lt;br /&gt;Make sure you open only if it's not closed, you close only if it's not open, and handle every exception. See following code example:&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: rgb(0, 0, 153);"&gt;try &lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;//catch (Exception E)&lt;/span&gt;&lt;br /&gt;    {&lt;br /&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;try &lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;//finally close DB&lt;/span&gt;&lt;br /&gt;        {&lt;br /&gt;            &lt;span style="color: rgb(51, 204, 0);"&gt;// open only if not already open&lt;/span&gt;&lt;br /&gt;            &lt;span style="color: rgb(0, 0, 153);"&gt;if &lt;/span&gt;(oSqlConn.State!=&lt;span style="color: rgb(0, 204, 204);"&gt;ConnectionState&lt;/span&gt;.Open)&lt;br /&gt;                oSqlConn.Open();&lt;br /&gt;           &lt;br /&gt;            &lt;span style="color: rgb(51, 204, 0);"&gt;// *** READ FROM DATABASE ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;finally&lt;/span&gt;&lt;br /&gt;        {&lt;br /&gt;            &lt;span style="color: rgb(51, 204, 0);"&gt;// close only if not already closed&lt;/span&gt;&lt;br /&gt;            if (oSqlConn.State != &lt;span style="color: rgb(0, 204, 204);"&gt;ConnectionState&lt;/span&gt;.Closed)&lt;br /&gt;                oSqlConn.Close();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    &lt;span style="color: rgb(0, 0, 153);"&gt;catch &lt;/span&gt;(&lt;span style="color: rgb(0, 204, 204);"&gt;Exception &lt;/span&gt;E)&lt;br /&gt;    {&lt;br /&gt;        &lt;span style="color: rgb(51, 204, 0);"&gt;// handle exception&lt;/span&gt;&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-3250978795207913991?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/3250978795207913991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/database-connection-openclose.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3250978795207913991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3250978795207913991'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/database-connection-openclose.html' title='Database Connection Open/Close'/><author><name>Romi Kuntsman</name><uri>http://www.blogger.com/profile/09058630477854707438</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5315724521346312521</id><published>2009-02-22T11:35:00.004+02:00</published><updated>2009-02-22T12:02:24.731+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sdk'/><category scheme='http://www.blogger.com/atom/ns#' term='Feature Pack'/><category scheme='http://www.blogger.com/atom/ns#' term='Managment'/><category scheme='http://www.blogger.com/atom/ns#' term='SqlServer'/><category scheme='http://www.blogger.com/atom/ns#' term='Sfc'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Microsoft Visual Studio Error</title><content type='html'>After reintalling the pc I have faced an error while attempting to connect to the database (Microsoft SQL Server) from the Visual Studio.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The Error said:&lt;/div&gt;&lt;div&gt;'Microsoft.SqlServer.Managment.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of it's dependencies. The system cannot find the file specified &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The solution was very simple and I found&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; it on&lt;a href="http://www.aghausman.net/dotnet/could-not-load-file-or-assembly-microsoftsqlservermanagementsdksfc.html"&gt; &lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="color: rgb(255, 255, 255);  font-family:'Trebuchet MS';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;a href="http://www.aghausman.net/dotnet/could-not-load-file-or-assembly-microsoftsqlservermanagementsdksfc.html"&gt;Agha Usman Ahmed's blogg&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;you just have to install some components from here &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en#filelist"&gt;"&lt;/a&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Verdana;font-size:21px;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en#filelist"&gt;Microsoft SQL Server 2008 Feature Pack, August 2008&lt;/a&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Georgia;font-size:16px;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&amp;amp;displaylang=en#filelist"&gt;"&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;let's see if it works &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5315724521346312521?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5315724521346312521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/microsoft-visual-studio-error.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5315724521346312521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5315724521346312521'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/microsoft-visual-studio-error.html' title='Microsoft Visual Studio Error'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7254154557946930877</id><published>2009-02-18T16:31:00.008+02:00</published><updated>2009-06-12T16:54:57.289+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Implicitly Typed Local Variables'/><category scheme='http://www.blogger.com/atom/ns#' term='Automatic Properties'/><category scheme='http://www.blogger.com/atom/ns#' term='Object Initializers'/><category scheme='http://www.blogger.com/atom/ns#' term='Anonymous Types'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><category scheme='http://www.blogger.com/atom/ns#' term='Collection Initializers'/><title type='text'>C sharp 3 and LINQ</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;This morning I was in the Israeli office of some small start-up company from Seattle to listen to&lt;/span&gt;&lt;a href="http://blogs.microsoft.co.il/members/pavely.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/a&gt;&lt;span class="apple-style-span"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;a href="http://blogs.microsoft.co.il/members/pavely.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Pavel Yosifovich&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; from "&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Hi-&lt;/span&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(0,0,0)"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tech College"&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;. The guy showed some interesting stuff about C# 3. Some of them are well known, the others are less known and very useful.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;        &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384061.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384061.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384061.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Implicitly Typed Local&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(0,0,0)"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,51)"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384061.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; Variables&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-LEFT: 0.5in"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Just like in javascript :&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;var keys = data.Keys;&lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;   &lt;/span&gt;&lt;span class="Apple-style-span" style="FONT-WEIGHT: normal; COLOR: rgb(0,0,0)"&gt;&lt;span class="Apple-style-span" style="FONT-WEIGHT: bold; COLOR: rgb(51,51,51)"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;// Dictionary&lt;/span&gt;&lt;string, object=""&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.KeyCollection&lt;/span&gt;&lt;/STRING,&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/03/08/new-c-orcas-language-features-automatic-properties-object-initializers-and-collection-initializers.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;/a&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/03/08/new-c-orcas-language-features-automatic-properties-object-initializers-and-collection-initializers.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;   &lt;/span&gt;&lt;/a&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/03/08/new-c-orcas-language-features-automatic-properties-object-initializers-and-collection-initializers.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Automatic Properties&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public class Person {&lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;// C# 3.0&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public string FirstName { get; set; }&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public string LastName { get; set; }&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public int Age { get; set; }&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="LINE-HEIGHT: 115%"&gt;&lt;b&gt;&lt;span style="LINE-HEIGHT: 115%; Arial: color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Object Initializers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Person p = new Person() { &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;FirstName = "Bart", LastName = "Simpson", Age = 12&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;};&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;  &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384062.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;       &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384062.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb384062.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Collection Initializers&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;var people = new List&lt;/span&gt;&lt;person&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;() {&lt;/span&gt;&lt;/person&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new Person() { FirstName = "Bart", LastName = "Simpson", Age = 12 },&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new Person() { FirstName = "Clark", LastName = "Kent", Age = 35 },&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new Person() { FirstName = "Peter", LastName = "Parker", Age = 30 }&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;};&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpFirst" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;  &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb397696.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;       &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb397696.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb397696.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Anonymous Types&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraphCxSpLast"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;ar people = new[] {&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new { FirstName = "Clark", LastName = "Kent", Age = 36 },&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new { FirstName = "Peter", LastName = "parker", Age = 26 },&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;new { FirstName = "Bart", LastName = "Simpson", Age = 11 }&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;};&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;foreach (var i in people)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Console.WriteLine("{0} {1} ({2})", i.FirstName, i.LastName, i.Age);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbolfont-family:Symbol;color:#333333;"  &gt;&lt;span style="mso-list: Ignore"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;·&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;And my favorite :&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb383977.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; Extension Methods&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public static class MyExtensions {&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;public static string UpperLower(this string str, bool upperFirst) {&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;StringBuilder newString = new StringBuilder(str.Length);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 2"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;for (int i = 0; i &lt;&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 3"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                                                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;newString.Append(upperFirst ? char.ToUpper(str[i]) :&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 4"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                                                                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;char.ToLower(str[i]));&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;upperFirst = !upperFirst;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;return newString.ToString();&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; …..&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;string input = Console.ReadLine();&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Console.WriteLine("calling extension method for {0}: {1}", input, &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;input.UpperLower(true));&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="Arial: ;color:#333333;" &gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; all those things look nice and handy , but they&lt;/span&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(0,0,0)"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,51)"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; become really usefull when we are talking about &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/vcsharp/aa904594.aspx"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;LINQ &lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(51,51,51);font-family:Arial;" &gt;&lt;span class="Apple-style-span" style="COLOR: rgb(0,0,0); LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The LINQ Project is a codename for a set&lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; of extensions to the .NET Framework that encompass language-&lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;integrated query, set, and transform operations. &lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;It extends C# and Visual Basic with native &lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;language syntax for queries and provides &lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;class libraries to take advantage of these capabilities.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;.. and what does it mean ? &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Does it mean that we can&lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; finally quit using SQL. We are programmes! We know objects and hate sql!!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;This is how the famous Northwind database looks like &lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5304150631321573506" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 184px" alt="" src="http://2.bp.blogspot.com/_-9ymhOyZq-Q/SZwg5YcWGII/AAAAAAAAAzs/-Lj2M486kz4/s320/northwindLINQ.jpg" border="0" /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: normal; BORDER-COLLAPSE: separate; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0pxfont-family:Georgia;" &gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;..each box ,is translated to a class and then  translated to something like this &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;font-size:13;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-style-span" style="LINE-HEIGHT: 15px; BORDER-COLLAPSE: collapse; webkit-border-horizontal-spacing: 2px; webkit-border-vertical-spacing: 2pxfont-family:Verdana;font-size:13;"  &gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;[Table(Name="dbo.Categories")]&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;public partial class Category : INotifyPropertyChanging, INotifyPropertyChanged&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private int _CategoryID;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private string _CategoryName;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private string _Description;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private System.Data.Linq.Binary _Picture;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;private EntitySet&lt;product&gt; _Products;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;    #region Extensibility Method Definitions&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnLoaded();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnValidate(System.Data.Linq.ChangeAction action);&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnCreated();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnCategoryIDChanging(int value);&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnCategoryIDChanged();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnCategoryNameChanging(string value);&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnCategoryNameChanged();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnDescriptionChanging(string value);&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnDescriptionChanged();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnPictureChanging(System.Data.Linq.Binary value);&lt;/p&gt;&lt;p class="MsoNormal"&gt;    partial void OnPictureChanged();&lt;/p&gt;&lt;p class="MsoNormal"&gt;    #endregion&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;public Category()&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;{&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;this._Products = new EntitySet&lt;product&gt;(new Action&lt;product&gt;(this.attach_Products), new Action&lt;product&gt;(this.detach_Products));&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;OnCreated();&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;and finally might be used like this &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;NorthwindDataContext ctx = new NorthwindDataContext();&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;ctx.DeferredLoadingEnabled = false;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;DataLoadOptions opts = new DataLoadOptions();&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;opts.LoadWith&lt;category&gt;(c =&gt; c.Products);&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;ctx.LoadOptions = opts;&lt;/p&gt;&lt;p class="MsoNormal"&gt;-------&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;var categories = from c in ctx.Categories &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;select c;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;foreach (var category in categories) {&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;Console.WriteLine(category.Products.Count());&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;}&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;var result = ctx.SalesByCategory("Beverages", "1998");&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;foreach(var r in result)&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span class="Apple-tab-span" style="WHITE-SPACE: pre"&gt;&lt;/span&gt;Console.WriteLine("{0}, {1}", r.ProductName, r.TotalPurchase);&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7254154557946930877?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7254154557946930877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/c-sharp-3-and-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7254154557946930877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7254154557946930877'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/c-sharp-3-and-linq.html' title='C sharp 3 and LINQ'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-9ymhOyZq-Q/SZwg5YcWGII/AAAAAAAAAzs/-Lj2M486kz4/s72-c/northwindLINQ.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-8292810261908005806</id><published>2009-02-16T18:45:00.003+02:00</published><updated>2009-02-16T18:51:26.675+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unique ID'/><category scheme='http://www.blogger.com/atom/ns#' term='GUID'/><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='UUID'/><title type='text'>Hibernate Unique Ids</title><content type='html'>It seems that hibernate does not really like working with unique ids in the database (we experiemented it when using the embedded version in Gigaspaces).&lt;br /&gt;&lt;br /&gt;A way to overcome the issue, is adding a new field to the database, which will be used as unique field, and its value will be generated on the fly in the application level.&lt;br /&gt;&lt;br /&gt;The unique value can be generated using the relevant API (GUID in MS) and &lt;a href="http://www.javapractices.com/topic/TopicAction.do?Id=56"&gt;UUID&lt;/a&gt; in Java:&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;import java.util.UUID;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;public class GenerateUUID {    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;   public static final void main(String... aArgs) {    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;       //generate random UUIDs    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;      UUID idOne = UUID.randomUUID();    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;      UUID idTwo = UUID.randomUUID();    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;      log("UUID One: " + idOne);    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;      log("UUID Two: " + idTwo);  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;   }    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;   private static void log(Object aObject){    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;      System.out.println( String.valueOf(aObject) );  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;} &lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.javapractices.com/topic/TopicAction.do?Id=56"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-8292810261908005806?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/8292810261908005806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/hibernate-unique-ids.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8292810261908005806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/8292810261908005806'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/hibernate-unique-ids.html' title='Hibernate Unique Ids'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-6666258873325073394</id><published>2009-02-12T20:00:00.004+02:00</published><updated>2009-02-12T20:06:11.293+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Slow queries'/><category scheme='http://www.blogger.com/atom/ns#' term='Logging'/><category scheme='http://www.blogger.com/atom/ns#' term='Debugging'/><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><title type='text'>Hibernate: Log SQL Statements</title><content type='html'>It's very useful when debbuging Hiberante based system to be aware of the SQL output that is being sent to the database (like the old phrase Garbage In Garbage Out)&lt;br /&gt;There are two methods to do that:&lt;br /&gt;1. &lt;a href="http://www.javalobby.org/java/forums/t44119.html"&gt;Enable hiberante logging&lt;/a&gt;&lt;br /&gt;2. Enable the RDBMS log files, for example: &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/log-files.html"&gt;Enable MySQL SQL logging&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.javalobby.org/java/forums/t44119.html"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-6666258873325073394?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/6666258873325073394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/hibernate-log-sql-statements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6666258873325073394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/6666258873325073394'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/hibernate-log-sql-statements.html' title='Hibernate: Log SQL Statements'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-3466525085140896043</id><published>2009-02-03T21:35:00.000+02:00</published><updated>2009-02-03T21:37:56.144+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Best Practices'/><category scheme='http://www.blogger.com/atom/ns#' term='Branching'/><category scheme='http://www.blogger.com/atom/ns#' term='SVN'/><category scheme='http://www.blogger.com/atom/ns#' term='Code Management'/><category scheme='http://www.blogger.com/atom/ns#' term='SubVersion'/><title type='text'>SVN best practices and branching</title><content type='html'>&lt;a href="http://svn.collab.net/repos/svn/trunk/doc/user/svn-best-practices.html"&gt;Subversion Best Practices&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-3466525085140896043?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/3466525085140896043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/svn-best-practices-and-branching.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3466525085140896043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3466525085140896043'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/02/svn-best-practices-and-branching.html' title='SVN best practices and branching'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7534487049247103732</id><published>2009-01-22T10:20:00.000+02:00</published><updated>2009-01-22T10:24:47.331+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='development guide'/><category scheme='http://www.blogger.com/atom/ns#' term='owasp'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Security Development guide</title><content type='html'>&lt;div&gt;it's about time that i've done that :) &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;here are security best practices named "&lt;span class="Apple-style-span" style="font-family: -webkit-sans-serif; font-size: 19px; line-height: 19px; "&gt;OWASP Development Guide 2.0&lt;span class="Apple-style-span" style="font-family: Georgia; font-size: 16px; line-height: normal; "&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://prdownloads.sourceforge.net/owasp/OWASPGuide2.0.1.pdf?download"&gt;http://prdownloads.sourceforge.net/owasp/OWASPGuide2.0.1.pdf?download&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;it is highly recommended to at least review the documet since it has been written by Real proffecionals who are not being paid directly for writing this &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7534487049247103732?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7534487049247103732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/security-development-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7534487049247103732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7534487049247103732'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/security-development-guide.html' title='Security Development guide'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7548779582946389226</id><published>2009-01-19T16:16:00.000+02:00</published><updated>2009-01-19T16:18:30.402+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='position:relative'/><category scheme='http://www.blogger.com/atom/ns#' term='and float.'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS: position:static'/><category scheme='http://www.blogger.com/atom/ns#' term='position:absolute'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Learn CSS Positioning in Ten Steps</title><content type='html'>&lt;a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/"&gt;http://www.barelyfitz.com/screencast/html-training/css/positioning/&lt;/a&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: verdana; font-size: 12px; "&gt;This tutorial examines the different layout properties available in CSS: position:static, position:relative, position:absolute, and float.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: verdana; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;just read it &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7548779582946389226?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7548779582946389226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/learn-css-positioning-in-ten-steps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7548779582946389226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7548779582946389226'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/learn-css-positioning-in-ten-steps.html' title='Learn CSS Positioning in Ten Steps'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-3677231352829709878</id><published>2009-01-18T17:46:00.000+02:00</published><updated>2009-01-18T18:47:49.363+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='ModalPopupExtender'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Panel'/><title type='text'>Adding new popup window (modal) to a webpage</title><content type='html'>&lt;div style="text-align: left;"&gt;Adding new popup window (modal) to a webpage is not that hard, but can be a little tricky.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;let's describe how it should be done :&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li style="text-align: left;"&gt;We create an asp:Panel &lt;br /&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;We create an modalPopupExtender. It is located in the AjaxControlToolkit &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div style="text-align: left;"&gt;We Create a Hidden Button . Something has to be a trigger for a popup to show up. If you do that as I do , meaning you make a modal to show up on screen using a Javascript (latter) you still have to create a control to trigger the modal. That's why we create a asp:button.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&amp;lt;asp:button id="openModal1" runat="server"&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;asp:button id="openModal1" runat="server"&gt;&lt;div style="text-align: left;"&gt; &lt;br /&gt;&lt;/div&gt;&lt;/asp:button&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;Configuration &lt;/li&gt;&lt;li style="text-align: justify;"&gt;&lt;div style="text-align: left;"&gt;1-ModalPopupExtender :  &lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;TargetControlID should point to the button or the control we want to trigger the &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;popup&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; "&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;PopupControlID should point to the panel we want to open &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;(step 2 )&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; "&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;BehaviorID is the clientside name of the popup .. if we want to call it from  the HTML\javascript $find('behID').show(); will show up the popup . &lt;br /&gt;&lt;/span&gt;2-Panel the Id has to the the value in the PopupControlID&lt;/div&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;Then, we add the script that shows up the modal , something like :&lt;br /&gt;function onLoad(){&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;$find('behID').show();&lt;br /&gt;}&lt;/li&gt;&lt;li style="text-align: left;"&gt;note that the value in the brackets points to the behaviorID proterty of the ModalPopupExtender&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-3677231352829709878?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/3677231352829709878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/adding-new-popup-window-modal-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3677231352829709878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/3677231352829709878'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/adding-new-popup-window-modal-to.html' title='Adding new popup window (modal) to a webpage'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7730555194007679632</id><published>2009-01-11T12:46:00.000+02:00</published><updated>2009-01-11T12:49:49.601+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ampersand'/><category scheme='http://www.blogger.com/atom/ns#' term='webconfig'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>How to handle ampersands in webconfig</title><content type='html'>&lt;strong&gt;The problem: &lt;/strong&gt;&lt;br /&gt;inserting a value with ampersand in webconfig results with an error&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The &lt;/strong&gt;&lt;a href="http://bytes.com/groups/net/102327-how-ampersand-appsettings-value"&gt;&lt;strong&gt;solution&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;:&lt;/strong&gt;&lt;br /&gt;Try using &amp;amp; in place of the ampersand character or thedecimal code equivalent, when inserting variables to web config&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7730555194007679632?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7730555194007679632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/how-to-handle-ampersands-in-webconfig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7730555194007679632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7730555194007679632'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/how-to-handle-ampersands-in-webconfig.html' title='How to handle ampersands in webconfig'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-5740752550777080863</id><published>2009-01-06T23:01:00.000+02:00</published><updated>2009-01-06T23:06:57.164+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Velocity'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='Design Patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='web site testing'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><category scheme='http://www.blogger.com/atom/ns#' term='TDD'/><title type='text'>The latest Microsoft Academy III Presentations</title><content type='html'>See all &lt;a href="http://www.microsoft.com/israel/msdn/devacademy3/2.aspx"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ALM301 - Web Sites Testing with &lt;a href="http://www.microsoft.com/israel/msdn/vs2008/bb964615.mspx"&gt;Visual Studio Team System&lt;/a&gt; (Level 300)&lt;br /&gt;ALM302 - Test Driven Development (TDD) with &lt;a href="http://msdn.microsoft.com/en-us/vsts2008/products/bb933754.aspx"&gt;Visual Studio Team System&lt;/a&gt; (Level 300)&lt;br /&gt;ALM303 - Professional Developer Tools in Visual Studio Team System (Level 300)&lt;br /&gt;ARC202 - Architecting Real-World Enterprise Application – Considerations and Dilemmas (Level 200)&lt;br /&gt;ARC301 - "Velocity": Distributed Cache for Performance, Scalability and Availability (Level 300)&lt;br /&gt;DEV301 - HTTP Web Services with Windows Communication Foundation 3.5 (Level 300)&lt;br /&gt;DEV302 - Building Your First Great &lt;a href="http://www.microsoft.com/silverlight/default.aspx"&gt;Silverlight 2&lt;/a&gt; Application (Level 300)&lt;br /&gt;DEV303 - Integrating &lt;a href="http://www.microsoft.com/silverlight/default.aspx"&gt;Silverlight 2&lt;/a&gt; into Existing Web Sites (Level 300)&lt;br /&gt;DEV305 - Leverage &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/default.aspx"&gt;SQL Server 2008&lt;/a&gt; in Your .Net Code with &lt;a href="http://www.microsoft.com/israel/msdn/vs2008/bb931331.mspx"&gt;Visual Studio 2008 SP1&lt;/a&gt; (Level 300)&lt;br /&gt;DEV306 - Windows Azure: Building Web Sites and Services in the Cloud (Level 300)&lt;br /&gt;DEV308 - Internet Explorer 8 : What's New for Developers? (Level 300)&lt;br /&gt;DEV309 - Building Web Sites with ASP.NET MVC Framework (Level 300)&lt;br /&gt;DEV311 - Building Windows 7 and Windows Vista Compatible Applications (Level 300)&lt;br /&gt;DEV312 - Dynamic Languages and the .Net Framework (Level 300)&lt;br /&gt;DEV313 - Building Composite Applications in WPF (Level 300)&lt;br /&gt;DEV314 - Design Patterns – Learn From the Experience of Others (Level 200)&lt;br /&gt;DEV401 - ASP.NET Ajax Internals (Level 400)&lt;br /&gt;DEV402 - Concurrent Programming: From Thread Pool to Parallel Extensions (Level 400)&lt;br /&gt;DEV403 - A Deep Dive into LINQ (Level 400)&lt;br /&gt;DEV404 - Hardcore C#: Hidden Power and Flexibility (Level 400)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-5740752550777080863?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/5740752550777080863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/latest-microsoft-academy-iii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5740752550777080863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/5740752550777080863'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2009/01/latest-microsoft-academy-iii.html' title='The latest Microsoft Academy III Presentations'/><author><name>RockeTier Develpment Team</name><uri>http://www.blogger.com/profile/07929729625529511494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='25' src='http://2.bp.blogspot.com/_lLPkUEgD0bE/SVqK6kVP_RI/AAAAAAAAAAk/05NURL444zk/S220/rocklogo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2072896722482331315.post-7140801744381831472</id><published>2008-12-31T13:41:00.000+02:00</published><updated>2008-12-31T13:42:25.239+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='case'/><category scheme='http://www.blogger.com/atom/ns#' term='Inheritance'/><category scheme='http://www.blogger.com/atom/ns#' term='Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='if'/><category scheme='http://www.blogger.com/atom/ns#' term='Polymorphism'/><title type='text'>Refactoring -Inheritance, Polymorphism, &amp; Testing</title><content type='html'>This is a &lt;a href="http://www.youtube.com/watch?v=4F72VULWFvc&amp;feature=channel_page"&gt;video&lt;/a&gt; "The Clean Code Talks -- Inheritance, Polymorphism, &amp; Testing" &lt;br /&gt;The video talks about using Polymorphism instead of IF's and Cases&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2072896722482331315-7140801744381831472?l=rocketier-dev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rocketier-dev.blogspot.com/feeds/7140801744381831472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rocketier-dev.blogspot.com/2008/12/refactoring-inheritance-polymorphism.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7140801744381831472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2072896722482331315/posts/default/7140801744381831472'/><link rel='alternate' type='text/html' href='http://rocketier-dev.blogspot.com/2008/12/refactoring-inheritance-polymorphism.html' title='Refactoring -Inheritance, Polymorphism, &amp; Testing'/><author><name>Ilya Chernyakov</name><uri>http://www.blogger.com/profile/08616781011666391577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
