Keep it simple, short and stupid (KISS)

everything should be made as simple as possible, but no simpler - Albert Einstein I am sitting in a design room today designing a simple requirement for a client. He wants me to enhance the transfer money from one account to another. Just that it happens that I have my best friend Yuky sitting right next to me. He is damn good in Maths and extra ordinarily knows all the calculations on his tips....

June 22, 2009 · 2 min · Theme PaperMod

Automation with Selenium,Junit, Ant

Much of the technologies above do not or will not need an introduction if you already know them or can read them from the links above. More over today’s article is more about how we can use all the three selenium, ant and junit to come up with an automated solution for regressive testing. Please refer to the documentation links above for the basic knowledge on any of the used tools....

January 19, 2009 · 4 min · Theme PaperMod

Calling wsadmin scripts from ant

You can simply add the following to a target. For the following wsadmin should be in your PATH env. < exec dir="." executable="wsadmin.bat" logError="true" failonerror="true" output="wsconfig.out" > < arg line="-lang jython -f ../../createQFactory.py"/ > < /exec > All output will be logged to wsconfig.out

December 11, 2008 · 1 min · Theme PaperMod

Generate XML - DBMS_XMLGEN

On my way to my solution store just found this nice to use, old and easy feature. Possibilities endless, usage typically very easy. I used the following to generate XML from sqlplus: select dbms_xmlgen.getxml('select * from user') from dual; Output: < ROWSET > < ROW > < TNAME >Employee< / TNAME > < TABTYPE > TABLE < / TABTYPE > < / ROW > < / ROWSET >

December 10, 2008 · 1 min · Theme PaperMod

Command, Singleton, JMenuItem, JButton, AbstractButton - One Listener for the app

Here I would like to demonstrate a simple use of JMenuItems being used with Single Listener for the entire system. A simple sample of use would probably be SingleInstance Desktop Application. Lets see how that is done here. First lets create a OneListener class that should be able to listen to ActionEvents and also be able to add Commands to itself. Please refer to my previous post on Command,Singleton if you would like to see more about this patterns and there usage....

November 17, 2008 · 2 min · Theme PaperMod