steps for optimization and performance while coding in java
<p>I was going to code mostly in java for my new project but before starting it my emphasize  will mostly will be on optimization and best performance like not to use string buffer prefer string builder over it where synchronization isn't required and many other things like it the jdk which i am using is jdk 1.5, Please let me know what are other scenarios to be kept mind ,That will be a great help in optimaztion and performance with accordance to coding. </p>

<p>Mostly the core java code will revolves around collections,threads if else loop,try catch exceptions,logs</p>
