too much annotation is also bad

A graphical depiction of a very simple xml doc...
Image via Wikipedia

Annotations have changed every thing and lots of version updates/upgrades are made just to support them. Yes they have developers to get rid of lots of xml schemas and files at the same time,”Annotations have been more successful than XML

But are those XML files really bad ? Read more

Spring is totally losing its invisibility

Many of you might remember at the spring 1.2.X series there is a strong voice like:

easy,quick configurations and implementations with spring

Yes in fact that was totally true. It really used POJOs as bean containers. And it works really fine. While using these spring versions you did not usually need to make any import statements for any spring package/class/interface
sample classes below were shown as best practices: Read more

Grails, First Impressions

Grails
Image via Wikipedia

Since SpringSource acquires the Grails I was willing to test this framework and make a dummy project but first I should read some books:) Read more

Creative Development Hours

plasma lamp
Image via Wikipedia

Software development can be really very complex process with lots of parties in it. Each party has its own process responsible and interactions. While your project cute and sweet project is getting more and more complex, each one will begin to feel some pain.   You will need more complex tools to handle more interaction with ends up with more pain.

For I am in the development department, I am more familiar with these (inevitable) agony. but developer have a really different vision over them. I guess it is because they are really get used to simplify problem for their customers and provide required tools for them. They can easily  provide very original and useful ideas to your all process.

Use this potential energy for your process !!!

Read more

Are you clearing your cache manually ?

alarm clock, bought from IKEA
Image via Wikipedia

Most probably you have management link that enable you clear cache manually !

Then there is something totally wrong in your software/project  :)

Your software is :

  • Not aware of itself
  • Do not now what it is under going now
  • Do not know how to respond to these operations …

Read more

wordpress 2.7 upgrade

Category:Wikipedians who use WordPress
Image via Wikipedia

wordpress 2.7 released :) nice job again
congratulation wordpress team

PS: do not forget to copy your upload folder like me :)

Reblog this post [with Zemanta]

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 !!!!