Java is adequate in any situation that scalability and hardware
independency is needed.
there is a performance handcap compared to c/c++ but the difference
is not big nowadays...
most companies adopt java manly to do the dinamic web aplications
(servlets/jsps)