Tuesday, 23 November 2010

WordProcessingML

WordPocessingML or WordML is MS tool or mechanism or whatever you wanna call it for report generation.
It is completely free and simple to use.
One of the most important  features of  MS Word 2003 was support for XML. It' been a while since then and few months ago I had to search for a way to generate reports from within Java application. Well, yes there is excellent BIRT or Jasper Reports but I decided to use WordML.

It turns out easy to use
1. Create XML Schema document in you favorite text editor (or some IDE).
2. Create "seed" document template in MS Word and attach the XML Schema. Here is little bit tricky, because you have to manually align and adjust report elements, fields etc.
3. Run console (DOS) command and generate output XSLT file.
4. From Java code - generate XML with real data and apply XSLT file

And that's all.
You have XML report, which could be opened from Word and looks perfect with all formatting, styles etc ...
Basically you can generate report from whenever you want. I have implemented it from PL/SQL code also.

Monday, 22 November 2010

Barcodes

Ever wonder about the bar codes ? I mean what are they, what do they look like, types etc.
No worries... this link is to the rescue
Barcodes symbology

Multiple IE

For one it could sound strange, but there are moments in which you must have multiple IE versions installed. Weird ...

Multiple_IE

It works, but than again multiple IE ....

XP on Vaio

When I bought my Sony Vaio it was "equipped" with  Windows Vista.
Vista? No way, man :-)
I was told that there is almost impossible to remove Vista-thing and install Slackware Linux + Windows XP. There will be no drivers, no support for hardware etc ...
Well I found a way and everything works perfectly. Dual boot.
If you haven't found them yet here are the XP drivers for the Vaio:

Vaio FTP drivers & other stuff

Be good

UltraEdit

In my opinion The text editor! Ultra Edit  it is awesome
It is not expensive - costs about $60, but there are tons of features.

Wicd

Wicd is Linux network manager. It is free and open source. From personal experience it's a little buggy, but nevertheless it does great job.

Sunday, 21 November 2010

Eclipse

Eclipse IDE is probably the most used IDE for many years. It is free product. Can be used for development of Java, C/C++, PHP, JavaScript applications. There are thousands of plug-ins from third party vendors.