Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Java Programming

Is Client-Side Java Dead? 109

maverick2003 asks: "Just while I was thinking that client-side Java is well and truly dead, here comes along a project, a really large one to boot, that involves developing a 'rich Java based client'. While I'm sure that given the right resources and time-frame, this is certainly possible, I was wondering what kind of experiences the Java community has with developing large Java client side applications. Five years ago, Swing and Java client technology had light-years to go before matching up with native Windoze APIs. Getting Swing to do exactly what you wanted, was a guaranteed trip into pure hell itself, with all sorts of weird bugs and workarounds to deal with. The applications that I've developed since then uses VB/VC++ and will talk to a Java server. This has gotten much easier nowadays with SOAP libraries available for cross-platform stuff. Have things improved since then? If yes, by what degree?" What would you use as an example of a large-scale, real-world, high-quality client-side Java application?
This discussion has been archived. No new comments can be posted.

Is Client-Side Java Dead?

Comments Filter:
  • by HaiLHaiL ( 250648 ) on Monday January 27, 2003 @07:35PM (#5170363) Homepage

    NetBeans IDE [netbeans.org]
    LimeWire Gnutella Client [limewire.com]

    Having a modern, Swing-enabled JVM included with Windows [slashdot.org] will hopefully lead to even more Java-based applications. Then again, so would a good IDE with a form-builder. NetBeans and Apple's Project Builder do a pretty good job though.
    • by UberChuckie ( 529086 ) on Monday January 27, 2003 @08:27PM (#5170695) Homepage
      Not the mention the popular Java IDE Eclipse [elipse.org]. Now that Microsoft has to ship the Java VM, you'll probably see more of Java Web Start [sun.com].
    • Oracle JDeveloper (Score:2, Informative)

      by Tailhook ( 98486 )
      A complete development environment made of Java, by Java developers, for Java development.

      Any questions?

      (free developer license too)
    • Until Sun drops Swing like a hot-potato, or reworks it using SWT thinking, Java will *never* beat .NET for client-side applications, even with a Java VM shipping on new Windows vers.

      Java requires native-code widget performance and look/feel. Without it Java will not compete with .NET.
    • I agree with you on this. We have developed a client-side Java application for Internet information monitoring (http://www.botbox.com). The application would be around 10MB with the JVM/JRE included (latest version) and without, it is just above 1MB. With the JVM included with Windows there would not be as much hesitation to download.
  • by ObviousGuy ( 578567 ) <ObviousGuy@hotmail.com> on Monday January 27, 2003 @07:36PM (#5170366) Homepage Journal
    Sure, it's not popular or common on the client-side in either application or applet form, but it does exist.

    Most operating systems ship with some sort of Java VM, you should be able to deploy wherever you want and expect at least some support.

    Sure, it's neither as fast as true binary code nor is the GUI as pretty as native apps, but if you wanted those you wouldn't be thinking about Java in the first place.

    Java is as dead as Perl on the client. It's dead to all those who don't use it, but for those that do, it's indispensable.
  • software (Score:5, Informative)

    by sporty ( 27564 ) on Monday January 27, 2003 @07:37PM (#5170382) Homepage
    eclipse java development software (eclipse.org)
    poseidon uml softare (gentleware.com)
  • ATM research tool (Score:3, Interesting)

    by Anonymous Coward on Monday January 27, 2003 @07:47PM (#5170444)
    We develop a large Java application that assists with Air Traffic Management research for a government agency. Our most time-consuming bugs have been in the native C code, and we hope to move most of it to Java. The Java code is easy to maintain when it is written properly, but if an inexperienced programmer circumvents the encapsulation mechanisms, the time required to make changes goes up tenfold. Another advantage to Java is that, at least on x86 Linux, the C code compiles more slowly, and the runtime performance hit is endurable with a modern machine.
  • by cornice ( 9801 ) on Monday January 27, 2003 @07:49PM (#5170455)
    I was just reading Petreley's latest article [linuxworld.com] at Linux World [linuxworld.com] where he rambles on about client side Java and how JEdit [jedit.org] is the proof that client side Java has arrived. I don't know if I agree although I do think JEdit is a nice editor.
  • by RevAaron ( 125240 ) <revaaron AT hotmail DOT com> on Monday January 27, 2003 @07:51PM (#5170468) Homepage
    I do computational ecology work, undergrad research assistant type stuff. A couple summers ago, I was hired to create an application for the visualization and analyzation of a few hundred MB of data- ecological, environmental and meteorlogical. While the pressure wasn't as firm as would be if I were doing work for a corporation, there was still some to use a language and toolkit that was relatively known to programmers at large.

    Since we wanted the ability for this app to be worked on under a number of platforms and run on even more, we looked at a few different options. Something like {Perl,Python} + {wxWindows,Tkinter} wasn't an option at the time (and still isn't), as it doesn't run on Mac OS 9/X. With those removed, Java and Squeak Smalltalk (with the Morphic GUI environment) were the options I was considering. I did some prototyping in both Java and Squeak to test performance and ease of development for an app that was definately not run of the mill. We had to be able to exert a lot of control on the way things worked, without writing out own widgets from scratch in the areas in which we needed this. At the time, I had about the same amount of experience writing GUI apps in Java+Swing as I did with Squeak+Morphic- perhaps a bit less in Squeak.

    Well, Java blew in my tests. That's not to say it doesn't work well for some things, but in the case of this client-side app, it just wouldn't have worked out. It was slow and a pain to develop for. This was a few years ago, and things haven't gotten much better, unfortunately. For the stuff we were doing- Smalltalk was working out pretty well. And it was working for us, whereas the Java prototype was wasting more and more of my time. This was supposed to be a pretty simple prototype. The last straw was when a new build of the Java version stopped working on Windows 2000, but still worked under OS X and Linux, even though it built fine under Windows and worked 30 lines of code before this build.

    Being in science, not business, I luckily had the freedom to be able to dump Java for Squeak Smalltalk even though Java was a much bigger player with millions of dollars of hype behind it (as opposed to Squeak's $0). Unfortunately, most people aren't as fortunate as I, but I'm glad I did it. I learned a lot in how to build apps in Squeak, and build them pretty quickly. The flexibility of the environment and the programming system is unparalleled. Well, a good Common Lisp system may go beyond it, but that wasn't an for us.

    Squeak provided an identically working app and a homogonous development environment across all the platforms I used and worked on it under, mostly Mac OS X, Mac OS 9, Linux/x86, Linux/PPC, Windows 2k and Win98. For an app like this, I preferred having a consistent L&F rather than some emulated widgets that never quite fit into the host environment, but close enough to make the situation confusing for my users. While this may be a drawback for certain types of apps, it was good in this case.

    The outcome may have been different if I was just building a form-based business app, no doubt.
    • dated = not accurate (Score:3, Informative)

      by sydlexic ( 563791 )
      This was a few years ago, and things haven't gotten much better, unfortunately.

      First of all, you didn't bother to mention this until half way through your screed. That's misleading.

      Second, your information is dated and inaccurate. Java/Swing has come a long way in terms of performance, especially with the 1.3 and 1.4 JVMs. So while this was a valid criticism a few years ago, it is not today.

      Third, if you're doing visualization in Java and your using the Graphics object directly (without the aid of Graphics2D or Java3D), you're screwed. Low level AWT graphics is a black art in terms of performance. And that would also not be taking advantage of 2D/3D acceleration.
      • My use of the word "few" is misleading in and of itself. The initial prototypes and evaluation was done 1.5 years ago, summer of 2001. We looked at it again last summer (for another, but very similar project) and came to similar conclusions. Java has matured a little more between those summers, but still wouldn't be the best thing for our application.
    • You've said you have finally used Smalltalk. Is Smalltalk appropiate for normal applications? From what I've seen everything runs in ths big, square Smalltalk window, and you don't run just your app. You run the whole environment (as apps become part of it). Is this true?
      • That's how Squeak works - it's a fully dynamic, standalone Smalltalk VM. There were (and still are) quite a few standalone Smalltalk compilers that will let you build more traditional interfaces or interface with windowing toolkits.
      • by RevAaron ( 125240 )
        As someone else noted, there are Smalltalk systems which let you make apps that look and feel more like traditional WIMP apps.

        As far as open source, there is GNU Smalltalk which in many ways isn't great. Mostly because it's a lot slower than the other options and it's relatively unfinished. But it has access to Tk and Gtk+, although they're a bit of a pain to get working even on a vanilla x86 system.

        All the main commercial Smalltalk systems exist in seperate host windows with regular windows, including IBM VisualAge for Smalltalk, Cincom VisualWorks (there's a free non-commercial version for download running on OS X, OS 9, Linux, a bunch of Unices, and all the Windoze > 3.1), Smalltalk/X (Unices and Windoze), Smalltalk/MT and Dolphin Smalltalk. The last two have very good Windows integration, and only run on Windows.

        The dialect I use, Squeak Smalltalk, runs in its own one window by default. In the case of my app, there was only one main window, along with various dialogs, so it wasn't so unnatural for my users, who are all scientists.

        There has been versions of Squeak which use native widgets and seperate windows, including bindings to Qt, GTK+ and OS/2. Due to the authors falling off the 'net, they are no longer maintained. In my case for this app and my general use, I'd prefer using the Morphic GUI system than native widgets because of the enormous flexibility provided. This is imortant to me both as a developer and as an end-user. That is, I'd personally prefer all of the non-Squeak apps I used conformed to Squeak's look, feel and working-style than vise versa. But I'm a minority in that.
        • Oh, come off it. Why was this marked a troll? Because I said that GNU Smalltalk isn't as good as the other options out there? Do your research- GST is really in need of a lot of work. It has potential, but most Linux users not wise enough to see the worth in having a decent Smalltalk implementation that is Free and integrated well with the Unix environment, it's no surprise it is stuck where it is.

          Or was something else even more silly to made some little Lenucks haxor upset?
    • by bwt ( 68845 ) on Tuesday January 28, 2003 @12:03AM (#5171989)
      A couple summers ago, I was hired to create an application for the visualization and analyzation of a few hundred MB of data- ecological, environmental and meteorlogical.

      Well, Java blew in my tests. That's not to say it doesn't work well for some things, but in the case of this client-side app, it just wouldn't have worked out. It was slow and a pain to develop for. This was a few years ago, and things haven't gotten much better, unfortunately.

      Hogsquat. In fact, if you had this assignment today, it wouldn't take you much coding at all. Batik [apache.org] is an excellent Java based SVG toolkit that includes a Java SVG Brownser called Squiggle [apache.org]. Use java regular expressions to parse your data into some nice internel format (or jdbc if it's from a database). Then use the SVG DOM in the Batik toolkit to spit out SVG XML and render it using Squiggle.
      • "If you had this assignment today"

        Good thing he didn't use Java then. Rather than waiting for Java to catch up, he did it in something that was ready.

        Java is still in the process of catching up. They're adding stuff which should have been standard long ago (rather than tons of other junk). Unfortunately since it started crap and big, the added stuff means it's becoming tolerable but bloated.

        Due to the "write once run anywhere" hype they need some semblance of backward compatibility so they have to keep a lot of crap stuff around as standard. Deprecating everything would make them look like idiots not to mention those who bought the hype.
        • Actually it was SVG that wasn't ready, not java. The 2D graphics that Batik uses existed several years ago.

          I'm not sure what it means for a language to be "bloated". What are you talking about? Are you saying have a rich class library is BAD?
      • and you'll actually convince some managers!

        Not to flame, but the guy said he was processing hundreds of megabytes of scientific data. Depending on the structure of the data (likely it is either very simple or very complicated), regular expressions aren't the right tool for the job - if it's just reading in a bunch of vectors, RE's would add significant overhead. If the structure is complex, REs will likely get more complicated than they're worth, simply because expressing complicated structures in terms of recursion and iteration is much faster and simpler, and REs don't do either very well. And of course if the data is in a binary format, then the whole point is moot.

        Now when it comes to scientific visualization, vector formats aren't exactly all the rage. Neither is XML, since those files tend to be rather large and there tend to be a lot of them - no one wants to waste bandwidth and space on closing tags.

        • Congratulations, you've proven that RE's are useless. Except for the fact that the opposite is true, it's a great folksy argument. In particular, the authors of grep will be rather surprised.

          The fact is that (1) hundreds of megabytes is a small data set and should fit whole in memory on a reasonable modern workstation (2) the limiting factor of processing file based data is typically IO (3) I'd expect one row of data to be read in at a time and the RE applied to that (4) the average time to apply a modest RE to a single row is much less than the avg time per row of IO

          Now when it comes to scientific visualization, vector formats aren't exactly all the rage. Neither is XML, since those files tend to be rather large and there tend to be a lot of them - no one wants to waste bandwidth and space on closing tags.

          Hmmm. Obviously you missed Session 7 at the 2002 SVG Developer's Conference [svgopen.org], which was titled "SVG for (scientific) visualization". That's a complete crap argument anyway. XML compresses very well, typically 5-to-1. A .svgz file is compressed SVG. The open office document formats handily dispel your tired objections. One of the sample SVG files that comes with Batik is a map of the population density of Spain. Zoom in on it a few times -- if that doesn't satisfy you, I don't know what will.
  • Client-side Java is nice. It is getting increasingly popular for cross-platform solutions. It is 'balsam' for those like me who have been frustrated by the limitations of DHTML. Even deployment issues (where the web is king) are gone with the 'smart-client' model.
    • Client-side Java, and particularly Swing, is nice for application developers and maybe network admins (btw: Web Start [sun.com] makes deployment trivial without being restricted to an in-browser UI), but not neccessarily for end users. While it may be possible to build decently usable GUIs with Swing, not many developers succeed with this, and lots of Swing apps are not exactly a pleasure to use.

      OTOH, DHTML usually is a pain for both users and developers.

  • by Ouroboro ( 10725 ) <aaron_hoyt AT yahoo DOT com> on Monday January 27, 2003 @07:54PM (#5170490) Homepage Journal

    The short answer to your question is yes, you can really do in java whatever you might otherwise want to do with vb/vc. Most people's complaints at this point are unfounded, and usually based upon unfamiliarity with the latests versions of java, and the vast sea of tools that are available to make java development easy.

    The long answer is yes, if you can choose to not support retardedly old jvm implementations. If you are going to try and support microsoft's jvm, then you are going to have a hell of time getting things to work well. I've found that if you support 1.3+ you are usually ok. What would be even better is if you were able to control the jvm under which your application runs, ie bundle the jvm with your application, and use it. That in general would save 99.9% of those types of headaches.

    As far as examples of applications that are fairly large scale, and are implemented in java, you might want to look at Intellij's IDEA [intellij.com], or Eclipse [eclipse.org]. Yes I know that both of those are IDE's, but they are fairly large in scale, and have a fairly sophisticated windowing env.

    • Yes, most impressions on Java are based on the versions of Java they've used. And you know what, they should be. Perhaps you can create a clinical environment using certain JVM's on certain operating systems in which Java's performance and stability are acceptable.

      But you know what? On my non-optimized platform with my web browser's somewhat old Sun JVM, Java is a dog. And the fact that there are a few successful java programs that may or may not work well on my PC is not persuasive.


    • ...bundle the jvm with your application...

      Since the VM is assumed to translate Java calls to the underlying OS without requiring the developer to know anything about that OS, you lose the platform independency advantage of Java if you have to deal with the VM because you want to bundle it.

      For Mac OS X, quite a lot of Java applications are available (ProjectSCIM [projectscim.com], Mac2Phone [nikotel.net], just two examples out of many); sometimes you don't even notice it's Java (although the experienced user distinguishes the somewhat "rough" interfaces easily from the native ones).
    • The long answer is yes, if you can choose to not support retardedly old jvm implementations.

      And what if we just write a nice fast fat Windows client? By which I mean to say, I choose not to support retardedly old *NIX-based operating systems.

      Before you label this flamebait (I know the trigger fingers are itchy), pause to consider that I believe my statement isn't any more flippant than the assertion made by the parent. If you're going to introduce arbitrary limits, you might as well take the easy one and build something that will run fast and smooth on 95% of the machines on the planet -- good old Win32. Indeed, someone is more likely to know that "I run Windows" or "I run Linux" than "I run a JVM which is compatible with Swing 1.24"...

    • "usually based upon unfamiliarity with the latests versions of java, and the vast sea of tools that are available to make java development easy"

      Translation:
      Oh the old version was terrible, despite Sun saying it was so wonderful when it came out not too long ago, you should switch to the new one (it's really wonderful) and buy/get new tools and software.

      Hmm, sounds familiar.

      What happened to Sun's "write once run anywhere" hype? Or are you going to push the latest version of Java to every client? How many MBs is that?

      Unless they chuck tons of old junk (totally breaking their promise of write once etc) it's likely to get more and more bloated.

      Fool you once shame on Sun, fool you twice...
      • Translation:
        Oh the old version was terrible, despite Sun saying it was so wonderful when it came out not too long ago, you should switch to the new one (it's really wonderful) and buy/get new tools and software.

        Thanks for putting words in my mouth, but what you are saying is not an accurate reflection of what I was trying to get accross. I was merely trying to indicate that many peoples reaction to java is based on old data, and data that has been intentionally skewed by the fact that they have only seen java through the lens of microsoft's ancient vm. This is of course not suns fault. And yes why wouldn't you want to upgrade to the newest version of the jvm. It's free. And why wouldn't sun want to continually enhance their software. If they were to have just left the the environment as it was introduced in the late 90's then yeah it would have fizzled very quickly. But no. They have addressed many if not all of peoples objections to java, and it has become the leading platform for developing business software.

        What happened to Sun's "write once run anywhere" hype?

        I really don't consider it hype. I write java for a living, and take advantage of this property of java daily. My local dev environment is a shitty old dell nt workstation running apache's tomcat. My stage and production environments are HP bluestone on solaris. We are in the process of migrating code off of bluestone to Weblogic. This process is not requiring us to recompile. About the only way I could make those environments any more different, is If I were to dev on a motorolla 68hc11 and go to production on an origin 2000.

        Or are you going to push the latest version of Java to every client? How many MBs is that?

        Um sure, microsoft does it with product updates constantly. And 8MB. I've seen windows updates take way over that much space. I mean seriously, do you not patch your software?

        Unless they chuck tons of old junk (totally breaking their promise of write once etc) it's likely to get more and more bloated.

        I really don't think they've broken their claim of write once run anywhere. I just think you are choosing to misinterpreted what is mean by that. Write once for a given jvm version (not using some stupid proprietary extensions) and your code will run anywhere that that jvm is implemented. What's more is, your code will run anywhere where subsequent versions of the jvm run. The reverse is of course not true. If I develop using jvm version 1.4 and then try and run using an earlier version, well then what dumbass would expect that to work every time.

        Fool you once shame on Sun, fool you twice...

        Oh please. Grow up.

  • As I see it swing is like HTML. You give guides to what the window should look like, and the person running the program gets to see it best for his screen (mobile phone screen, text only, or widescreen monitor).

    Work arrounds are as evil as , on a green background. You have no idea your end user is color blind. Style sheets, and logical HTML tags, allow the use control. Swing allows the User control.
    • Swing is like HTML? *gulp* What planet are you on? I suggest you do some reading about what Swing really is.

      It's like saying apples are like M&M's because you can eat them both.
      • Re:Swing (Score:3, Interesting)

        by Randolpho ( 628485 )
        You may not have understood what was meant, but the rest of us did. ;)

        (S)he is saying that Swing is like HTML in that there is no guarantee on exact look and feel. You just say "widget here, widget there, work together, please" and, depending on the version of the VM being run, you may get different-looking widgets, albeit conforming to parameters you set like size, and background color, and the like.

        The best example I can think of offhand is JColorChooser. Once upon a time you got a very small, handy little widget to select a color. I rather liked it. Nowadays you have this huge monstrosity with a hundred tabs and bells and whistles and the like, offering dozens of different *ways* of choosing your color. I rather hate it.
        • You can stipulate exactly how you want the widgets to look with Swing, that's the whole point of the L&F aspect of it.....so that you can have an application looking the same regardless of what platform it's rendered on. You can have applications look like they're on a different platform, or create your own L&F if you so desire.
        • Actually I understood full well what the original poster was trying to say, it just doesn't make sense. HTML does not specify on-screen appearance, but document structure. Swing is a class library that manages on-screen appearance. The two couldn't be further apart.
  • by count3r ( 316207 ) on Monday January 27, 2003 @07:59PM (#5170519)
    IBM's entire suite of database (and related) tools are written in Java. Of course IBM has huge incentive to give its customers a non-Windows alternative. Java provides that alternative-- the tools suite runs on *nix as well.

    See this [ibm.com] for some (pretty old) info...

    No sign of this investment waning either... (knock on wood!).

  • by VirtualUK ( 121855 ) on Monday January 27, 2003 @07:59PM (#5170520) Homepage
    I've worked on many enterprise scale solutions for several Global 500 companies, all of which have used Java for client applications (as well as J2EE backends). Just because you don't happen to see Java in your workplace or in the media as much as you used to doesn't mean that it's not there. A lot of companies decided that when "thin-client" was the in thing to do, to ditch Java in favour of trying to produce sophisticated client applications using HTML/DHTML/JavaScript/CSS/etc. and failing miserably because of the problematic issues between not only different browsers but also different versions of the same browser (for example, an app isn't going to be very "cross-platform compatible" if it only runs on Version xyz of Browser ABC with options 1,2 and 3 on but 4 turned off).

    For those large Global 500 companies, usually operating in many sites, quite often operating out of different countries, it's not difficult to imagine that the makeup of their enterprises in terms of deployment environment can be pretty mixed, from Win9X,XP,NT through a range of *nix type environments which still do get used for desktops. Java offers the only true platform independant, scalable, reliable to use when tackling these kinds of solutions, trying to explain to a company of these kind of sizes that they all have to upgrade to some new OS just because there's some DLL that will only run on that platform that is needed for the end solution is not going to happen in a lot of cases.
  • SWT (Score:4, Informative)

    by the eric conspiracy ( 20178 ) on Monday January 27, 2003 @08:04PM (#5170544)
    I would say that if you are concerned about GUI performance and Swing, you should really take a lookat the SWT toolkit. It's available at eclipse.org.

    • Re:SWT (Score:2, Interesting)

      by VirtualUK ( 121855 )
      There's too many interoperability problems with SWT and Swing/AWT, which means that for anyone that uses 3rd party components (eg. JClass) it becomes a pain to have to integrate. Not that it's impossible, but you end up putting in a lot of effort into it which just isn't needed.

      As with many things, there's a dozen ways to reach the same end point with Java. There are best practices to ensure that you arrive at efficient solutions. The problem with Java is not with the language itself, but with some of the "developers" that use it. Because Java held the promise of being an easier to learn language, lots of people started hacking away at problems with nothing more than the javadoc to get them through it, people who prior to coding their 1,000,000 line masterpiece had only got as close to coding as some JavaScript and thought that as it had a similer sounding name that it would be just as easy. The developers that have had a proper grounding in patterns, etc. that have been coding for some time realise that Java in essence was just another way express an answer to a solution and that the same ways of solving the problem where still apparent, just the language was different, and they go on to show the newbie that their 1,000,000 line monster can really be accomplished in just a dozen or so lines, if only they'd thought about the problem more and less about the tool they're trying to solve the problem with.
    • Unfortunately, it's not much faster on MacOS X than Swing.
  • by 4of12 ( 97621 ) on Monday January 27, 2003 @08:06PM (#5170556) Homepage Journal

    I'd be really curious to get the answer to this question from one of the "walking wounded" Corel developers that climbed on the client side Java bandwagon half a decade ago (in the Cowpland era), attempting to write an Office suite application [sunsite.tut.fi].

    As I recall, the bandwagon was bumping over a rough dirt road at the time and the project died.

    With all the seasoning that's happened to Java, with the new possibility that the courts will make MS bundle a reasonable Java, I'd be curious if the speed, robustness, and cross platform issues have been sufficiently solved from the perspective of developers that hit all 3 of these issues back in 1996.

  • by smackthud ( 116446 ) on Monday January 27, 2003 @08:08PM (#5170573)
    If you're looking for the "latest" stuff going on in the client side Java world, a good place to start looking IMO is at some of the Java applications being written which are using JNLP as a means of distribution.

    There is a list of JNLP enabled applications [slashdot.org] at the OpenJNLP [slashdot.org] site. Other JNLP related information can be found at VampHQ [slashdot.org] and at SUN.

    JNLP is essentially a chunk of XML which describes the parts of an application, what security settings are requested by the app, who wrote it, a description, etc. Using this file, a program such as Sun's Java Web Start [slashdot.org] or OpenJNLP [slashdot.org] can be used to automatically download and launch the application. This is great for developers, because users can simply click on a link in a web page and launch an application, which is cached for the next time its needed, or until a newer version is needed. Just replace a jar on your server with a newer version, and your users will all automatically download and use it. Automatic upgrades! Once cached, JNLP applications can run standalone (meaning, no server) and without network access.

    A good example of using JNLP is the texteditor JEXT [slashdot.org] which I run all the time on my laptop on plane trips.

    I hope this is helpful when looking for modern client side java applications.
    • We have a large Java application for the enterprise deployed and launched via JNLP.

      Moving from an applet in Java 1 using AWT+third party widgets (Swing was a big, leaky pig in Java 1) to a Java Web Start (JNLP) application in Java 2 using Swing was a big win for us in terms of better control over our evironment (control over the JRE version), better Java VMs (we used the MS JVM in Java 1 because the SUN implementation wasn't very good; SUN's recent Java 2 implementations are much better), and write-once run-anywhere is a lot closer to reality (it was pretty much marketing hype for non-trivial GUI applications in Java 1).

      The downside with Java 2 is that on Windows you need to get a plugin (if you want to integrate with portals and launch from the browser; for applets or for Java Web Start) and a JRE down to the client. The combination of locked down machines (which make this hard to do for those companies without good software push models), IT managers who feel their job is to not install software on client machines (what? support new software? that will make my job harder...), and Microsoft not providing Java 2 can cause you serious problems. And let's not forget those forward thinking individuals who believe that the browser provides the only UI you will ever need.

      Java has come quite a long ways from where it was a few years ago and provides an excellent software development environment, platform independence, and good performance.

      Java, it's not just for servers anymore...

  • by redelvis ( 631756 ) on Monday January 27, 2003 @08:16PM (#5170626)
    I've been writing Client side Java GUI programs for about 3 years now. Some have been small interactive graphing tools, but more recently I've been working on a large Debugging Tool API program. In my experience, it is possible to create Swing applications that are:
    • Visually pleasing
    • Fast and Responsive
    • Scalable

    However, I have found to achieve these goals at a high level of quality has taken significant experience and many dead-ends. Java Swing GUI's are NOT for "rapid GUI application" the same way that VB is marketed as for instance. It takes solid knowledge of the Swing API - which in my opinion is a very powerful flexible GUI API, but one which comes with lots of "gotchas" to watch out for.

    In my experience I would say that a good Client side Java GUI can be developed, but the following pitfalls need to be avoided:

    • Avoid GUI Code Generator tools to design your GUI layouts. They lead to highly unmaintainable GUI code but more importantly to less consistent screens (have a read of Building user interfaces for object-oriented systems [javaworld.com] for more details
    • Build a decent framework that sits ontop of Swing to automate and standardise the process of view creation. I've found Swing GUI work can be made significantly more productive and easier to maintain if Swing screens are being automatically generated from data objects. For example, I use a Field builder to generate appropraite Swing fields (text box, combo box, check box etc) depending on the Type of the data field (String = text box, Boolean = check box etc). This way the interface remains constant and up to date with any chances to the data model.
    • Know when to deligate work to a background thread, instead of tying up the AWT Event thread ... this is a common mistake in Java GUI's that gives the perception of an unresponsive or frozen application
    • For large applications, distribute a decent Java Runtime for your application to run on. This is the approach Borland takes with JBuilder. You are distributing a big app, so why not bundle with it a robust JVM that you have tested your app on?
    Just my 2c - happy App building.
    • here here! Well said (typed!) :)
    • Avoid GUI Code Generator tools to design your GUI layouts.

      While I think code generation is a sign that a database (or collection) should be used to store boat-loads of attributes instead of app code, IDE's are better for visual layout. Boss's and users like to tweak screen positioning to the N'th degree, and a visual pointing system is better for this than code-based nested flow layouts IMO.

      From the link: "So what, exactly, is an object? You may have read in a book somewhere that an object is a datastructure of some sort combined with a set of functions, called methods, that manipulate that datastructure. Balderdash! Poppycock! First and foremost, an object is a... "

      As an OO critic, I have heard plenty of fights among OO fans about exactly what an "object" or OOP is. This sounds like Yet Another My Definition Is Better Than Yours claim.

      OO seems like Barbara Walter's leafy mind-tree: it was whatever a celebrity wants it to be in their mind.
    • I read the Web link article you listed and Googled to find Part 2 of that article.

      Let me see if I have this straight. I have this object, this thing, that has the employee salary attribute. I am not supposed to touch that object to know what the salary is, and I am not supposed to know if salary is a float or perhaps a string because that is too implementation dependent. If I want to display salary on a form, the display capability for salary has to be wired into the employee object -- the employee object has to be able to output salary to a widget or perhaps dynamically create a widget capable of displaying salary?

      You know, I don't care how pure OO one is, a person still has to get data from point A to point B. Some THING that represents salary has to be transmitted to some other THING that displays some pixels.

      So I guess you are telling me that it it not OK to export an attribute as a float or even as something as universal as a string. I am supposed to transmit attributes as a bunch of calls to AWT (of all things in light of the discussion on this topic) to blt stuff across? And that directly poking at AWT is a purer abstraction than passing a string out of a data object and into a viewer widget?

  • by knightwolf ( 457910 ) <jwm05c.mizzou@edu> on Monday January 27, 2003 @08:21PM (#5170656) Homepage

    We've got an inhouse development team for database applications and we're totally dependent on Java. Part of this is it's really simple to develop an app that's very functional, fast. Libraries are easy to find (no stupid DLL annoyances), the API is very well documented, etc.

    Swing right now has a few quirks, but works well for the most part. Drag & Drop is still a pain, but is doable. The best part though is the database support. That's easy to implement, powerful, can use JNDI, and allows you to tie a client application to a middle tear or backend easily.

    LDAP support is also great, especially using Novell's LDAP drivers. Novell eDirectory has great java support, so does openldap, Oracle, DB2, etc.

    I've worked on eDirectory, Oracle, and MySQL using java, with over 60,000 lines of code, 7 or 8 applications, etc. The big thing is doing development on linux, and then having it run on my powerbook or on the windows machines. That's VERY nice from a portablity and usability aspect. Java does some things really really really well, and I'd highly recommend looking more into client development.

  • I remember back in 95/96 when Java was the bold new revolutionary programming language that all programming would be done in by 2000. Back then the corporate IT nazis at several large corps decided to enforce "java only" policies at the corps. I was a real case of hype not being lived up to. Back in 95/96, your average IT desktop was too slow for Java. Not only that, you couldnt find any programmers. Soon I started seeing job ads for "java programmer, 10 years experience". The PHBs didn't "get it" obviously. Cross-platform is the biggest non-issue I have ever seen when it comes to the arguement for Java apps.Write once, run anywhere _never_ worked. Either your jvm was too old, too new, your platform didn't have one, or some other excuse. Also frustrating to me was that at the time there were tools that let you write once for their own api, and would platform specific code for windows/x11/macos. In other words, java offered you the choice of writing once and having the same crappy app on all platforms versus using an IDE that would produce apps in the native platforms toolkits. Still waiting for client-side JAVA apps? You might as well wait on Duke Nukem Forever. Or for Sylvia Browne to answer the JREF challenge.
  • I am using my experience at a particular client site where I am consulting. Utilizes a VB client application to track persistent inventory (i.e. a resource that isn't used up permanently, such as seats on an airliner) versus inventory reservations (e.g. someone books a flight, gets seat 8A in first class, etc.).

    My observation is that a Java/Swing version would force front-loading of the work, and would penalize a crappy design much, much sooner than a VB implementation.

    It's just that once you run into something the VB toolset doesn't let your app do, you realize that you have to rip a whole lot of stuff out.
  • by mactari ( 220786 ) <rufwork.gmail@com> on Monday January 27, 2003 @08:44PM (#5170837) Homepage
    Swing (Sun's tech that lets you create GUIs the same xplat) stinks. But even Sun admits it [sun.com], and (see the same link) they are doing something about it. Swing is no longer "a way for database apps to display debugging information in X11".

    I'm still hoping for a Swing replacement from Sun that'll ship with its java virtual machines, but until then we have IBM's SWT [eclipse.org] which ties the widgets much more closely to native counterparts and Apple's attempts to merge Swing directly to native GUI widgets. We're nowhere close to Windows.Forms yet, but Swing's not so bad that you can't get the hang [notice I didn't say Swing] of things quickly.

    The point being that you have options. Once you get the hang of Window Managers (doesn't take long) and creating some sort of Model for everything (from sorting tables to adding new values to lists), you can do complicated layouts that work xplat more quickly in the text editor of your choice than you could hack up a static UI (ie, that doesn't resize well) in the Visual Basic IDE -- which, as everyone knows, is really what makes VB GUIs "so easy".

    (Aside: Even more importantly would be a standards-compliant parallel to what Microsoft's Web Forms does for IE... a quick, smart widget toolkit for the web. A "JWeb Forms" for JSP would do a lot to enable smart web-enabled UIs to Java web services.)

    And there's nothing about Java that stops it from being a great client-side language short of Swing. Moore's Law and clever JIT VMs have pretty much done away with any show-stopping speed issues. Another hurdle is the fact that Java only compiles to bytecodes, making [even commercial] apps trivial to decompile, but if you look at VB 7 (aka, VB.NET) and C#, Java's most closely related competitors, they've got the same problems.

    And sure, Java is more "Write once, test everywhere" than "... run everywhere", but you're not going to find an easier port from one platform to the next than Java. It commoditzes [joelonsoftware.com] the user's operating system, and that's a great thing.

    And heck, I'm using it [webhop.org]. At least I'm putting my money where the keyboard is.
    • Sun won't be replacing AWT any time soon. They've got so much development invested in writing the AWT certification tests (VM certification, that kind of thing) that they'd be hard pressed to come up with a new test suite for a completely different GUI toolkit. The current certification test suite has thousands upon thousands of tests, to duplicate that effort just to support a new toolkit would require the expenditure of quite a bit of capital. It would take a really strong case to change the status quo.
    • purrrlease! What kind of newbie would try to use a GUI toolkit to talk directly to something back end? -- "Swing is no longer "a way for database apps to display debugging information in X11""

      It's the posts up above that seperate the wanna be hackers that bone up on "Dummies guide to ....." from the people who truely know what they're doing.
  • These aren't ones with wide distribution, but they're very useful for what they do:

    Gallery [sourceforge.net] (specifically Gallery Remote, and the thumbnail applet)

    Editize [editize.com] (nice HTML editor for replacing <textarea> tags)

    They're not huge applications suites, they're small, useful apps that fit a niche need - and that's what makes them successful.
  • AWT, Swing, SWT (Score:5, Informative)

    by Phouk ( 118940 ) on Monday January 27, 2003 @09:12PM (#5171000)
    For Java, the three most prominent GUI libraries are AWT, Swing and SWT. Though I'm not an expert, here's what I understand of their differences.

    AWT was Sun's first attempt, what you see in applets and early apps. AWT uses Java proxies for native widgets, but suffers from the "lowest common denominator" problem - it only offers a small number of widgets available on all platforms. Supposedly, it had to be developed in a hurry because of a requirement from Netscape (remember them?), and it shows. AWT is available in most built-in browser VMs, and it's not so large to learn.

    Swing is Sun's replacement for AWT (which, AFAIK, is still supported but not being significantly enhanced). To avoid the problems with AWT, with Swing the pendulum is now, uhm, moving in the other direction: Swing uses graphics primitives to draw it's own widgets. So, they were able to provide a lot of them, and they really look the same on all platforms, with a set of different looks to choose from ("pluggable look and feel"). Swing has a reputation for being slow, but with current VMs and on non-ancient computers, IMHO that is no longer true. The Swing API is better designed than AWT, but large.

    When the guys at IBM developed Eclipse (GREAT IDE, now open source, see www.eclipse.org), they wanted it to be competitive with the GUIs of Microsoft's IDEs, which Swing wasn't back then. So they rolled their own, SWT, which is also available as open source. I only know it as a user and having read a little, but from what I understand, they use native widgets where possible, but draw their own where the target platform lacks a specific widget, and thus avoid AWTs lowest-common-denominator problems. Because of the native widgets, and judging from Eclipse, SWT apps feel snappier and much more native (like real GTK2/Motif/XP/...) than Swing apps. I heard SWT has its own problems, among them it's not being part of Java's standard libraries, but I don't know enough about those to talk about them - here you will have to do your own research.
    • Re:AWT, Swing, SWT (Score:2, Interesting)

      by VirtualUK ( 121855 )
      SWT is a toolkit that IBM has been trying to impose on the Java developer community ever since it's first incarnations of VisualAge for Java. They ditched it because of its incompatibilities, and because the problems they were trying to address were fixed when Swing was redesigned.

      IBM thought they would dust off the same old toolkit (they've changed practically nada - still haven't updated the code to follow bean practises), in an attempt to get people to use it for Eclipse plugin development. Hello.....same old crappy toolkit, no improvements, just a lot of hinderances, when will they learn?

      Don't you think it's funny that IBM's product is called Eclipse btw, as in something that blocks "Sun" :)

      -- never take anyones word for it but your own
  • Hence, Java will not die, not until another technology can cover all of the same ground it does.

    I'm already wondering why MS hasn't made publicly available a .NET equivalent of the java sandbox for web browsers. Chances are it will be out soon.

    In the meanwhile, Java is the only way to:
    - have complete control over a TCP socket connection
    - have a UDP connection at all
    - have serious non-SSL crypto in the browser
    - have computation intensive raster graphics
    - a lot more. Java is a full featured language, not a quick scripting glue playing with a few loose objects.

    Flash is on its way though.. their so-called "XML" socket allows to send arbitrary data over TCP, but still has a few weird restrictions (each chunk of data must be null-terminated), and their strong point is graphics after all, even though computations are inherently limited by the not-so-fast actionscript interpreter.

    Note that even after the .NET sandbox becomes available on IE, it will not be immediately available to other platforms (not until mono and others write a netscape plugin wrapper), so Java still has an edge.

    • what do you mean by "the only way"
      • I mean I read the blurb too fast and assumed that "client-side java" really meant "java in the browser".

        Mod me to hell and back, for I have sinned.
        • Ah, that explains it.

          I like java servelets, not too fond of many java stand alone clients... but I think that Java applets for browser might see their day still, for the reasons you mention, and also because in that context they are small applications, which Java seems to do well enough. The large stand-alone apps are much more difficult to make responsive GUIs with Swing. Though I admit I've seen it done.
          • yeah.. swing is an abstraction layer over an abstraction layer. bogus by design.

            Speed-wise, I've been quite impressed with the graphic toolkit used by Eclipse. If I remember right, it's called SWT, and drops AWT totally. It also pretty much drops the idea of giving all platforms the same uniform look, going instead with what feels right for each platform: you compile SWT with motif, you get a motif look. compile with gtk, you get a gtk look, etc, etc..

  • by Anonymous Coward
    Client-side Java is dead. Because my company believes this, we are migrating from client-side Java to Flash MX and XHTML.
  • Believe it or not... (Score:2, Interesting)

    by paploo ( 238300 )
    I'm working with a dev team on writing a full featured thin film engineering application (in house) written entirely in Java. Surprisingly, the thing runs fast enough to do all the intensive physics calculations!

    I've also found that we were able to utilize the Swing API to get almost everything we wanted, including some very unique and handy components that I have been unable to easily duplicate in other languages.

    Well, I would love to tell you more about it, but my NDA strictly forbids it. (In fact, I hope I'm not in violation now!) :)

    -Jeff
  • Just wait for the first MMORPGs to hit the java enabled mobile phones, and we should get a good idea of Java's short term future in client-side apps.

    Having mentioned games, I believe we must wait a bit longer to see that it's business applications that might show how J2ME is here to push Java client-side applications further than AWT and SWING have done so far. A hint is, someone, somewhere, maybe writing the first lines of code that will make SMS obsolete.
  • In addition to Swing and SWT there are also other cool Java client API's.

    Java 2D [sun.com] For doing lots of fun stuff with antialiased text, fonts, composting, etc.

    Java Advanced Imaging [sun.com] For advanced image processing

    Java Media Framework [sun.com] For capture, playback, and streaming of audio and video.
    • Although there are some serious problems with some of the
      Java standard libraries (I think especially of java.net.Socket
      et filia), the abundance of high-quality library support
      for Java really does make a compelling case. The cryptography
      libs are cool, the XML support is great, and if you need
      to fertilize your mushrooms, there's composting.
  • Lots of good Java apps exist, but there aren't any general
    use killer apps done in pure Java, not because of any deficiency
    in the platform, but because such apps are rare and focussed
    and generally don't care about cross-platform or rapid
    development. The IDEs are large-scale apps, for example, but
    are hardly general-use (NetBeans, JBuilder, Eclipse).

    There are tradeoffs to be made in developing a GUI app in Java.
    If you can work within the performance boundaries of Swing, it
    gives you the best x-platform results. If sluggish response
    on low-end client machines is unacceptable, you need to look
    elsewhere. SWT is excellent in every regard, except one:
    It only runs on major platforms (posix-alike, windows, and OSX,
    to my knowledge).

    If you don't care about x-plat, Java is still a great choice,
    using gcj native compilation, with an SWT GUI, but you should
    also look at Kylix/Delphi.

  • Most folks are probably thinking browser Applets and mega-apps like Office. These aren't where you'll see Java. Heck, the same is true of .NET. Mostly you'll see these frameworks used for in-house development, to fit a business need. This is where development most matters, (in terms of $$ spent and value gained) but is where you'll find the least exposure.
  • Laughable (Score:4, Insightful)

    by Twylite ( 234238 ) <twylite&crypt,co,za> on Tuesday January 28, 2003 @02:29AM (#5172636) Homepage

    This is completely laughable. Since its first release (as an add-on package, not even part of the JDK) Swing has been one of the most mature and best designed GUI toolkits available. The only three allegations which can be justifiably levelled against Swing are:

    • Swing has historically had performance problems, and these have not been entirely addressed;
    • Swing was difficult to develop by virtue of not having GUI builders (but no more difficult than most other non-script toolkits without builders);
    • Swing presents a GUI model slightly more complex than is typical, and many developers dive in without understand it (this is especially true for X-Windows developers who have less experience with threads and the concept of a separate thread dedicated to the GUI.

    Most developers who complain about the difficulty of using Swing are simply missing the point. I have had developers argue for hours about how terrible the table/tree components are, because you have to do "all that useless shit with models", and you can't just say "table.setCellAt(x, y, value)". Similarly there are a dearth of developers (especially those from the MS Windows world) who understand the need for layout components, as opposed to using absolute dimensions and coordinates.

    For anyone who disses Swing, make sure you've read the Java Look and Feel Design Guidelines [sun.com]. Better than a Swing manual or introduction, it investigates building real-world applications with Swing, focusing on user experience and usability.

    Swing's support for consistent navigation; centralised control over colours, widget L&F and localization; as well as its powerful and extensible widget set (e.g. TreeTables [sun.com] and the SwingSet2 demo) put it years ahead of most other toolkits, even now. Java's native L&F has improved over the years, to the extent that (for win32 at least) you can create Java apps that look native.

    But Swing is not a silver bullet. With any cross platform toolkit you will run into problems. Qt, GTk, and Wx all have issues that need to be resolved when porting the app using them to a new platform. Similarly there is some effort to ensure that your Java/Swing application looks and behaves consistently on all its target platforms. In my experience Swing is far more portable than other toolkits, with the possibly exception of Tk. If performance is paramount in your application, then Swing is not for you; but this certainly doesn't make it unsuitable for an average business application.

    • Swing is the posterchild for overengineering. It solves problems that nobody asked for and in the process it creates so many of its own problems that it would be funny if it weren't so sad (can you say memory leak?). And the biggest joke is that for all the effort, the Swing team neglected to even get the basics such as focus handling right. Swing is not years ahead of anything. It is a bloated, overengineered monstrosity that's destined for the dustbin of history. And good riddance. (And just FYI, yes, I have lots of experience working with Swing/JFC. I've worked with it for years. It stinks.)
  • I would like to state, for the record, that combining Swing and Java3D leads to an end result that is slow as balls. If you have to do 3D, use SDL or something else.
  • I don't see why it's impossible to get the L&F things right on the line under Windows like Apple did in OS X...

    Apple provides real native L&F for Swing-Apps running on OS X. (By backing it with native Cocoa bindings) This should be possible under Windows too.

    Besides all, I'm still rather confused about the role SWT [eclipse.org] is going to play and I'm really interested on that issue... (because SWT looks promissing to me)

  • Online Banking (Score:3, Informative)

    by DarkDust ( 239124 ) <marc@darkdust.net> on Tuesday January 28, 2003 @06:29AM (#5173202) Homepage
    ... is a real world, large scale client side Java example, IMHO. At least my bank luckily provides a Java applet for online banking (in three versions: one that can be installed, one that is always loaded from the net and one specifically for Macs).

    If they wouldn't provide this applet I'd have a problem, since I don't have any Windows versions installed anymore, for years now... not even at work ;-) And this is were Java shows it true power: the people at my bank don't support Linux, but that doesn't matter to me because they support Java :-)
  • Short answer: No! (Score:3, Interesting)

    by John Harrison ( 223649 ) <johnharrison@@@gmail...com> on Tuesday January 28, 2003 @09:09AM (#5173552) Homepage Journal
    Long answer: I hasn't taken off like some people thought it would, but there are plenty of applications being written in Java. I do consulting for a very large computer company and we do a ton of Java work.

    I spent over a year on a contract at a NASA contractor helping to rewrite the automated documentation/shop floor system. The original system was only about 5 or 6 years old and had been written on the VAX. Of course the platform is dying and machines are getting hard to replace so they decided to port/rewrite the app.

    But what platform to choose? You could shoot for Windows NT, but what happens when NT is EOLd? Hope that it still runs the same on whatever new version of Windows you are locked into?

    So they decided to go with Java on the client and the server in order to give themselves the greatest amount of flexibility.

    Was it a perfect solution? No. There were some issues involving the intricacies of Swing. We were doing some really wacky stuff with Swing though. You haven't lived until you've read "Understanding the Element Tree" five or six times and then finally realizing that if they had just drawn their diagrams a bit differently anyone could have understood it the first time through. That said, I didn't see anything that would cause a problem with your average, run-of-the-mill application.

    Do I think they choose the best solution: Yes. They now have a platform that isn't going to evaporate under them. Even if Sun goes away Java is here to stay.

  • Swing on MacOS X (Score:3, Interesting)

    by ProfKyne ( 149971 ) on Tuesday January 28, 2003 @09:13AM (#5173569)

    I've already mentioned it in another thread on this story, but I felt it was worth mentioning again in its own top-level post. Many have pointed out the maturity of Swing, and I agree completely -- when it comes to Windows. On any other JVM, it is a dog. Specifically, on MacOS X, a large-scale Swing-based app like NetBeans is unuseable.

    It's unfortunate because I'm a huge proponent of Swing, and do make use of it in my own job. Personally I find the Swing model to be quite elegant. But, while I can fire up NetBeans or other big Swing apps on Win2k with no problem, there is zero responsiveness on my equivalently-powered Mac.

    And for anyone who pipes up about SWT, I've used Eclipse too, and it is really only marginally faster than Swing (on the Mac).

  • photomesa (Score:3, Interesting)

    by rhyd ( 614491 ) on Tuesday January 28, 2003 @10:02AM (#5173818)
    the java client app i always show people to convince them that java on the client is about 100 times faster than they thought is photomesa [umd.edu] :

    "PhotoMesa is a zoomable image browser. It allows the user to view multiple directories of images in a zoomable environment, and uses a set of simple navigation mechanisms to move through the space of images. It also supports grouping of images by metadata available from the file system. It requires only a set of images on disk, and does not require the user to add any metadata, or manipulate the images at all before browsing, thus making it easy to get started with existing images."

    its fast and free (beer) and i use it every day
  • Swing is a GUI toolkit that is part of J2SE. This is what most people are talking about when they say 'client-side Java'. But Java is a fine language apart from the whole Grand Unified Platform bit. A Java program talking to QT, wxWindows, Cocoa or something like that, has no major impedements, and performence is not an issue.

    Swing, on the other hand, is brain-dead, ugly, and slower than cold tar. Never, ever use Swing. You're giving Java a bad name. Swing is obnoxtous for programmers, and frustrates users by being unresponsive (prime example: ArgoUML, which is so slow it's literally unusable on my i686). JEdit is also too slow. Furthermore, Swing programs don't fit correctly in desktops, especially Mac OS X.

    Use QT or wxWindows with Java or Python, and you'll be fine.
  • With the interest shift to building web based applications in the last few years, client side application is not as important as it use to be. Even MFC is somewhat dead.

    I hope the court ruling on bundling up-to-date version of JVM would bring more life to client side Java. I like to see it fulfill the cross-platform promise. I'm looking forward for a great, secure email client to replace MS outlook.

  • Maybe a year before Swing came out I wrote a UI in Java that demonstrated a critical problem with AWT - it was single-threaded but some control elements - different ones each time - would fail to display. Because I was with a very prestigous company, I was able to speak to a JavaSoft engineer... who said, "Yes that's a problem, and we have no schedule to fix it." But this hadn't been a lab experiment, so Java was out as a platform.

    Last month I wrote a digital photo gallery creator (http://pictpage.sourceforge.net) in Java using Swing. Guess what... same type of problem, different area. Some JPEG operations sometimes fail... but retrying them repeatedly generally fixes it. Seriously. As long as you can determine that it -needs- retrying. Look for the method bufferedImageSanityCheck() in my source for how I did that.

    So no, Java is not ready for Prime Time on the Client. As a long-time programmer, I blame myself before I blame the tools, but with Java that's no longer a safe assumption. Pity too because I really like the language - but I can't trust the implementation.
  • by sulli ( 195030 )
    write once, crash everywhere.
  • Check out Magic Draw [magicdraw.com] a pure Java UML diagramming tool with code generation and round trip engineering.

    No I'm not an employee, but I use it every day. Would "native code" be faster? Of course, but not enough to make a difference to me.

  • Besides the well known examples like netbeans and eclipse I think Ilog JViews is a great Java Client example too. This package of reusable Java Swing components and SVG based browser components really amazed me!

If you have a procedure with 10 parameters, you probably missed some.

Working...