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

<channel>
	<title>Nagesh Mandlem</title>
	<atom:link href="http://nageshmandlem.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nageshmandlem.wordpress.com</link>
	<description>Work, Patience &#38; Fun</description>
	<lastBuildDate>Fri, 14 May 2010 10:26:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nageshmandlem.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nagesh Mandlem</title>
		<link>http://nageshmandlem.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nageshmandlem.wordpress.com/osd.xml" title="Nagesh Mandlem" />
	<atom:link rel='hub' href='http://nageshmandlem.wordpress.com/?pushpress=hub'/>
		<item>
		<title>ORA-12154: TNS: could not resolve the connect identifier specified</title>
		<link>http://nageshmandlem.wordpress.com/2009/05/19/ora-12154-tns-could-not-resolve-the-connect-identifier-specified/</link>
		<comments>http://nageshmandlem.wordpress.com/2009/05/19/ora-12154-tns-could-not-resolve-the-connect-identifier-specified/#comments</comments>
		<pubDate>Tue, 19 May 2009 15:21:28 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=52</guid>
		<description><![CDATA[export TNS_ADMIN=/usr/lib/oracle/10.1.0.3/client the above location contains the tnsnames.ora.Also ensure that you also export, ORACLE_HOME variable. This should solve the issue, there could be syntax error in the file.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=52&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>export TNS_ADMIN=/usr/lib/oracle/10.1.0.3/client</p>
<p>the above location contains the tnsnames.ora.Also ensure that you also export, ORACLE_HOME variable. This should solve the issue, there could be syntax error in the file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=52&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2009/05/19/ora-12154-tns-could-not-resolve-the-connect-identifier-specified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Developer GUI/UI Issue</title>
		<link>http://nageshmandlem.wordpress.com/2009/05/19/sql-developer-guiui-issue/</link>
		<comments>http://nageshmandlem.wordpress.com/2009/05/19/sql-developer-guiui-issue/#comments</comments>
		<pubDate>Tue, 19 May 2009 13:12:44 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=47</guid>
		<description><![CDATA[Hi, Add the following line of code to the /opt/sqldeveloper/sqldeveloper.sh file at the beginning (before the start of sqldeveloper command) to resolve the issue export AWT_TOOLKIT=MToolkit<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=47&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Add the following line of code to the /opt/sqldeveloper/sqldeveloper.sh file at the beginning (before the start of sqldeveloper command) to resolve the issue</p>
<p>export AWT_TOOLKIT=MToolkit</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=47&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2009/05/19/sql-developer-guiui-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>flex proxy service</title>
		<link>http://nageshmandlem.wordpress.com/2009/02/18/flex-proxy-service/</link>
		<comments>http://nageshmandlem.wordpress.com/2009/02/18/flex-proxy-service/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 20:59:12 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=43</guid>
		<description><![CDATA[when we want to access a file or image or some service from third party server such as flickr , yahoo, google &#8230;etc and ans since we do not have control to create a cross-domain.xml policy file then we can use life cycle data services to get the access. Just download any life cycle data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=43&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>when we want to access a file or image or some service from third party server such as flickr , yahoo, google &#8230;etc and ans since we do not have control to create a cross-domain.xml policy file then we can use life cycle data services to get the access.</p>
<p>Just download any life cycle data services such as Blaze DS/LCDS/Granite DS and configure the proxy-config.xml to create a proxy service. This service will enable you the access to the third party service.</p>
<p>There are two ways to create a proxy based service..</p>
<ol>
<li>Default Proxy service</li>
</ol>
<p style="text-align:left;">In this case we use  &#8216;dynamic-url&#8217;  element &#8230;..</p>
<div class="codesnip-container" style="text-align:left;">
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;destination</span> <span class="re0">id</span>=<span class="st0">&#8220;DefaultHTTP&#8221;</span><span class="re2">&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;properties<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;dynamic-url<span class="re2">&gt;</span></span></span>http://cnn.com/*<span class="sc3"><span class="re1">&lt;/dynamic-url<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;dynamic-url<span class="re2">&gt;</span></span></span>http://news.yahoo.com/*<span class="sc3"><span class="re1">&lt;/dynamic-url<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/properties<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/destination<span class="re2">&gt;</span></span></span></div>
</div>
<p style="text-align:left;">and at the client side we can access them by specifying use-proxy attribute set to true..</p>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;mx:HTTPService</span> <span class="re0">url</span>=”http://cnn.com” <span class="re0">useProxy</span>=”true” <span class="re2">/&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;mx:WebService</span> <span class="re0">url</span>=”http://cnn.com/api?wsdl” <span class="re0">useProxy</span>=”true” <span class="re2">/&gt;</span></span></div>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re2"> 2. Named Proxy Service:</span></span></div>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re2">In this case we basically create a name called destination-id to your proxy-service and use this name at client side.. In this case we do not specify the url at the client side, we just need to use destination-id attribute. This helps to change urls  when ever you want to change and this does not require to compile the flex applications.</span></span></div>
<div class="codesnip" style="font-family:monospace;"></div>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re2">Ex:</span></span></div>
<div class="codesnip" style="font-family:monospace;">
<div class="codesnip-container">
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;destination</span> <span class="re0">id</span>=”CNNFeed”<span class="re2">&gt;</span></span><br />
<span class="sc3"><span class="re1">&lt;properties<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;url<span class="re2">&gt;</span></span></span>http://rss.cnn.com/rss/cnn_topstories.rss<span class="sc3"><span class="re1">&lt;/url<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/properties<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/destination<span class="re2">&gt;</span></span></span></div>
</div>
<p>To access a named proxy service from MXML:</p>
<div class="codesnip-container">
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;mx:HTTPService</span> <span class="re0">destination</span>=<span class="st0">&#8220;CNNFeed&#8221;</span> <span class="re0">useProxy</span>=<span class="st0">&#8220;true&#8221;</span> <span class="re2">/&gt;</span></span></div>
<div class="codesnip" style="font-family:monospace;"></div>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re2">For more details, please have a look at the following link&#8230;</span></span></div>
<div class="codesnip" style="font-family:monospace;"></div>
<div class="codesnip" style="font-family:monospace;"><span class="sc3"><span class="re2">http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&amp;postId=10284&amp;productId=2<br />
</span></span></div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=43&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2009/02/18/flex-proxy-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Class Loaders,Reading a Properties File</title>
		<link>http://nageshmandlem.wordpress.com/2008/12/29/class-loadersreading-a-properties-file/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/12/29/class-loadersreading-a-properties-file/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 18:33:52 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Java/J2EE]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=10</guid>
		<description><![CDATA[Class Loaders are a bit scary. But you can slay the beast when armed with the right information. There are 3 types of Class Loaders you can use: 1) The System ClassLoader 2) The Current ClassLoader 3) The Thread Context ClassLoader. You can access the System ClassLoader by calling ClassLoader.getSystemClassLoader(). In most J2EE application servers, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=10&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:x-small;font-family:Verdana,Arial;">Class Loaders are a bit scary. But you can slay the beast when armed with the right information. There are 3 types of Class Loaders you can use:<br />
1) The System ClassLoader<br />
2) The Current ClassLoader<br />
3) The Thread Context ClassLoader.</span></p>
<p>You can access the System ClassLoader by calling ClassLoader.getSystemClassLoader(). In most J2EE application servers, the System ClassLoader is too high in the hierarchy and will not find the resources packaged in your application’s EJB JAR or WAR. In JBoss, using the System ClassLoader is still a problem because the ClassLoader Repository holds references to all deployed applications, so you could easily have a naming conflict if more than one application uses the same class.</p>
<p>The Current ClassLoader is the ClassLoader that loaded the class that contains the method that’s currently executing. Class.getResource() and the one-parameter version of Class.forName() use the Current ClassLoader by default. The Current ClassLoader is a better choice than the System ClassLoader, but there are still problems with using the Current ClassLoader:<br />
• You may not know who calls your class, and the current ClassLoader could be up too high in the ClassLoader to find the resources that your class needs.<br />
• In JBoss, you could have the same naming conflict with Class Loader Repository that you had with the System ClassLoader.</p>
<p>You gain access to the current Thread Context ClassLoader by calling Thread.currentThread().getContextClassLoader(). The Thread Context ClassLoader is the ClassLoader used by the creator of the Thread that runs your code. The Thread Context ClassLoader works in a way that’s contrary to the Delegation Model by enabling a parent ClassLoader to access classes from any of its child ClassLoaders. Sometimes a parent ClassLoader needs to see classes that one of its child ClassLoaders instantiates at runtime. Use the Thread Context Class Loader for the following reasons:<br />
• In JBoss, you’re guaranteed to load the class or property file from your application by using the Thread Context ClassLoader. Even though the JBoss ClassLoader Repository may have the same class or property from several applications, the Thread Context ClassLoader picks the class or property that belongs to your application.<br />
• The EJB specification forbids EJBs to use the Current Class Loader, and since the System Class Loader isn’t a workable option, you’re left with the Thread Context ClassLoader. See the Programming Restrictions section in the EJB specification for further details.</p>
<p>So here&#8217;s the bottom line: Get the Thread Context ClassLoader so you can find your properties file in your EAR/WAR/EJB JAR. Here&#8217;s how to get the props file. First, use the following utility class:<br />
&#8212;<br />
import java.io.*;<br />
import java.net.*;<br />
import java.util.*;</p>
<p>public class ResourceLoader {</p>
<p>/**<br />
* Making the default (no arg) constructor private<br />
* ensures that this class cannnot be instantiated.<br />
*/<br />
private ResourceLoader() {}</p>
<p>public static Properties getAsProperties(String name) {<br />
Properties props = new Properties();<br />
URL url = ResourceLoader.getAsUrl(name);</p>
<p>if (url != null) {<br />
try {<br />
// Load the properties using the URL (from the CLASSPATH).</p>
<p>props.load(url.openStream());<br />
} catch (IOException e) {<br />
}<br />
}</p>
<p>return props;<br />
}</p>
<p>public static URL getAsUrl(String name) {<br />
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();</p>
<p>return classLoader.getResource(name);<br />
}</p>
<p>Note: I got this from some url..I will update the url once I get it..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=10&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/12/29/class-loadersreading-a-properties-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse Plugins Sites</title>
		<link>http://nageshmandlem.wordpress.com/2008/10/23/eclipse-plugins-sites/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/10/23/eclipse-plugins-sites/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 14:37:09 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=41</guid>
		<description><![CDATA[It is tiring job to get the plugins for eclipse 3.2 such as XML Editor. instead of this it is defintely a gud idea to get the latest Eclipse Version and work with it. Atleast I tried to get WTP tools but does not went my luck well. During this process, I came across with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=41&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is tiring job to get the plugins for eclipse 3.2 such as XML Editor. instead of this it is defintely a gud idea to get the latest Eclipse Version and work with it. Atleast I tried to get WTP tools but does not went my luck well. During this process, I came across with the following sites..</p>
<p> </p>
<p><a href="http://www.crionics.com/products/opensource/eclipse/eclipse.jsp">http://www.crionics.com/products/opensource/eclipse/eclipse.jsp</a></p>
<p> </p>
<p>A good pluing for XML : <a href="http://sourceforge.jp/projects/amateras/wiki/AmaterasIDE_2_0_5">http://sourceforge.jp/projects/amateras/wiki/AmaterasIDE_2_0_5</a></p>
<p>Easy ways to install eclipse plugins: <a href="http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/">http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=41&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/10/23/eclipse-plugins-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Servlets Connection Pooling JOCL</title>
		<link>http://nageshmandlem.wordpress.com/2008/08/15/servlets-connection-pooling-jocl/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/08/15/servlets-connection-pooling-jocl/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 11:51:23 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=27</guid>
		<description><![CDATA[Steps tp configure the Apache DBCP connection pooling with the help of jocl configuration file. 1) Get the tomcat-dbcp.jar 2) Place it in lib dir of your webapp 3) Write one ServletContextListerner class and configure it in the web.xml 4) Load the driver classes database driver and pooldriver in the contextInitialized method try { Class.forName(&#8220;driverClassName&#8221;)); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=27&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Steps tp configure the Apache DBCP connection pooling with the help of jocl configuration file.</p>
<p>1) Get the tomcat-dbcp.jar</p>
<p>2) Place it in lib dir of your webapp</p>
<p>3) Write one ServletContextListerner class and configure it in the web.xml</p>
<p>4) Load the driver classes database driver and pooldriver in the contextInitialized method</p>
<p>try {<br />
Class.forName(&#8220;driverClassName&#8221;));<br />
Class.forName( org.apache.tomcat.dbcp.dbcp.PoolingDriver);<br />
}<br />
catch (ClassNotFoundException e) {<br />
throw e;<br />
}</p>
<p>5) Write a function to get the object from connection pool object</p>
<p>public static Connection getConnection() throws Exception {<br />
Connection connection=null;</p>
<p>try {<br />
connection= DriverManager.getConnection(&#8220;jdbc:apache:commons:dbcp:/dbconn&#8221;);<br />
System.out.println(&#8220;Conn : &#8221; + conn);<br />
}<br />
catch(SQLException e) {<br />
log4j.error(&#8220;SQL Connection Exception : &#8220;);<br />
throw e;<br />
}<br />
return connection;</p>
<p>}</p>
<p>6 ) Configure jocl file :</p>
<p>&lt;object class=&#8221;org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory&#8221; xmlns=&#8221;http://apache.org/xml/xmlns/jakarta/commons/jocl&#8221;&gt;<br />
&lt;!&#8211;<br />
The first argument to PoolableConnectionFactory is a ConnectionFactory.<br />
We&#8217;ll use a DriverManagerConnectionFactory, passing in the appropriate<br />
connect string for the underlying driver.<br />
&#8211;&gt;<br />
&lt;object class=&#8221;org.apache.tomcat.dbcp.dbcp.DriverManagerConnectionFactory&#8221;&gt;<br />
&lt;string value=&#8221;$JDBC_URL&#8221; /&gt;<br />
&lt;!&#8211; Database(DB) Username &#8211;&gt;<br />
&lt;string value=&#8221;sa&#8221; /&gt;<br />
&lt;!&#8211; DB password &#8211;&gt;<br />
&lt;string value=&#8221;sa&#8221;/&gt;<br />
&lt;/object&gt;</p>
<p>&lt;!&#8211;<br />
The next argument is the pool to use. We&#8217;ll use a GenericObjectPool,<br />
although any implementation of ObjectPool should suffice.<br />
&#8211;&gt;<br />
&lt;object class=&#8221;org.apache.tomcat.dbcp.pool.impl.GenericObjectPool&#8221;&gt;<br />
&lt;object class=&#8221;org.apache.tomcat.dbcp.pool.PoolableObjectFactory&#8221; null=&#8221;true&#8221;/&gt;<br />
&lt;int value=&#8221;10&#8243;/&gt;        &lt;!&#8211; max active &#8211;&gt;<br />
&lt;byte value=&#8221;1&#8243;/&gt;        &lt;!&#8211; when exhaust action &#8211;&gt;<br />
&lt;long value=&#8221;2000&#8243;/&gt;    &lt;!&#8211; max wait &#8211;&gt;<br />
&lt;int value=&#8221;10&#8243;/&gt;        &lt;!&#8211; max idle &#8211;&gt;<br />
&lt;boolean value=&#8221;true&#8221;/&gt;    &lt;!&#8211; test on borrow false/true &#8211;&gt;<br />
&lt;boolean value=&#8221;true&#8221;/&gt;    &lt;!&#8211; test on return false/true &#8211;&gt;<br />
&lt;long value=&#8221;10000&#8243;/&gt;    &lt;!&#8211; time between eviction runs &#8211;&gt;<br />
&lt;int value=&#8221;5&#8243;/&gt;        &lt;!&#8211; number of connections to test per eviction run &#8211;&gt;<br />
&lt;long value=&#8221;5000&#8243;/&gt;    &lt;!&#8211; min evictable idle time &#8211;&gt;<br />
&lt;boolean value=&#8221;true&#8221;/&gt;    &lt;!&#8211; test while idle &#8211;&gt;<br />
&lt;/object&gt;</p>
<p>&lt;!&#8211;<br />
The next argument is the KeyedObjectPoolFactory to use to create pools<br />
for storing PreparedStatements.  This functionality is optional, can be defined as null.</p>
<p>&lt;object class=&#8221;org.apache.tomcat.dbcp.pool.KeyedObjectPoolFactory&#8221; null=&#8221;true&#8221;/&gt;</p>
<p>&#8211;&gt;</p>
<p>&lt;object class=&#8221;org.apache.tomcat.dbcp.pool.KeyedObjectPoolFactory&#8221; null=&#8221;true&#8221;/&gt;</p>
<p>&lt;string value=&#8221;<strong>SELECT COUNT(*) FROM user</strong>&#8220;/&gt;    &lt;!&#8211; Validation Query &#8211;&gt;<br />
&lt;boolean value=&#8221;false&#8221;/&gt;    &lt;!&#8211; Read Only &#8211;&gt;<br />
&lt;boolean value=&#8221;true&#8221;/&gt;        &lt;!&#8211; Auto Commit &#8211;&gt;</p>
<p>&lt;/object&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nageshmandlem.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nageshmandlem.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=27&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/08/15/servlets-connection-pooling-jocl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Log4j vs java.util.logging</title>
		<link>http://nageshmandlem.wordpress.com/2008/07/28/log4j-vs-javautillogging/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/07/28/log4j-vs-javautillogging/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 06:54:21 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=25</guid>
		<description><![CDATA[http://java.sys-con.com/read/48541_2.htm<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=25&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://java.sys-con.com/read/48541_2.htm</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nageshmandlem.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nageshmandlem.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=25&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/07/28/log4j-vs-javautillogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL GUI Tool &#8211; DreamCoder</title>
		<link>http://nageshmandlem.wordpress.com/2008/07/25/mysql-gui-tool-dreamcoder/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/07/25/mysql-gui-tool-dreamcoder/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 17:24:42 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=22</guid>
		<description><![CDATA[It is quite much time, windows developers are looking for good MySQL GUI tool. I see the following URL has a very gud tool for MySQL. It has free edition which is sufficient for most of our purposes. DreamCoder for MySQL http://www.sqldeveloper.net/download.html#dcmysql<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=22&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is quite much time, windows developers are looking for good MySQL GUI tool. I see the following URL has a very gud tool for MySQL. It has free edition which is sufficient for most of our purposes.</p>
<p><span class="style11"><strong>DreamCoder for MySQL</strong></span></p>
<p>http://www.sqldeveloper.net/download.html#dcmysql</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nageshmandlem.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nageshmandlem.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=22&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/07/25/mysql-gui-tool-dreamcoder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>MySql root password reset</title>
		<link>http://nageshmandlem.wordpress.com/2008/06/26/mysql-root-password-reset/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/06/26/mysql-root-password-reset/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 10:35:32 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=17</guid>
		<description><![CDATA[Stop mysqld and restart it with: # service mysqld stop # mysqld_safe --skip-grant-tables --user=root Connect to the mysqld server with this command: sql&#62; mysql -u root Issue the following statements in the mysql client: mysql&#62; UPDATE mysql.user SET Password=PASSWORD('newpassword') WHERE User='root'; mysql&#62; FLUSH PRIVILEGES;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=17&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol>
<li>Stop mysqld and restart it with:
<pre># service mysqld stop
# mysqld_safe --skip-grant-tables --user=root</pre>
</li>
<li>Connect to the mysqld server with this command:
<pre>sql&gt; mysql -u root</pre>
</li>
<li>Issue the following statements in the mysql client:
<pre>mysql&gt; UPDATE mysql.user SET Password=PASSWORD('newpassword') WHERE User='root';
mysql&gt; FLUSH PRIVILEGES;</pre>
</li>
</ol>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nageshmandlem.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nageshmandlem.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=17&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/06/26/mysql-root-password-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
		<item>
		<title>XMLSocket: Receiver Call Back &amp; Java</title>
		<link>http://nageshmandlem.wordpress.com/2008/06/11/xmlsocket-receiver-call-back-java/</link>
		<comments>http://nageshmandlem.wordpress.com/2008/06/11/xmlsocket-receiver-call-back-java/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 16:00:19 +0000</pubDate>
		<dc:creator>Nagesh</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java/J2EE]]></category>

		<guid isPermaLink="false">http://nageshmandlem.wordpress.com/?p=13</guid>
		<description><![CDATA[When one uses XMLSocket to connect to Java Programs or any C# Programs, and these backend programs try to write their own utilities&#8230;you&#8217;ll c that the receiver call back will not be triggered. The reason is that XMLSocket expects a zero byte(0) at then end of the string. So make sure to write 0 or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=13&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When one uses XMLSocket to connect to Java Programs or any C# Programs, and these backend programs try to write their own utilities&#8230;you&#8217;ll c that the receiver call back will not be triggered. The reason is that XMLSocket expects a zero byte(0) at then end of the string. So make sure to write 0 or 00 value at the end of the each write using Outputstream.write(int ) method.</p>
<p>For example if you wanna to say ur frnd &#8220;Is this really a gud implementation of XMlSocket? &#8221; then you need to send like this</p>
<p>//Accept connection</p>
<p>Socket socketFromClient=server.accept();</p>
<p>//Get output stream OutputStreamWriter flexXMLSocketOutputStreamWriter= new OutputStreamWriter(socketFromClient.getOutputStream());</p>
<p>//Write it</p>
<p>writer.write(&#8220;Is this really a gud implementation of XMlSocket?&#8221;);</p>
<p>writer.write(00);</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nageshmandlem.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nageshmandlem.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nageshmandlem.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nageshmandlem.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nageshmandlem.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nageshmandlem.wordpress.com&amp;blog=2178308&amp;post=13&amp;subd=nageshmandlem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nageshmandlem.wordpress.com/2008/06/11/xmlsocket-receiver-call-back-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1790fd0adb4a2013b6e6f37769111eab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nagesh</media:title>
		</media:content>
	</item>
	</channel>
</rss>
