File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Jobs Discussion and the fly likes Need help with some questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Careers » Jobs Discussion
Bookmark "Need help with some questions" Watch "Need help with some questions" New topic

Need help with some questions

Shruti Sharma
Ranch Hand

Joined: Mar 25, 2010
Posts: 55

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

Joined: Feb 19, 2008
Posts: 2904

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. ;)

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: Need help with some questions
It's not a secret anymore!