Tuesday, February 08, 2005

Fast XML -- Binary XML ??

There is always a concern on the speed and size of XML though people undoubtedly hail XML's interoperatbility. But with these concerns now there is a new and emerging concept called Binary XML (Refer : Fast Infoset Project). If Binary XML develops there is a possibility that interoperability may not be possible. There are also effort to create standardized Binary XML format, possibility of which remains to be seen. I feel that the interoperability is the greatest advantage of XML and must be preserved at any cost. Lets see how the show turns up!

Monday, February 07, 2005

Desktop Search - Copernic

I find this Copernic Desktop Search better than Google and MSN! Finding music, videos, photos, PDF, DOC, XLS etc is easy. But must be configured properly so that it wont peg your CPU all the time.

Environment varible size in Windows

How to get around the problem of environment variable size in Windows?

Sometimes we may need to set PATH variable (or anyother variable) but the content may be "large" (max 255 characters in some flavours of Microsoft Windows). In order to over come this we can use subst command.

subst is a command to assign a Virtual drive for the given path. For example

subst m: C:\myproject\classes

The set CLASSPATH=m:;C:\otherproject\classes;C:\vendor1\classes;
C:\vendor2\classes;.... ..... .... ... ........

Thanks to Bagath for this input!

Thursday, February 03, 2005

UTF8 Encoded data

Today I faced the problem of storing Japanese characters in ResourceBundles (Struts framework/Java). The Japanese characters are in UTF-8 encoding (which is ofcourse variable-length encoding scheme) are 3 bytes. So they cant be obviously stored in TXT files which uses some Latin based encoding schemes (which consider characters are 2 bytes). So only way to store them is store them as encoded utf data. To convert to utf encoded format I used the tool native2ascii which comes with JDK.

Before Conversion
今すぐ予約

After conversion using native2ascii
\u4eca\u3059\u3050\u4e88\u7d04


Monday, January 31, 2005

Tomcat 5.5.7 Released

Apache Jakarta Tomcat 5.5.7 Stable Release

To me 5.5.x looks like a overhaul to previous version and should be more stable Tomcat 5.0.

Disqus for techtalk