• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with some questions

 
Shruti Sharma
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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?


Thanks a lot a in advance,
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Q.1 Its a architectural decision and generally taken by seniors. But the basic factors are project cost, ease of use, funds, etc.

for Q2 & 3. Its general interview question and can be answered if you Google them. ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic