Slashdot Mirror


Industry Leaders Discuss Java Status Quo

prostoalex writes "JavaPro magazine published a wrap-up report on Java discussions at the recent JavaOne. If you missed JavaOne, the video Webcasts of McNealy, Schwartz, Gosling et al. are available from this site. The round table mentioned above gathered people from Sun, Oracle, Borland, Novell, Motorola and others. The discussion topics included: Java vs. NET, integration issues, the impact of open source and top problems that Java is facing today."

12 of 390 comments (clear)

  1. Hey They Mentioned Me! by stoolpigeon · · Score: 5, Interesting

    I'm a full time VB programmer who is looking to move away from microsoft tools as well as microsoft platforms.

    I started out not knowing anything but ms products- learned VB in school and landed my first job writing database apps. As I learned more, and my employer's needs grew- we started realizing that MS was too expensive and we looked for alternatives.

    Now we use linux and open source tools. I am learning to handle a system and use software that has been built by the open source community. I've even tweaked some code here and there for our own purposes.

    While all this has been going on- I've been trying to look to the future and work on some projects of my own. I really wanted to learn a language that would be portable, and have good tools I could afford. I've finally opted to go with Java.

    Java seems the simplest way to be able to work cross platform and have access to sufficient resources without having to shell out big bucks. In fact my development platform right now is a RedHat box with eclipse and Sun's JDK. I'm about 2 months into what I hope will be a long relationship. I think the article is right in that what is good for Linux is also very good for Java.

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    1. Re:Hey They Mentioned Me! by molarmass192 · · Score: 4, Interesting

      He's using Eclipse so more than likely he's also using the SWT GUI lib. The "slow and visually buggy" you're referring to is in AWT and much more specifically Swing. It's gotten better in 1.4.2 but the fact is that SWT is the way to go if you're targeting desktop apps since it results in apps that are indistinguishable from native apps in look, feel and speed. The only remaining drawback is the memory overhead but even this can be controlled via careful use of System.gc.

      That said, I'm a C++ person myself and totally agree that you can write tighter and faster apps using C/C++. However, if you MUST have a portable *GUI* application (ie. Win and Lin), Java really does make things very very easy for those without C/C++ backgrounds.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  2. Re:Microsoft should have owned them a long time ag by Sheetrock · · Score: 4, Interesting
    You raise a good point (well, except for the hyperbole about combining the game industry.) During this time of massive layoffs and outsourcing, maybe the Open Source paradigm is actually shooting us in the foot.

    I'm not saying that everybody needs to stop contributing their pet projects to the communal good, but maybe the deal doesn't need to be made sweeter for these scummy companies that are building cheap foreign and selling expensive domestic. I'm starting to think that (L)GPLv3 should involve a clause invokable by the author of a project so covered that it not be used in any commercial application whether source is included or not.

    The biggest irony is when movie companies using Free Software turn around and lobby our government to harm users of Free Software. This free ride shit has got to stop, there.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




  3. Missed opportunities by Octagon+Most · · Score: 4, Interesting

    Does anyone else find it a little disconcerting that, "according to a recent Evans Data Corporation survey, developers who are migrating now from Visual Basic are moving to Java and C# in roughly equal numbers." What good is a few years head start and breathless hyperbole from the entire technology industry when Microsoft can simply create a new competitive product and quickly catch up? Java may well continue to be quite successful even though it has under-delivered, but that could mean little with C#, .NET, and whatever else comes out of Redmond. Does Java have enough momentum to thrive?

    1. Re:Missed opportunities by Glock27 · · Score: 4, Interesting
      Does anyone else find it a little disconcerting that, "according to a recent Evans Data Corporation survey, developers who are migrating now from Visual Basic are moving to Java and C# in roughly equal numbers." What good is a few years head start and breathless hyperbole from the entire technology industry when Microsoft can simply create a new competitive product and quickly catch up?

      You're looking at this the wrong way. Try this phrasing instead: "Microsoft is losing half of it's VB developers to Java, rather than having them move to C# [or VB.net]".

      Also, remember that C#/CLR is little more than warmed-over Java/JVM with the Microsoft label - it's not as though it's actually a different product...other than not being cross platform that is. ;-)

      Java may well continue to be quite successful even though it has under-delivered, but that could mean little with C#, .NET, and whatever else comes out of Redmond. Does Java have enough momentum to thrive?

      Will the 'whatever else comes out of Redmond' run on anything besides Windows? If not, Java will have a strong niche for the foreseeable future. Personally, I think Java and the JVM will outlive C# and the CLR. On the other hand, there is nothing preventing someone from coming out with a Java implementation for the CLR...

      Java has the momentum to thrive, not just survive. Red Hat's recent offer to support an open-source implementation may prove to be another positive inflection point for Java....we'll see.

      One thing that is very positive for Java - it is widely used in educational curricula, especially at the university level. That is a huge advantage over .Net.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
  4. I still don't get the allure of Java by CoughDropAddict · · Score: 4, Interesting

    This is not a troll.

    Why does anyone use Java, ever? In what situation does it offer anything that justifies the pain and inconvience that it incurs?

    Can you think of even one Java application that you use on your desktop and like?

    Can you think of a single language/runtime that feels so out of place no matter what platform you're running on? A platform that makes you deal with CLASSPATH, non-native and slow widgets, and shell scripts to set a thousand environment variables before starting your "portable" application?

    Can you think of a single problem domain where Java offers greater portability than the competition? Standard C, C++ or Python (depending on your desired level of abstraction) are just as portable as Java as long as your libraries/toolkits are cross-platform. And programs written in these languages just fit in, they find their libraries without fuss, they start up rapidly (in comparison) instead of seemingly spawning an OS within an OS.

    I've felt this way about Java since the moment I first tried it, and I'm still at a loss. I just don't get why so many people decide that Java is the solution for them.

    1. Re:I still don't get the allure of Java by bytes256 · · Score: 4, Interesting

      The "portability concerns" you mention are really quite minor, have you ever attempted to write a semi-complex cross-platform piece of software that strayed beyond the Standard C and C++ libraries? Also, Python is just as much of a pain to integrate into your system if you must also deploy on windows...users have to install Python, and if you use any non-standard Python modules, you're stuck with a reallly ugly mess. Java includes a lot of nice things by default that are at best afterthought add-ons in other portable programming languages. Also, with Swing, you can make your app fit in perfectly with the underlying OS, also with today's fast computer systems and continued improvements in JIT technologies, Java really isn't bad performance-wise, and only stands to improve as time progresses. As far as apps I like that are written in Java? I could list dozens of websites, limewire, Eclipse, Ant, JavaCC Even with traditional cross-platform approaches, you are still left with the task of handling dependencies and integrating into the system. How is integrating your Java app into the system any different than making an InstallShield wizard for your C++ app on windows? The allure of Java for me is simplified development of the actual application. Sure, installation concerns are still there, but how does that differ from C++?

      --

      Slashdot, the site where everything's made up and the points don't matter
    2. Re:I still don't get the allure of Java by sloppydawg · · Score: 4, Interesting

      The justification comes in the form of a rich and robust API that included crypto, disk/network/serial io, collections, graphics, http(servlets), J2EE, database connectivity, and the list goes on. The relatively open JCP makes it highly likely that new technologies that are actually needed on a widescale basis will make their way into the language and API set in decent time. Sure libraries and API's are provided for various other languages and platforms but rarely are those 100% consistant so if you want to develop for more than one platform you are stuck learning each platforms API's, syntax, and system idiosyncrocies. With Java the only time you spend is on learing the ideosyncrocies of each platforms JVM implementation and rarely do you need to use/learn an entirely different API. So as a developer the 2 things I value most are time and flexiblity. Java for me offers the best balance of the 2 for me. Anyone who develops for a living knows that the time spent coding the inital release of a program is small in comparision to that programs evolution over time. If I decide to develop in let's say Python, C++ or C# if the code I write today needs to be ported to say AIX later I'm going to have to rewrite at least some of my code to make that happen. With java I'm only tweaking a few things and then I'm up and running. Also Sun and the JCP are constantly working to make sure JVM implementations improve overtime so if let's say a technology such as hyperthreading comes around I don't need to rewrite my code to take atvantage of that SUN will modify the JVM for that architechture so I get all the perks without any of the time investment.

      The applications written in Java that I use and like are 1 the IDE I use Eclipse which comes with all types of great plugins that let me do everything from debug an opensource J2EE container to work with my RDBMS platforms on the back end. I've also been using Freenet a great P2P app with lots of cool ideas that radically change the way information is distributed and consumed. Jabber a IM client written entirely in java. And think of it from a users perspective. If I'm going to spend time learning to use an application do I really want to have to go looking for a brand new application to fill that ones need everytime I want to purchase a computer that runs a different OS than the one I had before. No it's a waste of time and money. My only hope is either that the vendor of said product is generous and ports their application to both platforms or that they decided to write the application in an OS neutral technology such as Java.

      In repsonse to: Can you think of a single language/runtime that feels so out of place no matter what platform you're running on? A platform that makes you deal with CLASSPATH, non-native and slow widgets, and shell scripts to set a thousand environment variables before starting your "portable" application? I suppose you think it would be eaiser to port an application written in C,C++ yourself (assuming you even have the source). Of my favorite applications listed above I haven't had to do any of this to get them to run on mutiple platforms (MS 95 - XP, FreeBSD, Linux (many distros)) so don't knock the entire Java platform just because the few applications you've tried this on reqiured a lot of work to get running. You are describing and implementation detail specific to the applications you run.

      And you say: just as portable as Java as long as your libraries/toolkits are cross-platform. ...provided you even have access to the source what if you are encorporating 3rd party libraries into your code. If they're not Java their is no guaranty this will be possible. You will be left begging the vendor, believe me I know.

      And my last reason to use Java over C++, C is that garbage collection doesn't have to be integrated into my application, buffer overflows aren't an issue (at least at my application level) and just as a programmer of a Windows Application isn't resposible for se

  5. Re:One issue with Java vs. .NET by Sheetrock · · Score: 4, Interesting
    Well right, I mean implementation, but I haven't met an implementation yet that felt smooth.

    What I'm getting at is that a little goes a long way with display updates. Having a 'silken mouse' under Windows NT+ meant that even under heavy load the interface felt smooth and responsive (well, until you tried to open a window or do something requiring CPU) -- with Win9X/ME the mouse would jerk around under even mediocre load. X-Windows also felt like it was sluggish until I discovered you could 'nice -n -10' it. On the AS/400, heavy priority is given to interactive applications but batch jobs (which only run in the background) and compiles are typically executed at a lower priority.

    My point is that they need to optimize the speed with which displays and user interface updates are performed to achieve the effect where the user feels like the application is crisp -- even if it impacts performance in other areas. It's a subtle user interface trick that they've missed out on, although I'll admit that Java 2 is making things a little better.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




  6. The IDE's baby by glenist · · Score: 5, Interesting

    Maybe Iâ(TM)m ignorant, but I donâ(TM)t think there is an IDE for java that comes close to Visual Studio. While VS.NET might have its problems, it is integrated very tight. As a developer I donâ(TM)t want my time taken up with simple tasks, Iâ(TM)d rather work on the interesting bits.

  7. Java is not just client apps. by niola · · Score: 5, Interesting

    I see a lot of the usual anti-Java posts on here. "It's slow", "The screen flickers", "The widgets suck."

    Just like any other technology, implementation is more key to the quality than the technology itself. I have seen some REALLY bad Java client side applications, but then there are some that are awesome. The GUI installer for Oracle is Java Swing. It looks identical on every OS you install it on (aside from options that may or may not be available to install on a given platform), and it works really well. Another example is Veritas' VMSA software. It is Java Swing, allows you to run it on multiple platforms, and you use it to manage your Veritas volumes on multiple hosts, networks etc. If an organization spends a $100k+ on a storage system, you can bet your ass that they would be mighty pissed if they had some "slow shitty client software" messing things up.

    And don't even dis Java on the server side either. Java on the server side does not have to be slow like everyone thinks. One example is the application server Orion. You want to have some fun, go to http://www.orionserver.com, download it, and install it. Then do some apache bench comparisons between it and even a tuned Apache and Orion will serve static HTML pages faster. For even more fun, whip up a JSP with a database call to Postgres or Oracle, and bench that against Apache still serving static content. Orion will actually serve dynamic DB-generated content as fast or faster than Apache can handle static HTML.

    I guess the point I am trying to make is don't just make blanket statements and put down a technology because of a bad experience. It is all about the implementation. Best technology with a shitty implementation will suck no matter what.

    --Jon

  8. Re:One issue with Java vs. .NET by maraist · · Score: 4, Interesting

    Java is slow if you write a slow program that doesn't respect the platform and language's unique features and quirks, just like any other language (consider the uneven implementations of STL in C++).

    See the issue is not really with the JVM, but with the tradeoffs of the language. While it's possible to write somewhat snappy engines like jrocket, or integrate OS features like the windows version, there are certain fundamental issues which can not be handled transparently.

    Firstly, hands-off memory management. It's difficult to heuristically discover deterministic memory patterns which would allow inner-loop optimizations. (I'm not even aware of anyone even trying this). The lack of explicit deletions/frees (even if only advisory) is bad in my opinion. It has fostered enormously wasteful memory utilization in enterprise level applications. And when your building blocks aren't efficient, how can you hope to build efficient apps. I use the java-based idea editor, and scrolling or doing a screen refresh requires one or more garbage collections, and I've already given the VM most of the memory on my system.

    To a lesser role, the default virtualization of methods is a slow-down. To some degree a JIT can heuristically generate deterministic call-trees to remove the virtualization (e.x. if no subclasses are used/found), but this can be really nasty in the general case. This is much worsened when interfaces are used (method/variable lookups are non-constant in time, to say nothing of the overhead). And lastly, there is a growing trend in using reflection for general processing. This just about throws all optimizations out the window.

    While I definately see the value in multiple inheritance (or at least java's interface version), and a language definately needs to dynamically map itself somehow, Sun's particular decisions do not lend themselves to high performance inner-loops; even if hardware accelerated.

    Thus the only way to write performant / memory-safe programs is to make all your inner-loops use static/final, and to re-invent the standard libraries where-needed. And this is to say nothing of the libraries that can not be reverse-engineered (GUI, OS-interacting, etc). Though theoretically you could write material using jni, what's the point?

    If you need jni to make something usable (in the common case), then the language isn't practical.. jni is for porting or special cases.

    See, I agree with you basic point which is that java is a language, and this has little to do with the mapping to the machine-code. Ideally, java can be treated just like c, and written directly to assembly (gjc). However, due to the points above, even gjc has to use wrapper functions for these java-specific idioms, and thus the inner loops are no faster than in a nicely optimized jit.

    And as I said above, none of this matters, if the APIs of the language encourage practices which do not scale. SUN learned this about their GUI in 1.0, and I'm seeing more and more performance friendly topics arising. However, much core can't be changed.

    I am not completely familiar with .NET's VM, but suspect that they excluded many of the going-forward limitations of java.

    I think java is a wonderful language to program in, but all too often, modern software requires a scale that java just can't seem to comfortably live in. And thus I have my doubts about it's future.

    --
    -Michael