<?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/'><id>tag:blogger.com,1999:blog-5935381</id><updated>2008-05-09T15:13:36.244Z</updated><title type='text'>Xyling Java Blog</title><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default?start-index=26&amp;max-results=25'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>570</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5935381.post-3315094472892401978</id><published>2007-09-26T18:13:00.000Z</published><updated>2007-12-19T11:17:05.354Z</updated><title type='text'>Check for a string to be in English using Java</title><summary type='text'> 
 This is useful especially if you are insanely bugged by the smart testers who love international characters being filled at the places where it is not required.

Here is the simple checking code. As always, if you have something better to share, please use comments.


public static boolean canEncode(String s, String cs)
{
try
{
ByteArrayOutputStream baos = new ByteArrayOutputStream();
Writer w</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/09/check-for-string-to-be-in-english-using.html' title='Check for a string to be in English using Java'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=3315094472892401978&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/3315094472892401978'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/3315094472892401978'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-6384285971520463743</id><published>2007-08-16T03:02:00.000Z</published><updated>2007-08-14T06:02:22.365Z</updated><title type='text'>AJAX Activity Indicators</title><summary type='text'>Do you want images like the one below to display during your Ajax calls?



Point to the title of this post to get many such activity indicators.</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/08/ajax-activity-indicators.html' title='AJAX Activity Indicators'/><link rel='related' href='http://www.napyfab.com/ajax-indicators/' title='AJAX Activity Indicators'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=6384285971520463743&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/6384285971520463743'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/6384285971520463743'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-2250027928236760283</id><published>2007-08-14T05:58:00.000Z</published><updated>2007-08-14T06:00:56.256Z</updated><title type='text'>Java accounts for 2.1% of India's GDP</title><summary type='text'>A report called "Java Economy in India: A Pessimistic Estimate", conducted by Prof Rajanish Dass and Prof Rashi Goyal of the Indian Institute of Management, Ahmedabad, has estimated the size of Indian Java economy at $14.65 billion for 2006, up from $11.27 billion a year ago.

Full story at the title of this post.</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/08/java-accounts-for-21-of-indias-gdp.html' title='Java accounts for 2.1% of India&apos;s GDP'/><link rel='related' href='http://timesofindia.indiatimes.com/NEWS/India_Business/Java_accounts_for_21_of_GDP/articleshow/1581514.cms?cid=920608' title='Java accounts for 2.1% of India&apos;s GDP'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=2250027928236760283&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/2250027928236760283'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/2250027928236760283'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-6965942472577211100</id><published>2007-05-21T08:38:00.000Z</published><updated>2007-05-22T07:06:22.727Z</updated><title type='text'>Snap with Scott McNealy</title><summary type='text'>This could be the first time that my blog readers would be seeing me and that too with Scott McNealy, the co-founder and Chairman of Sun Microsystems.




</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/05/snap-with-scott-mcnealy.html' title='Snap with Scott McNealy'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=6965942472577211100&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/6965942472577211100'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/6965942472577211100'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-762533993920451342</id><published>2007-05-18T18:50:00.000Z</published><updated>2007-05-18T18:53:50.425Z</updated><title type='text'>Highlights of the day in Sun Technology Summit 07 at Bangalore</title><summary type='text'>A fantastic day at the Sun Technolgoy Summit with Scott McNealy at Bangalore!


Registration area.



Waiting for scott...


Delegate!



Decent crowd.



Dias.

Anand Agarwalla has noted down points on his blog http://angraze.wordpress.com/2007/05/18/sun-technology-summit-07-bangalore/

[Resource-Type: Event; Category: Java; XRating: 4]</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/05/highlights-of-day-in-sun-technology.html' title='Highlights of the day in Sun Technology Summit 07 at Bangalore'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=762533993920451342&amp;isPopup=true' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/762533993920451342'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/762533993920451342'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-240723419449774417</id><published>2007-05-18T16:54:00.000Z</published><updated>2007-05-18T19:50:02.751Z</updated><title type='text'>Free! Free! Free!... the mantra of McNealy</title><summary type='text'>I was lucky to get in to the Hall1 of the Ball Room where more than 400 delegates were eagerly waiting to see McNealy. Sometimes arriving earlier helps :)



Scott McNealy Arrives


What he had to say:
Sun has open sourced many of the leading technolgoy and tools for the community out there.
Click and Wait...
Free... Free... Free... is the mantra! from Sun. Any legal issues can be directed to Sun</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/05/free-free-free-mantra-of-mcnealy.html' title='Free! Free! Free!... the mantra of McNealy'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=240723419449774417&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/240723419449774417'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/240723419449774417'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-1554725372088815409</id><published>2007-05-10T10:59:00.000Z</published><updated>2007-05-18T18:49:28.247Z</updated><title type='text'>Sun Technology Summit '07 - India</title><summary type='text'>Get ready to meet the legend - Chairman and Co-founder of Sun Microsystems, Scott McNealy - an innovator and leader in the IT industry.

He is going to be in town (Bangalore) to talk about the latest and hottest stuff relating to Java. Interested in joining?

Here are the details.

Venue: Taj Westend, Race Course Road, Bangalore
Date: 18th May, 2007
Timings: 09:00 am - 04:00 pm

Full details are </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/05/sun-technology-summit-07-india.html' title='Sun Technology Summit &apos;07 - India'/><link rel='related' href='http://www.sercononline.com/promos/apr/mcneally/home.html' title='Sun Technology Summit &apos;07 - India'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=1554725372088815409&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/1554725372088815409'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/1554725372088815409'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-1558032932405782678</id><published>2007-05-07T12:09:00.000Z</published><updated>2007-05-18T18:50:28.730Z</updated><title type='text'>Encrypting your password before storing in to the database.</title><summary type='text'>Have you ever felt the need to encrypt those plain text passwords you store in the database for your application authentication?
Would you like to encrypt the plain text in such a way that it can only be interpreted by your application and does not make sense for a naked eye?
Here is a simple code to encrypt a plain text.

public synchronized String encrypt(String plaintext) throws </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/05/encrypting-your-password-before-storing.html' title='Encrypting your password before storing in to the database.'/><link rel='related' href='http://www.devbistro.com/articles/Java/Password-Encryption' title='Encrypting your password before storing in to the database.'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=1558032932405782678&amp;isPopup=true' title='4 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/1558032932405782678'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/1558032932405782678'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-5194412572797601857</id><published>2007-04-19T21:13:00.000Z</published><updated>2007-05-18T18:46:19.152Z</updated><title type='text'>RSS feed of your application logs.</title><summary type='text'>How about getting RSS updates of your application logs?

Heres a sample and simple Log4J RSS appender.
The RSS Appender binary can be downloaded from the title of this page.

1. to log4j.appender.rss=org.lorecraft.rssappender.RSSAppender
2. log4j.appender.rss.port=1234
3. log4j.appender.rss.maxSize=10
4. log4j.appender.rss.layout=org.apache.log4j.PatternLayout
5. </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/04/rss-feed-of-your-application-logs.html' title='RSS feed of your application logs.'/><link rel='related' href='http://blog.lorecraft.com/downloads/rssappender/rssappender-0.1.jar' title='RSS feed of your application logs.'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=5194412572797601857&amp;isPopup=true' title='4 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/5194412572797601857'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/5194412572797601857'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116599241930684449</id><published>2007-04-18T06:46:00.000Z</published><updated>2007-04-19T07:42:34.898Z</updated><title type='text'>Configuration parameters - In database or in config files?</title><summary type='text'>Every application either accicentaly or by design, ends up having some system configuration parameters in the database and some in the configuration ( .ini or .xml or .config) files. But where are they better placed?

Pranshu Jain has written an excellent post to explain just this. Refer title of this post to read the full entry.

In a nutshell:
The config files are important in cases where </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/12/configuration-parameters-in-database.html' title='Configuration parameters - In database or in config files?'/><link rel='related' href='http://blogs.ittoolbox.com/java/pranshujain/archives/configuration-parameters-in-database-or-in-config-files-13413' title='Configuration parameters - In database or in config files?'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116599241930684449&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116599241930684449'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116599241930684449'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-4865619639725785444</id><published>2007-03-30T16:49:00.000Z</published><updated>2007-03-30T17:33:47.255Z</updated><title type='text'>How to get time information in java.sql.Date?</title><summary type='text'>The answser is, you cannot.
java.sql.Date does not store/retrieve any information related to time.

So, how do you solve the problem of saving the date with time in your database?

Simple... use java.sql.Timestamp. There are methods in java.sql.PreparedStatement and java.sql.Statement to set the timestamp.

For a detailed analysis and usage, point to the title of this post that takes you to "</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/03/how-to-get-time-information-in.html' title='How to get time information in java.sql.Date?'/><link rel='related' href='http://www.thunderguy.com/semicolon/2003/08/14/java-sql-date-is-not-a-real-date/' title='How to get time information in java.sql.Date?'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=4865619639725785444&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/4865619639725785444'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/4865619639725785444'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-17014514426858048</id><published>2007-03-27T19:07:00.000Z</published><updated>2007-03-27T19:09:14.398Z</updated><title type='text'>JavaScript Form Validation library</title><summary type='text'>There had been a sort of thanksgiving when developers found the life saving code for JavaScript Number validation.
Many of them asked for some or the other type of variant. e.g. can I have only alphanumeric checking script, can I have email checking script and what not.

Now, here is a life saver for all of us.  javascript-coder.com has a great library to make our life much much simpler. They </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2007/03/javascript-form-validation-library.html' title='JavaScript Form Validation library'/><link rel='related' href='http://www.javascript-coder.com/html-form/javascript-form-validation.phtml' title='JavaScript Form Validation library'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=17014514426858048&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/17014514426858048'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/17014514426858048'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116592386151518531</id><published>2006-12-12T11:44:00.000Z</published><updated>2006-12-12T11:46:30.886Z</updated><title type='text'>Java SE 6 is Available</title><summary type='text'>Sun Microsystems has officially announced the release of Java Platform, Standard Edition (SE) 6 with full support from NetBeans IDE 5.5. Whether working on Solaris, Linux, or Windows operating systems, Java applications can be deployed with confidence.

So whats new in this release?
XML &amp; Web Services
Scripting Language Support
Java DB and Database Support
More Desktop APIs
Compiler Access
</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/12/java-se-6-is-available.html' title='Java SE 6 is Available'/><link rel='related' href='http://java.sun.com/javase/6/leadthepack.jsp?cid=250606' title='Java SE 6 is Available'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116592386151518531&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116592386151518531'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116592386151518531'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116547559870568674</id><published>2006-12-07T07:10:00.000Z</published><updated>2006-12-07T07:13:18.733Z</updated><title type='text'>Quickly Understand Spring Framework</title><summary type='text'>If you are an absolute new to Spring Framework, this article (found at the title of this post) would certainly help.
It tells you the approach that has been used prior to Spring, what is the need for a framework like Spring and how to use the framework.

I liked the simple example presented and I am sure it will help as a quick start guide.

[Resource-Type: Article; Category: Java/J2EE, Spring; </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/12/quickly-understand-spring-framework.html' title='Quickly Understand Spring Framework'/><link rel='related' href='http://dev2dev.bea.com/pub/a/2006/10/spring-jdbc-dao.html' title='Quickly Understand Spring Framework'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116547559870568674&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116547559870568674'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116547559870568674'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116341691519031811</id><published>2006-11-13T11:18:00.000Z</published><updated>2006-12-05T09:33:40.636Z</updated><title type='text'>Free cell phones from Google?</title><summary type='text'>Google Inc.'s chief executive, Eric Schmidt, sees a future where mobile phones are free to consumers who accept watching targeted forms of advertising.

Schmidt acknowledged that mobile phones may never become totally free to the consumer. Newspapers are still not completely free a hundred years after they started relying on advertising, but they certainly are inexpensive, he noted.

Refer title </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/11/free-cell-phones-from-google.html' title='Free cell phones from Google?'/><link rel='related' href='http://money.cnn.com/2006/11/11/technology/bc.tech.google2.reut/' title='Free cell phones from Google?'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116341691519031811&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116341691519031811'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116341691519031811'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116307533368357315</id><published>2006-11-09T12:28:00.000Z</published><updated>2006-11-09T12:28:56.003Z</updated><title type='text'>Skype for bloggers</title><summary type='text'>Internet telephony provider Skype plans to offer bloggers and others the ability to hold audio chats in the next version of its net telephone product.

I guess this feature would help professional bloggers. Not sure if this could help other occassional blogger.
Would you like to see/integrate this server in blogs?

Refer story from "The Blogging Times" at the title of this post.</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/11/skype-for-bloggers.html' title='Skype for bloggers'/><link rel='related' href='http://www.thebloggingtimes.com/content/?p=1428' title='Skype for bloggers'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116307533368357315&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116307533368357315'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116307533368357315'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116046217561546359</id><published>2006-10-10T06:36:00.000Z</published><updated>2006-10-10T06:36:15.766Z</updated><title type='text'>Google Code Search - Only for geeks?</title><summary type='text'>Google launched code search (refer title of this post) for the software developer community. 

From this CNET news post, "Google expects that the search engine will be used primarily as a learning tool to help students and serious programmers, rather than a way to find and copy another person's code."

I had a first look at it and feel its a bit geeky. Although it supports both regular </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/10/google-code-search-only-for-geeks.html' title='Google Code Search - Only for geeks?'/><link rel='related' href='http://www.google.com/codesearch' title='Google Code Search - Only for geeks?'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116046217561546359&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116046217561546359'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116046217561546359'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-116021576528447247</id><published>2006-10-07T10:09:00.000Z</published><updated>2007-03-15T06:28:25.210Z</updated><title type='text'>Getting all IP addresses of local machine</title><summary type='text'>This is one code that saved hours for me. Thanks to "jguru" for sharing the code that gives me all the IP addresses associated with my system.

Simply calling InetAddress.getLocalHost().getHostAddress() cannot solve the problem as it may return only one IP address.

        Enumeration addrs = ni.getInetAddresses();

       while (addrs.hasMoreElements()) {
         InetAddress ia = (InetAddress)</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/10/getting-all-ip-addresses-of-local.html' title='Getting all IP addresses of local machine'/><link rel='related' href='http://www.jguru.com/faq/view.jsp?EID=777319' title='Getting all IP addresses of local machine'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=116021576528447247&amp;isPopup=true' title='3 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116021576528447247'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/116021576528447247'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-115995982054981104</id><published>2006-10-04T11:03:00.000Z</published><updated>2006-10-04T11:06:14.673Z</updated><title type='text'>SysML - Did you hear about it?</title><summary type='text'>SysML that stands for Systems Modeling Language grabbed my attention when I was searching for some UML related tools. Sparxsystems has a tool that supports SysML. 

If you have ever heard/learnt about it before, you may want to stop reading further :)

For me, after reading about SysML, it looked like an elder brother of UML and in fact they have similarities in their genes.

Now, what the heck </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/10/sysml-did-you-hear-about-it.html' title='SysML - Did you hear about it?'/><link rel='related' href='http://www.sysmlforum.com/FAQ.htm#When_will_SysML_v._1.0_tools_be_available' title='SysML - Did you hear about it?'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=115995982054981104&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115995982054981104'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115995982054981104'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-115791917096621573</id><published>2006-09-10T20:08:00.000Z</published><updated>2007-01-25T22:40:16.550Z</updated><title type='text'>Replacing a string in a file using Java</title><summary type='text'>This code can really prove to be a life saver (hope I am not exaggerating an hour of programmer's time ;)

This is about replacing a string from a file in a given directory.


       public static void replaceStringInFile(File dir, String fileName, String match, String replacingString){
        try {
            File file = new File(fileName);
            if(file.isDirectory()){
                /</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/09/replacing-string-in-file-using-java.html' title='Replacing a string in a file using Java'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=115791917096621573&amp;isPopup=true' title='6 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115791917096621573'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115791917096621573'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-107216201608355807</id><published>2006-09-05T06:46:00.000Z</published><updated>2006-09-05T12:48:21.276Z</updated><title type='text'>Three Rules for Effective Exception Handling</title><summary type='text'>Exceptions in Java provide a consistent mechanism for identifying and responding to error conditions. Effective exception handling will make your programs more robust and easier to debug. Exceptions are a tremendous debugging aid because they help answer these three questions:

What went wrong? 
Where did it go wrong? 
Why did it go wrong? 

Here are the three rules for effective exception </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/09/three-rules-for-effective-exception.html' title='Three Rules for Effective Exception Handling'/><link rel='related' href='http://today.java.net/lpt/a/57' title='Three Rules for Effective Exception Handling'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/107216201608355807'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/107216201608355807'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-114657694467328886</id><published>2006-08-30T01:35:00.000Z</published><updated>2006-11-08T22:28:32.960Z</updated><title type='text'>SchemaSpy - A nice database schema visualization tool</title><summary type='text'>SchemaSpy is a Java-based tool that analyzes the metadata of a schema in a database and generates a visual representation of it in a browser-displayable format.  It lets you click through the hierarchy of database tables via child and parent table relationships.   The browsing through relationships can occur though HTML links and/or though the graphical representation of the relationships.  It's </summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/08/schemaspy-nice-database-schema.html' title='SchemaSpy - A nice database schema visualization tool'/><link rel='related' href='http://schemaspy.sourceforge.net/' title='SchemaSpy - A nice database schema visualization tool'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=114657694467328886&amp;isPopup=true' title='0 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/114657694467328886'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/114657694467328886'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-115614408513981891</id><published>2006-08-21T07:07:00.000Z</published><updated>2006-09-20T05:50:08.826Z</updated><title type='text'>Bye Bye NetBeans</title><summary type='text'>I really feel sorry writing this but I can't stop myself. I remember my first consulting project that I took up for a financial firm and delivered successfully using NetBeans 3.5. Boy! I just fell in love with that IDE and since then I never looked elsewhere. 

I was till last month so much comfortable with the IDE that I simply can't code without it. Its like a brand of your whiskey or a coffee.</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/08/bye-bye-netbeans.html' title='Bye Bye NetBeans'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=115614408513981891&amp;isPopup=true' title='29 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115614408513981891'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115614408513981891'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-115226163296913999</id><published>2006-08-18T08:40:00.000Z</published><updated>2006-08-18T13:11:58.063Z</updated><title type='text'>Java USB Connectivity</title><summary type='text'>Although the Universal Serial Bus (USB) is an integral part of many computers, Java does not officially support USB. Getting your Java programs to interact with arbitrary USB devices thus requires either a third-party Java/USB API or your own Java/USB API. This article (click on the title of this post) introduces two third-party APIs and author Jeff Friesen's own API, which provides a partial USB</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/08/java-usb-connectivity.html' title='Java USB Connectivity'/><link rel='related' href='http://today.java.net/pub/a/today/2006/07/06/java-and-usb.html?page=1' title='Java USB Connectivity'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=115226163296913999&amp;isPopup=true' title='1 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115226163296913999'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115226163296913999'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-5935381.post-115443519213223408</id><published>2006-08-01T12:26:00.000Z</published><updated>2007-02-10T21:59:49.586Z</updated><title type='text'>Remove Duplicates from a List</title><summary type='text'>Thanks to Brian Kuhn (refer title of this post) for the following piece of code to to make a List contain unique items only.

On a side thought, would this chew up lot of cpu/memory? Feel free to post your comments.

public List removeDuplicates(List items) {
    Set set = new LinkedHashSet();
    set.addAll(items);
    return new ArrayList(set);
}

[Resource-Type: Source Code; Category: Java/</summary><link rel='alternate' type='text/html' href='http://javablogs.xyling.com/2006/08/remove-duplicates-from-list.html' title='Remove Duplicates from a List'/><link rel='related' href='http://briankuhn.com/?p=47' title='Remove Duplicates from a List'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5935381&amp;postID=115443519213223408&amp;isPopup=true' title='8 Comments'/><link rel='replies' type='application/atom+xml' href='http://javablogs.xyling.com/xjbatom.xml' title='Post Comments'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115443519213223408'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5935381/posts/default/115443519213223408'/><author><name>Xyling Technologies</name><uri>http://www.blogger.com/profile/17645787737188238470</uri><email>noreply@blogger.com</email></author></entry></feed>