Thursday, November 29, 2007

SOA Best Practices.

Use urn: for declaring name spaces instead of http: I understand the use of usage of http for XSDs that are published online. But the usage of http for every schema definition is not required.

Usage of 'http' in XML documents is not elegant.

Wednesday, November 21, 2007

Laptop for Java/.Net Studio Programmers/Architects

Update - I canceled my Dell order. Couldn't get hold of right-person easily even after being on the phone for more than 30 min. Waiting on phone for customer support is the last thing I want to do in life.

After plenty of wasted hours on comparisons and reviews I have made a U-Turn from opting the fabulous Lenovo Thinkpad T61 and ordered Dell Vostro 1400.

I got the following configuration for $1550 including taxes and shipping.

OS - Vist Business. I was rooting for XP but was advised by my brother-in-law to go for Visa.
Processor - Core 2 Duo 2.0 GHz with 2MB L2 cache
RAM - 3 GB. I need as much RAM as possible for memory-hungry IBM software.
Harddisk - 160 GB 5400 RPM.
Monitor - 14.1" . I have ordered with TrueLife. After what I read about it, I am going to change it to Matty while my order is still "in production". Also 14.1" has been my personal choice while shopping for laptops.

In the same price, I got integrated webcam, dedicated graphics card (i.e, discrete graphics) and 3-year warranty with accidental protection (i.e, complete care).

All in all, if you are budget-minded like I am and are willing to take 'risk' and don't have brand-image-consciousness then go for Dell. If you typically see yourself buy the premium-brands like BMW/Honda cars, Sony cameras, Bose headphones.... then Thinkpad may well be your choice.

Thinkpad is sleek, has great keyboard and proud history. However it doesn't come with s-video and has a weird placement of cntrl key (next to fn key). I can live with the higher-cost if they provide better customer support. I found that the order-processing is very slow with Lenovo. I hope everything else with Lenovo customer support is better.

Sunday, November 18, 2007

Theory of Relativity

The closest I can understand...
http://www.onestick.com/relativity/

Friday, November 16, 2007

Log4j in J2EE Container.

http://www.webagesolutions.com/knowledgebase/waskb/waskb004/index.html

Initializing Log4J has been a thorny problem for a J2EE application. There are two ways to initialize Log4J:

First - Call PropertyConfigurator.configure(String propertyFileName) - This function takes the full path name of the properies file that contains Log4J configuration information. A J2EE application should not make any assumption about where its files are located in the file system.
Use of this function requires the application to know exactly that.

Second - Do not call PropertyConfigurator.configure() and let Log4J look for a properties file called log4j.properties in a J2EE module's class path. The lookup takes place when the Logger.getLogger() method is called for the first time. In this article we recommend using this approach.

Third approach is to configure log4j.configuration=yourlog4j.properties as system-property.

I prefer the first one for each war/ear file in a J2EE app-server. But I couldn't make it work at this point I am stuck with the third option.

Monday, November 12, 2007

My favourite places on the web.

http://www.nandyala.org/mahanandhi

http://www.immigrationvoice.org/

http://www.cricinfo.com/

http://www.google.com