Was preparing for an interview & came across these questions. Can somebody help me with the answers ... 1. How can I improve the performance of a java application, what are the java optimization techniques 2. What should you do to ensure that your applet works exactly the same way on both IE and netscape I would highly appreciate if somebody could give me some tips on the toughest questions that I can expect in a junior java programmer interview. Thanks, Hema
1. How can I improve the performance of a java application, what are the java optimization techniques.
That question is about as meaningful as "how do you code stuff?" There's no one right answer, and the interviewer probably just wanted to see if you knew *anything* about optimization. The answer is to go to the Performance thread and read the postings. If you search there for "books", you should find some good references which will get you started. You should also search for "tools".
2. What should you do to ensure that your applet works exactly the same way on both IE and netscape.
Short answers include: make sure they use the same JVM, don't use complex GUIs, and most importantly test to be certain! Personally, I'd question the benefit of the applet and ask if could be done with JSPs. --Mark email@example.com
Mark Herschberg, author of The Career Toolkit