Can someone please help me in the following questions in Java?
1. While developing any application, how to decide what server would be the best e.g. how do we know if JBoss, Tomcat, Weblogic, WAS or any other server should be used. And the same thing, how to decide for a DB like Oracle, DB2, MySQL or anything else?
2. Can we have multiple struts-config.xml in a struts application? If yes, how and what would be the scenario where one might need to use multiple struts-config.xmls?
3. How to write a multithreaded code? Not all the methods we write have the synchronized keyword. Then how is it ensured that they will be thread-safe?