Author Archive

Top 100 Developer Blogs-2008

you might  just want to check the list
http://www.noop.nl/2008/12/top-100-blogs-for-developers-q4-2008.html
I haven’t know most of them.

More Runtime Java Stack

Screws come in a variety of shapes and sizes f...

Image via Wikipedia

More java framework and APIs that I have been using.

you can find the first part this article here: java runtime stack Read more

java.util.Calendar.getInstance() // danger

An icon from gnome-themes-extras-0.9.0.tar.bz2...Image via Wikipedia

Do not use the method for in your frequently used methods.
instead of creating new instances use

Calendar.setTime(DATE)

otherwise each instance use lots of memory: 432 Bytes

UPDATED:

DO NOT USE LIKE THIS

while(condition){
Calendar calendar = Calendar.getInstance();
calendar.setTime(someDate)
int month = calendar.get(Calendar.MONTH);
}

USE LIKE THIS

Calendar calendar = Calendar.getInstance();
while(condition){
calendar.setTime(someDate)
int month = calendar.get(Calendar.MONTH);
}

ADD_MONTH vs add(Calendar.MONTH)

The FSF Trophy

I found it very interesting that these two methods are not working same :(

SELECT add_months(TO_DATE(’28-FEB-2007′), 1) FROM dual = 31-MAR-2007

while

java.util.Calendar c=..//28-FEB-2007
c.add(Calendar.MONTH,1); // gives 28-MAR-2007

which one is true ?
for the situation I am dealing java calculation is correct !

java vs Oracle and again winner is java !!!!

Runtime Java Stack

Toolkit

Image by Neil T via Flickr

I have been developing java application for more then 6 years. Most of these years I have used and evaluated open source projects. Here I’ll try to explain my open source java stack. Read more

right team formation

Soccer Team

Image by Jim Rees via Flickr

hi again,

yesterday when I was surfing some software blogs I have came across something that really hits me: The 12 Best Questions for Team Members. (nice blog).In fact the goal of the questions is “your team’s motivation” !!!

No one has ever asked me these nice questions for several years. maybe this is why I am unrest now. Read more

working in a datamine

Miner in a mine of the

Image via Wikipedia

For the last few weeks I am working as a data miner :(
This is a really hard work to do. In fact for me it is even harder.

java developer != DBA

Think of a domain that you know totally nothing since it is a new job and a new domain to me. Read more