Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Java programming help

  1. Apr 26, 2007 #1
    Can anyone help me with a site where I can learn java programming language?
    I really need it, I'd be very grateful
  2. jcsd
  3. Apr 27, 2007 #2
    ..or to go directly to the source:


    Good luck. Java may be getting a little out of fashion for standalone applications these days, but I have been using Java for a few years now and will never go back to Fortran or C.
  4. Apr 27, 2007 #3


    User Avatar

    Huh? :surprised I've heard many of state statement and ends with try Java etc. re. Fortran, C, C++ but saying Java is out of fashion? What do you think is in these days then?
  5. Apr 27, 2007 #4

    If you look at current job vacancies you will see that the Java skills in demand these days are dominantly in J2EE, not standalone applications. Despite that, C#/.NET skills are far more requested than Java skills. Same also if you look at bookshops - Java books are actually getting hard to find these days when compared to C#/.NET, mySQL or ASP and even C++ still. In my opinion most of the shift is due to Microsoft's promotion of their products and pressure to suppress Java. This is a pity since Java has develped into such a mature, reliable, high performing and easy to use language. I would not touch C# on principle alone and based on my experience I will promote Java every chance I get for scientific applications at least.

  6. Apr 27, 2007 #5


    User Avatar
    Science Advisor

    That's true but i don't think Java was ever a very popular language for standalone apps, and most of those would probably fall under the category of OpenSource or freeware.

    I'm actually surprised at how many positions for J2EE there are, when i was looking for a job in C#/ASP.NET i came across more J2EE than anything else.

    C# is getting to be a very interesting language, and at least Microsoft is moving ahead with some innovations such as the LINQ project and Lambda expressions which Sun doesn't seem to be interested in, which i understand in part.

    I think as Microsoft brings in new languages to .NET (i was surprised to find a variant of Python among these), it is becoming very feasible for Microsoft to adopt little bits and pieces from each language. Some elements kind of run against some Java's OO principles, such as anonymous delegates, which might support less proper coding habits.
    Last edited: Apr 27, 2007
  7. Apr 28, 2007 #6
    <disclaimer>I do visualization for ML and other analytical applications for a living. So my comments aren't relevant to applications targeted for browsers</disclaimer>

    As someone who has been doing C++ for 18 years, Java for 12, and C# for 2. Here is my assessment of the trends. C++ still has its place, but it has gotten smaller. C++ is used in the commercial world only for performance sensitive pieces of a product where you are worried about what the hardware is doing, (that is high performance I/O, and algorithmic implementations where you are worried about minimizing OS cache hits).

    For most business algorithms, Java and C# are plenty fast. On the back end the trend was Java, but there is more C# being used there now. I think we will see more C# on the back end, it is far more productive to program a C# back end, and have a WPF client talk to it via WCF, than it is to develop a comparable Java or AJAX application. The MS stack has gotten quite good with .Net 3.0.

    Eclipse is pretty nice, J2EE is OK, but Java has really fallen behind C#. Which is why I am using C# in pretty much all the places I used to use Java. I still use Java when I have to be multi-platform, but there has been less demand for multi-platform software of late.

    Anyway, I have to agree with -Job- things are getting interesting in the programming world. It was getting pretty dull there for awhile, but users are starting to demand more than a crappy static HTML page, so programmers can start having some from again.
  8. Apr 28, 2007 #7


    User Avatar
    Science Advisor

    With http://www.mono-project.com/Main_Page" [Broken],.NET's compatibility will go up (sponsored by Novell surprisingly), and in the future will become a real challenger to Java as far as cross-platform compatibility goes.
    Last edited by a moderator: May 2, 2017
  9. Apr 29, 2007 #8
    IMHO: Sun's tutorials are very bad, I would stay away from them.

    I worked a little with .Net I found it very bloated and fragile. I was shocked when I saw that this line of C# returns false;

    (myClass is ISomeInterface) returned false, while ISomeInterface.isAssignableFrom(myClass) returned true.

    In Java instanceof would have returned true.

    And there were a few more stuff like that.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook