<?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-5150187996881383915</id><updated>2011-04-21T19:42:08.532+02:00</updated><category term='xml'/><category term='j2me'/><category term='ota'/><category term='msn'/><category term='nokia'/><category term='midlet'/><category term='sony ericsson'/><category term='3650'/><category term='convert'/><category term='tutorial'/><category term='session'/><category term='midp 2.0'/><category term='midp 1.0'/><category term='servlet'/><category term='msnp 13'/><category term='whitepaper'/><category term='motorola'/><category term='j2ee'/><category term='samsung'/><category term='sagem'/><category term='networking'/><category term='netbeans'/><title type='text'>JavaAndGeneralProgrammingNotes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-3180460154647116210</id><published>2007-05-31T10:02:00.000+03:00</published><updated>2007-05-31T10:18:42.076+03:00</updated><title type='text'>First opensource project i have involved :)</title><content type='html'>I have been working on a platform to create some services later, a contributor,                                                                                        Daniel Henninger                                                                                   , offered me to merge my work with his.&lt;br /&gt;&lt;br /&gt;Today, i have officially joined openrealtime opensource project, which is also very near to be given &lt;a href="http://linux.sys-con.com/general/readerschoice.htm"&gt;Enterprise Open Source Readers Choice Award.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_myuC3BX6hbw/Rl52KWdWJAI/AAAAAAAAABE/oBFG64avpRY/s1600-h/voting_graph.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_myuC3BX6hbw/Rl52KWdWJAI/AAAAAAAAABE/oBFG64avpRY/s320/voting_graph.gif" alt="" id="BLOGGER_PHOTO_ID_5070620150665192450" border="0" /&gt;&lt;/a&gt;I will try to contribute my works about instant messaging plugin, im-gateway and also Smack library.&lt;br /&gt;&lt;h1&gt;Open Realtime.&lt;/h1&gt;      &lt;!-- Ignite Real Time is the community site for Jive Software's open source      alternatives to enterprise instant messaging. --&gt; Ignite Realtime is the community site for the users and developers of Jive Software's open source Real Time Communications projects. Your involvement is helping to change the open RTC landscape.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-3180460154647116210?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/3180460154647116210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=3180460154647116210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/3180460154647116210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/3180460154647116210'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/05/first-opensource-project-i-have.html' title='First opensource project i have involved :)'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_myuC3BX6hbw/Rl52KWdWJAI/AAAAAAAAABE/oBFG64avpRY/s72-c/voting_graph.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-2809439793613772262</id><published>2007-05-22T21:07:00.000+03:00</published><updated>2007-05-22T21:13:52.797+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nokia'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Nokia 6230 Socket Problem</title><content type='html'>If you are trying to use a socket connection with a nokia 6230 (version 5.26 and lower), you will probably get an exception unless you sign your midlet.&lt;br /&gt;&lt;br /&gt;And unfortunately, nokia 6230 does not accept custom certificates. So the solution is to buy a CA certificate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-2809439793613772262?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/2809439793613772262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=2809439793613772262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/2809439793613772262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/2809439793613772262'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/05/nokia-6230-socket-problem.html' title='Nokia 6230 Socket Problem'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-4821231495492002354</id><published>2007-05-17T09:36:00.000+03:00</published><updated>2007-05-17T09:38:02.150+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nokia'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>UI Design and Programming in Nokia Phones</title><content type='html'>I strongly recommend you to watch the following visual presentation if you are interested in developing mobile applications for Nokia Phones.&lt;br /&gt;&lt;a href="http://sessions.sun.com/learning/javaoneonline/sessions/2006/TS-1281/index.html"&gt;http://sessions.sun.com/learning/javaoneonline/sessions/2006/TS-1281/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-4821231495492002354?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/4821231495492002354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=4821231495492002354' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/4821231495492002354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/4821231495492002354'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/05/ui-design-and-programming-in-nokia.html' title='UI Design and Programming in Nokia Phones'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-1396182274864638519</id><published>2007-05-15T10:41:00.000+03:00</published><updated>2007-05-15T10:52:53.461+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>How do you find bugs ?</title><content type='html'>Try this one, if you are a Netbeans user ;)&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/PluginPortal/faces/PluginListPage.jsp?form1:center_container:page_border:fixed_contentarea:fixed_contextbox:left_col:bottomPanel1:table:tableRowGroup:0:tableColumn1:groupPanel1:categoryDetailPanel:rightPanel:lnkReadMore_submittedField=form1:center_container:page_border:fixed_contentarea:fixed_contextbox:left_col:bottomPanel1:table:tableRowGroup:0:tableColumn1:groupPanel1:categoryDetailPanel:rightPanel:lnkReadMore"&gt;&lt;span style="text-decoration: underline;"&gt;FindBugs&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/5150187996881383915-1396182274864638519?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/1396182274864638519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=1396182274864638519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/1396182274864638519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/1396182274864638519'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/05/how-do-you-find-bugs.html' title='How do you find bugs ?'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-4242728499539602554</id><published>2007-04-13T21:34:00.000+02:00</published><updated>2007-04-13T21:36:32.909+02:00</updated><title type='text'>My Whitepaper on the Weekly Newsletter</title><content type='html'>&lt;a href="http://www.netbeans.org/community/news/newsletter/2007-04-10.html"&gt;http://www.netbeans.org/community/news/newsletter/2007-04-10.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-4242728499539602554?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/4242728499539602554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=4242728499539602554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/4242728499539602554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/4242728499539602554'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/04/my-whitepaper-on-weekly-newsletter.html' title='My Whitepaper on the Weekly Newsletter'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-1256456002504065627</id><published>2007-04-03T19:14:00.000+02:00</published><updated>2007-04-05T10:20:10.613+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='midp 1.0'/><category scheme='http://www.blogger.com/atom/ns#' term='midlet'/><category scheme='http://www.blogger.com/atom/ns#' term='msn'/><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><category scheme='http://www.blogger.com/atom/ns#' term='whitepaper'/><category scheme='http://www.blogger.com/atom/ns#' term='midp 2.0'/><title type='text'>A Mobile MSN Project</title><content type='html'>&lt;a href="http://wiki.netbeans.org/wiki/view/MobileMsnProject"&gt;My whitepaper&lt;/a&gt; about the mobile project i have been working on  for almost 13 months, has been released on &lt;a href="http://wiki.netbeans.org/"&gt;Netbeans Wiki. &lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_myuC3BX6hbw/RhKLkEXVrbI/AAAAAAAAAA0/Mo0_WktwpK4/s1600-h/Flowchart.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_myuC3BX6hbw/RhKLkEXVrbI/AAAAAAAAAA0/Mo0_WktwpK4/s320/Flowchart.jpg" alt="" id="BLOGGER_PHOTO_ID_5049251583998930354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you &lt;a href="http://blogs.sun.com/branajam/entry/netbeans_community_docs_the_home"&gt;James&lt;/a&gt;, for your valuable help publishing this whitepaper.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-1256456002504065627?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/1256456002504065627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=1256456002504065627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/1256456002504065627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/1256456002504065627'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/04/mobile-msn-project.html' title='A Mobile MSN Project'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_myuC3BX6hbw/RhKLkEXVrbI/AAAAAAAAAA0/Mo0_WktwpK4/s72-c/Flowchart.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-2346329237380474727</id><published>2007-02-17T00:13:00.000+02:00</published><updated>2007-03-08T12:08:50.033+02:00</updated><title type='text'>3 weeks in holland</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_myuC3BX6hbw/RdYsr7Akb6I/AAAAAAAAAAM/20MBij34IKY/s1600-h/cinto.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_myuC3BX6hbw/RdYsr7Akb6I/AAAAAAAAAAM/20MBij34IKY/s320/cinto.jpg" alt="" id="BLOGGER_PHOTO_ID_5032258766719184802" border="0" /&gt;&lt;/a&gt;I had been to Holland for 3 weeks for a mobile project that will go live in the next weeks. My lips are tied :) but i am planning to publish a detailed tutorial of the project in netbeans.org and java.sun.com . I am working on the tutorial and trying to get it ready for the review.&lt;br /&gt;&lt;br /&gt;and here are some guys dressed-up for the south holland festival, not only these guys all the south holland were dressed-up like that from 7 to 77.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_myuC3BX6hbw/RdYus7Akb7I/AAAAAAAAAAY/MrKaJNfUqiM/s1600-h/SNC10078.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_myuC3BX6hbw/RdYus7Akb7I/AAAAAAAAAAY/MrKaJNfUqiM/s320/SNC10078.jpg" alt="" id="BLOGGER_PHOTO_ID_5032260982922309554" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-2346329237380474727?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/2346329237380474727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=2346329237380474727' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/2346329237380474727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/2346329237380474727'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/3-weeks-in-holland.html' title='3 weeks in holland'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_myuC3BX6hbw/RdYsr7Akb6I/AAAAAAAAAAM/20MBij34IKY/s72-c/cinto.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-131895248213727251</id><published>2007-02-16T23:56:00.000+02:00</published><updated>2007-02-17T00:04:54.224+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='msnp 13'/><category scheme='http://www.blogger.com/atom/ns#' term='msn'/><title type='text'>adding contact in msnp 13</title><content type='html'>&lt;div class="content"&gt; &lt;div class="snap_preview"&gt;&lt;p&gt;in msnp13, you have to send the ADL and RML commands too, besides the SOAP requests to add/block/remove contact. Because SOAP requests saves your changes to the permanent addres book, but ADL and RML make changes in your current session to notify the target contac&lt;br /&gt;&lt;/p&gt;for blocking xxxx@hotmail.com, you have to send the following codes.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;&amp;lt; ADL 0 62&lt;br /&gt;&amp;lt;ml&amp;gt;&amp;lt;d n=”hotmail.com”&amp;gt;&amp;lt;c n=”xxxx” l=”4″ t=”1″ /&amp;gt;&amp;lt;/d&amp;gt;&amp;lt;/ml&amp;gt;&lt;br /&gt;&amp;gt;&amp;gt;ADL 0 OK&lt;br /&gt;&amp;lt;&amp;lt; RML 1 62&lt;br /&gt;&amp;lt;ml&amp;gt;&amp;lt;d n=”hotmail.com”&amp;gt;&amp;lt;c n=”xxxx” t=”1″ l=”2″ /&amp;gt;&amp;lt;/d&amp;gt;&amp;lt;/ml&amp;gt;&lt;br /&gt;&amp;gt;&amp;gt;RML 1 OK&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-131895248213727251?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/131895248213727251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=131895248213727251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/131895248213727251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/131895248213727251'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/adding-contact-in-msnp-13.html' title='adding contact in msnp 13'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-5225049444499803843</id><published>2007-02-16T23:47:00.000+02:00</published><updated>2007-02-16T23:53:39.094+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='servlet'/><category scheme='http://www.blogger.com/atom/ns#' term='session'/><title type='text'>advanced session management</title><content type='html'>In servlets, you really have a good control over the sessions. Forexample, here is a sample code from one of my server-client project;&lt;br /&gt;&lt;br /&gt;To set the timeout to 1 minute and register the client;&lt;br /&gt;&lt;code&gt;session.setMaxInactiveInterval(60);&lt;br /&gt;session.setAttribute("user",new Client(userID));&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To get the same client with every of its request;&lt;br /&gt;&lt;code&gt;Client client=(Client) session.getAttribute("user");&lt;br /&gt;int userID client.userID;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And here is our client class;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;public class Client implements HttpSessionBindingListener {&lt;br /&gt;public int userID;&lt;br /&gt;public Client(int&lt;br /&gt;userIDTMP) {&lt;br /&gt;userID = userIDTMP;&lt;br /&gt;}&lt;br /&gt;public void valueBound(HttpSessionBindingEvent event) {&lt;br /&gt;//Client Connected&lt;br /&gt;userConnected(userID);&lt;br /&gt;}&lt;br /&gt;public void valueUnbound(HttpSessionBindingEvent event) {&lt;br /&gt;//Client disconnected&lt;br /&gt;//Session expired or invalidated by the servlet.&lt;br /&gt;userDisconnected(userID)&lt;br /&gt;}&lt;br /&gt;}&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-5225049444499803843?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/5225049444499803843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=5225049444499803843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/5225049444499803843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/5225049444499803843'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/advanced-session-management.html' title='advanced session management'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-6407225763306308479</id><published>2007-02-16T23:38:00.000+02:00</published><updated>2007-02-16T23:39:56.431+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sony ericsson'/><category scheme='http://www.blogger.com/atom/ns#' term='nokia'/><category scheme='http://www.blogger.com/atom/ns#' term='sagem'/><category scheme='http://www.blogger.com/atom/ns#' term='samsung'/><category scheme='http://www.blogger.com/atom/ns#' term='motorola'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>canvas keycodes</title><content type='html'>Canvas keyCodes for some phones.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;//nokia, samsung, sony ericsson&lt;br /&gt;static int keyFire = -5;&lt;br /&gt;static int keyMenu = -6;&lt;br /&gt;static int keyCancel = -7;&lt;br /&gt;static int keyLeft = -3;&lt;br /&gt;static int keyRight = -4;&lt;br /&gt;static int keyUp = -1;&lt;br /&gt;static int keyDown = -2;&lt;br /&gt;&lt;br /&gt;//sagem (myX5-2)&lt;br /&gt;static int keyFire = -5;&lt;br /&gt;static int keyMenu = -7;&lt;br /&gt;static int keyCancel = -6;&lt;br /&gt;static int keyLeft = -3;&lt;br /&gt;static int keyRight = -4;&lt;br /&gt;static int keyUp = -1;&lt;br /&gt;static int keyDown = -2;&lt;br /&gt;&lt;br /&gt;//motorola (v3)&lt;br /&gt;static int keyFire = -20;&lt;br /&gt;static int keyMenu = -21;&lt;br /&gt;static int keyCancel = -22;&lt;br /&gt;static int keyLeft = -2;&lt;br /&gt;static int keyRight = -5;&lt;br /&gt;static int keyUp = -1;&lt;br /&gt;static int keyDown = -6;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-6407225763306308479?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/6407225763306308479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=6407225763306308479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/6407225763306308479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/6407225763306308479'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/canvas-keycodes.html' title='canvas keycodes'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-7655792015260277627</id><published>2007-02-16T23:36:00.000+02:00</published><updated>2007-02-16T23:37:38.229+02:00</updated><title type='text'>proxy in your java applications</title><content type='html'>&lt;code&gt;&lt;br /&gt;&lt;br /&gt;//Proxy port&lt;br /&gt;String port="";&lt;br /&gt;&lt;br /&gt;//Proxy host&lt;br /&gt;String host="";&lt;br /&gt;&lt;br /&gt;System.getProperties().put("proxySet","true");&lt;br /&gt;System.getProperties().put("proxyPort",port);&lt;br /&gt;System.getProperties().put("proxyHost",host);&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-7655792015260277627?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/7655792015260277627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=7655792015260277627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/7655792015260277627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/7655792015260277627'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/proxy-in-your-java-applications.html' title='proxy in your java applications'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-99497939891268291</id><published>2007-02-16T23:29:00.000+02:00</published><updated>2007-02-16T23:35:35.244+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='convert'/><title type='text'>xml string fixer</title><content type='html'>If you encounter the following error;&lt;br /&gt;&lt;br /&gt;"The entity name must immediately follow the ‘&amp;’ in the entity reference"&lt;br /&gt;&lt;br /&gt;you may filter the string, which you want to convert to xml document, with the following code.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;private String xmlFixer(String xmlString) {&lt;br /&gt;xmlString = xmlString.replaceAll("&amp;amp;([^; ]*);", "||VALIDXMLTAG||$1;");&lt;br /&gt;xmlString = xmlString.replaceAll("&amp;","&amp;amp;amp;");&lt;br /&gt;xmlString = xmlString.replaceAll("\\|\\|VALIDXMLTAG\\|\\|([^; ]*);", "&amp;$1;");&lt;br /&gt;return (xmlString);&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-99497939891268291?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/99497939891268291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=99497939891268291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/99497939891268291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/99497939891268291'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/xml-string-fixer.html' title='xml string fixer'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5150187996881383915.post-7801963946655894998</id><published>2007-02-15T17:25:00.000+02:00</published><updated>2007-02-16T23:46:29.296+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3650'/><category scheme='http://www.blogger.com/atom/ns#' term='ota'/><category scheme='http://www.blogger.com/atom/ns#' term='nokia'/><category scheme='http://www.blogger.com/atom/ns#' term='midp 1.0'/><category scheme='http://www.blogger.com/atom/ns#' term='midlet'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>nokia 3650 : “file is corrupted”</title><content type='html'>in nokia 3650, if you face "file is corrupted" error, while you are downloading an application with OTA, you can fix that issue by putting a midlet icon parameter to the jad file.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;...&lt;br /&gt;MIDlet-Icon: /res/icon2.png&lt;br /&gt;...&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5150187996881383915-7801963946655894998?l=javatome.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javatome.blogspot.com/feeds/7801963946655894998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5150187996881383915&amp;postID=7801963946655894998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/7801963946655894998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5150187996881383915/posts/default/7801963946655894998'/><link rel='alternate' type='text/html' href='http://javatome.blogspot.com/2007/02/nokia-3650-file-is-corrupted.html' title='nokia 3650 : “file is corrupted”'/><author><name>Mehmet Ecevit</name><uri>http://www.blogger.com/profile/08059060060282349943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.mehmetecevit.com/me2.jpg'/></author><thr:total>0</thr:total></entry></feed>
