You need to choose a technology based on the problem you want to solve. Some things are better done in one language than another; for example, Java is great for large-scale projects with complex business logic and platform-independent code that has to run reliably.