What are the advantages of developing a Java server application over other languages?

Our company begins developing a client-server application, and the discussion continues about which technologies should be used. For the client side (GUI), we are prone to QT and C ++. For the server side, we were recommended to use Java, and indeed, it seems that this is one of the languages ​​used in most cases for server development. Can someone clarify the advantages offered by Java for server-side development, and why adopting this should make our lives easier than developers, and / or allow us to achieve better results than if we used, say, .NET or even C ++? Thanks in advance.

+3
source share
6 answers

Some advantages:

  • Run compiled code on different platforms.
  • Managed memory (garbage collection).
  • Rich wealth of excellent open source discoveries.
  • The market of large developers.
  • Easy migration for C ++ developers.

Some disadvantages:

  • Language of aging - does not keep up with the language advancement of IMO (for example, adds functionality).
  • Uncertain future after Oracle aquistion (will become more clear over time).
  • Low difficulty programming.

, JVM, Scala Groovy, .NET( Linux . Mono) D, ++ , , (), , lambdas .. Java C/++, .

+5

, Java . -.

++ Java , REST (JAX-RS ). Java, .

+2

: , , , , , . , " "... .:)

, . , . RoR , , , ? , PHP, Java,.NET ..

, .

+1

Java:  -  -  -  - - , API java.util.concurrent  - , IDE ..  -  -

:  -  - , .  - , .

+1

. , . .NET Windows Server, , .

Java 5-10 . . /, , . - Python , , / , , Google python Java (GAE python, Java). django python - , TCP .

0

:

  • , / enougth
  • , , .
  • ,
  • ,
  • - - , - , , ,
  • - , , .net - .net
  • - ( , ,...)
  • ,...
  • ...

, . , . - : : , (- > $), , (- > $), libs, (- > $), , , (- > $)

The advantages of Java in MHO are: widespread knowlege (this is also for .net), a huge number of real mature open-source frames (this is the point for Java against .net) and the use of a strong typed system and compiler that leads to fewer errors - this is a long-term advantage of Java and .net in all non-standard scripting languages)

A must have for all the languages ​​that you use on the server is garbage collection!

0
source

Source: https://habr.com/ru/post/1791510/


All Articles