Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Comparison of Java and C++ for server-based application

Comparison of Java and C++ for server-based application

Scheduled Pinned Locked Moved IT & Infrastructure
databasesysadminquestionc++java
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Penko Mitev
    wrote on last edited by
    #1

    Hello all! I am interested in your opinion about what server-based application technology shall I choose. My doubts are between Java and C++. What I have to do is a server-based application with multiple connections and what I need is rapidity in query processing, this is really a vital part of everything. The main factors for comparison are: • Network communication via unix socketing; • Ease of DataBase management (Since now I have chosen Firebird due to the agile license); • Internal application data structures In one hand, Java is pretty easy to me and I would be much more productive than in C++. Furthermore, I read that with the latest versions of Frameworks, languages(e.g. Java 6), etc, the difference in rapidity has been reduced to not more than 15%. So, my question is, does it worth the efforts to do it the hard, but qualitative way, in C++, or I can use Java without worries and achieve the same effect with less resources, without losing quickness in query processing. I would like to choose the right technology and architecture, so I am not soon or later going to be sorry for my choice, when I face a problem, which is not offered a solution by the technology I use. What do you think? Penko

    V 1 Reply Last reply
    0
    • P Penko Mitev

      Hello all! I am interested in your opinion about what server-based application technology shall I choose. My doubts are between Java and C++. What I have to do is a server-based application with multiple connections and what I need is rapidity in query processing, this is really a vital part of everything. The main factors for comparison are: • Network communication via unix socketing; • Ease of DataBase management (Since now I have chosen Firebird due to the agile license); • Internal application data structures In one hand, Java is pretty easy to me and I would be much more productive than in C++. Furthermore, I read that with the latest versions of Frameworks, languages(e.g. Java 6), etc, the difference in rapidity has been reduced to not more than 15%. So, my question is, does it worth the efforts to do it the hard, but qualitative way, in C++, or I can use Java without worries and achieve the same effect with less resources, without losing quickness in query processing. I would like to choose the right technology and architecture, so I am not soon or later going to be sorry for my choice, when I face a problem, which is not offered a solution by the technology I use. What do you think? Penko

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Check this out: http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B[^] and www.objectmentor.com/resources/articles/javacpp.pdf[^]

      Vasudevan Deepak Kumar Personal Homepage
      Tech Gossips
      The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups