I had a large string content which consists of more than 10 thousand words, hence each time i called the respective java the string gets initialized,so it hits performance,is there any way to improve performance?
When i download pdf , bmp files from the server thats running in tomcat 5.5.20 it takes a lot of time. Please suggest on any parameters to improve the same.
As we know if we make class final the class cant be extend by another class
so my question is if we make class final what is the use of making methods final even though we cant override that method because we cant extending the class
so why in java API String methods are final
As my server is throwing out of memory error and i'm using 4 GB RAM in my server
and when when my application is running its displaying out of memory Error and even though i had written one program to check free memory its displaying TotalMemory =64MB and free memory = 42 MB if i set heapsize in commond promt is it effect the tomact using the heap or i want to set it in tomcat level
I'm having one requirement such that 0001 should be incremented to 0002 but when we use regular + operator its giving 2 instead of 0002 how to add including zeros also