Slashdot Mirror


Is Client-Side Java Dead?

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?

41 of 109 comments (clear)

  1. real-world client side java apps by HaiLHaiL · · Score: 4, Informative


    NetBeans IDE
    LimeWire Gnutella Client

    Having a modern, Swing-enabled JVM included with Windows 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.

    --


    reech bee-yond ur clip-0n
    1. Re:real-world client side java apps by UberChuckie · · Score: 4, Informative

      Not the mention the popular Java IDE Eclipse. Now that Microsoft has to ship the Java VM, you'll probably see more of Java Web Start.

    2. Re:real-world client side java apps by mc_barron · · Score: 2, Informative

      Here is the correct link to Eclipse.org

    3. Re:real-world client side java apps by joakime · · Score: 2, Informative

      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.

    4. Re:real-world client side java apps by Randolpho · · Score: 4, Informative

      SWT combines everything that's good about both AWT and Swing.

      AWT used native OS widgets, but it took a least-common-denominator approach -- it only implemented those widgets that were common to all target platforms. Things like frames, and text fields. Many widgets that weren't available on all platforms, like, say, a combo-box, were not implemented. It had little to do with "crappy GUI libraries" and much more to do with *incomplete* GUI libraries.

      Swing went the other route, offering a very full set of widgets that is, indeed, cross-compatible for all platforms. Unfortunately, it took a huge hit in performance to do this, as Swing draws the widgets using the JVM rather than making a JNI call to a native (and much faster) widget.

      SWT offers the best of both worlds; it offers a robust and standardized library just like Swing does, but that library is, for the most part, a wrapper to a JNI call, just like AWT was. This gives a marked improvement to GUI performance using SWT over Swing, while at the same time offering nearly all the widgets that Swing does. Widgets not available on some platforms are emulated on those platforms, like Swing.

      So, with SWT you have all the performance of native GUI widgets, but with the rich library of Swing. And SWT is cross-platform.

      Now harking back to my original post, since some moderator thinks I'm a troll, I'll point out what I meant.

      Swing is slow when compared to native widgets -- there is no way of getting around it. Talk all you want about how faster computers will sover the problem; native GUI programs will always outperform Swing programs.

      Enter .NET's Common Language Runtime, which is really just a Java-ish bytecode. The big difference, the point that will keep Java from really competing with .NET, is that the CLR makes calls to native widgets, just like SWT. And, of bigger importance: .NET is beginning to cross platforms, just like Java. And *those* implementations of .NET are rumored to make calls to native widgets.

      If .NET cross-platform-ness takes off, .NET will outperform Java when it comes to GUI applications, *regardless* of platform.

      Sun has a big decision to make with Java: it can continue to push the Swing religion that it has built, or it can adopt a model similar to SWT. I clearly think they should persue the latter.

      --
      "Times have not become more violent. They have just become more televised."
      -Marilyn Manson
  2. Java is pretty mature by ObviousGuy · · Score: 5, Insightful

    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.

    --
    I have been pwned because my /. password was too easy to guess.
  3. software by sporty · · Score: 4, Informative

    eclipse java development software (eclipse.org)
    poseidon uml softare (gentleware.com)

    --

    -
    ping -f 255.255.255.255 # if only

  4. ATM research tool by Anonymous Coward · · Score: 3, Interesting

    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.

  5. Funny you should ask... by cornice · · Score: 3, Interesting

    I was just reading Petreley's latest article at Linux World where he rambles on about client side Java and how JEdit 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.

    1. Re:Funny you should ask... by raxhonp · · Score: 2, Informative

      Yep, and don't forget jext.

  6. Java not an option in my biology research by RevAaron · · Score: 4, Interesting

    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.

    --

    Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    1. Re:Java not an option in my biology research by bwt · · Score: 3, Informative

      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 is an excellent Java based SVG toolkit that includes a Java SVG Brownser called Squiggle. 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.

    2. Re:Java not an option in my biology research by TheLink · · Score: 2, Insightful

      "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.

      --
  7. Once more. This time with feeling. by Ouroboro · · Score: 4, Informative

    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, or Eclipse. Yes I know that both of those are IDE's, but they are fairly large in scale, and have a fairly sophisticated windowing env.

    --
    When I want your opinion I will beat it out of you.
  8. IBM's database admin tools are all written in Java by count3r · · Score: 3, Interesting
    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 for some (pretty old) info...

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

  9. Couldn't be further away from the truth.... by VirtualUK · · Score: 3, Informative

    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.

  10. SWT by the+eric+conspiracy · · Score: 3, Informative

    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.

    1. Re:SWT by VirtualUK · · Score: 2, Interesting

      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.

  11. Corel Java Office Developers ? by 4of12 · · Score: 3, Interesting

    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.

    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.

    --
    "Provided by the management for your protection."
  12. The JNLP community is a good place to look by smackthud · · Score: 4, Informative

    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 at the OpenJNLP site. Other JNLP related information can be found at VampHQ 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 or OpenJNLP 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 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.

    1. Re:The JNLP community is a good place to look by Dr+Rick · · Score: 2, Interesting
      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...

      --

      Dr. Rick
      - "It's such a fine line between clever and stupid" (Nigel Tufnel)
      - Zort! (Pinky)
  13. Quality Java Client Apps are possible by redelvis · · Score: 5, Informative
    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 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.
  14. Several Java apps developed by knightwolf · · Score: 4, Interesting

    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.

  15. Bring out yer dead? Hope not -- I'm using it. by mactari · · Score: 4, Interesting

    Swing (Sun's tech that lets you create GUIs the same xplat) stinks. But even Sun admits it, 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 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 the user's operating system, and that's a great thing.

    And heck, I'm using it. At least I'm putting my money where the keyboard is.

    --

    It's all 0s and 1s. Or it's not.
  16. Re:Once more. This time with feeling. by Bouncings · · Score: 2, Insightful
    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.

    --
    -- Ken Kinder ken@_nospam_kenkinder.com http://kenkinder.com/
  17. Re:Once more. This time with feeling. by karnat10 · · Score: 2, Informative


    ...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, Mac2Phone, 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).

  18. AWT, Swing, SWT by Phouk · · Score: 4, Informative

    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.

    --
    Stupidity is mis-underestimated.
    1. Re:AWT, Swing, SWT by VirtualUK · · Score: 2, Interesting

      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

  19. dated = not accurate by sydlexic · · Score: 2, Informative

    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.

    1. Re:dated = not accurate by RevAaron · · Score: 2, Interesting

      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.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  20. Re:IBM's database admin tools are all written in J by mauryisland · · Score: 2, Informative

    This looks remarkably like ServerStudioJE, which is a database administration tool for Informix databases, which incidentally, IBM now owns. I find it to be an excellent application!

  21. Believe it or not... by paploo · · Score: 2, Interesting

    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

  22. Oracle JDeveloper by Tailhook · · Score: 2, Informative

    A complete development environment made of Java, by Java developers, for Java development.

    Any questions?

    (free developer license too)

    --
    Maw! Fire up the karma burner!
  23. Re:other cool client Java API's by aminorex · · Score: 2, Interesting

    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.

    --
    -I like my women like I like my tea: green-
  24. Re:About Smalltalk... by RevAaron · · Score: 2, Informative

    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.

    --

    Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  25. Re:Swing by Randolpho · · Score: 2, Interesting

    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.

    --
    "Times have not become more violent. They have just become more televised."
    -Marilyn Manson
  26. Laughable by Twylite · · Score: 3, Insightful

    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. 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 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.

    --
    i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
  27. Online Banking by DarkDust · · Score: 2, Informative

    ... 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 :-)

  28. Short answer: No! by John+Harrison · · Score: 2, Interesting
    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.

  29. Swing on MacOS X by ProfKyne · · Score: 2, Interesting

    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).

    --
    "First you gotta do the truffle shuffle."
  30. photomesa by rhyd · · Score: 3, Interesting

    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 :

    "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

    --
    'Be the change you want to see in the world' - Al Gore