Slashdot Mirror


Java Success Stories

gark writes "The Java Lobby has a weblog on Java success stories. Many of the successful applications are servlet based, and several use Apache JServ. Perhaps WORA [write once, run anywhere] really has been achieved, at least for server apps."

235 comments

  1. FOR KRISTMAS by KillKenny · · Score: 0

    TAKE MY KARMA PLEASE!!!

    1. Re:FOR KRISTMAS by KillKenny · · Score: 0

      btw FIRST WOO FUCKING HOO

  2. Last Post! by Last+Post! · · Score: 0

    Java *successes* eh?

    What about all those Java failures that no one ever talks about. The charred, smoking wreckage. The orphans.

    Wake up people, there's a side of Java that the industrio-trilateral commission regulated media doesn't tell you about.

    Viva la revolucion!

    _.......................__
    ||.....__...._._||_..||-\\..._...._._||_
    ||......_\\.(/_'..||....||-//.//.\\.(/_'..||
    ||__((_||_,_/).||_..||....\\_//.,_/).\\_
    The final word; anything following is redundant.

    1. Re:Last Post! by Anonymous Coward · · Score: 0

      Flamebait or Funny? You're a moderator's nightmare.

    2. Re:Last Post! by Anonymous Coward · · Score: 0

      I vote 'Insightful'.

    3. Re:Last Post! by Anonymous Coward · · Score: 0

      Yah, I agree. "Java Successes" is like saying "Russian Nuclear Power Plant Successes".

    4. Re:Last Post! by furball · · Score: 1

      heh. the reason no one creates a java failure weblog is because it only takes a moron to create a failure. it takes genious to create success.

      take anyone off the streeth, you've got a java failure in 15 minutes.

    5. Re:Last Post! by Anonymous Coward · · Score: 0

      Java Failures Well I recently took a "Java" failure written of by a group of Prima Donna C programmers and rewrote it. The company made 5 million off it ...

    6. Re:Last Post! by Anonymous Coward · · Score: 0

      god knows that there have *never* been any failures in *PERL* or *C* or *C++* or, gasp, even *PYTHON*.

      please, lets show a *slight* bit of objectivity and separate the author from the tool.

      sigh.

  3. Reminds me of the Gary Larson cartoon by glomph · · Score: 2

    Where the guy shouts all sorts of admonishing remarks at his dog; and all the dog hears is...

    "Blah blah Java blah blah blah Java".

    1. Re:Reminds me of the Gary Larson cartoon by JamesKPolk · · Score: 1

      I wish I had some moderation points left, for this post would say (Score:2 Funny) if I had a say.

      Though, I'm sure it would very quickly say (Score:1 Flamebait) not long after... and I'm pretty sure that's also an accurate moderation. ;-)

  4. Java's dead. Get over it. by Anonymous Coward · · Score: 0
    Who cares about Java anymore, now that Sun has officially decided to kill it off by making it propriatary.

    Java was a good try - but it's time to move on to a better (and open) solution.

    1. Re:Java's dead. Get over it. by ry4an · · Score: 1

      Acutally they're expected to GPL the Java 2 Standard edition in January.

    2. Re:Java's dead. Get over it. by Pomme+de+Terre! · · Score: 1

      >Acutally they're expected to GPL the Java 2
      >Standard edition in January.

      Actually they will do no such thing. Sun has been quite clear in their opposition to the GPL. It is possible, however, that they will release it under their Sun Community Source License.

      You know this license, don't you? (Ask any Blackdown team member.) "You do all the work, we take all the credit."

      Dave

    3. Re:Java's dead. Get over it. by seaportcasino · · Score: 2

      Java ain't proprietary; it's just still too rapidly evolving to be handed to "api by committee". We should be thanking sun, not condemning them. Once it is mature (as in Unix mature) then let the "api by committee" lord it over the place.

    4. Re:Java's dead. Get over it. by ihxo · · Score: 1

      There are many company using java on embeded systems, and many university has changed java as the entry level language, it'll be a nightmare for those University it java is dead.
      Javva is far from dead, though I don't really care about it..

    5. Re:Java's dead. Get over it. by Anonymous Coward · · Score: 0

      Nah... writing a java program sure beats the heck out of writing in C. I'm a college student, and no matter what Sun has done, java remains a good language for educational purposes. Here at UC Berkeley we've replaced C with java for an entry level class. On surveys many students end up choosing java as their favorite programming language.

    6. Re:Java's dead. Get over it. by AugstWest · · Score: 2

      You're uninformed. Get used to it.

      Support for Java is still growing. While it may be entertaining to spout crap like this, it's really not useful or constructive.

      Once again, /. users must be told EVERYTHING DOESN'T HAVE TO BE OPEN SOURCE. Jesus, 1999 appears to be the year of Open Source Fascists.

    7. Re:Java's dead. Get over it. by Anonymous Coward · · Score: 0

      dead? pfff i think u should get out more aften

  5. You mean.. by Anonymous Coward · · Score: 0

    Kwanzaa......Happy holydays & Kooky Kwanzaa everyone. Chappy Channukah Chaps.

    1. Re:You mean.. by Anonymous Coward · · Score: 0

      "Sometimes I drink a little beer, Sometimes I make a little mess, Sometimes I get a little angry, Sometimes I kick a little ass."

      happy holidays from the stone cold guy

  6. I've had great luck with WORA with servlets by Rombuu · · Score: 2

    Although there are certain well known problems with using Java on the client side (speed issues, GUI issues, etc...) the company where I am am doing some work at currently has had some great success doing work with Java servlets. We were able to take some code written and tested on WinNT and Solaris and get it up and running on a Linux box in less than two hours from the time we took a completely bare box, install the OS, and have the app up and running, with absolutely no changes to the code. I don't care how portable your ANSI C code is, but that is almost unheard of.

    Now if only we had a spare IBM mainframe sitting around to try it under that environment...

    --

    DrLunch.com The site that tells you what's for lunch!
    1. Re:I've had great luck with WORA with servlets by soulhuntre · · Score: 1

      I don't care how portable your ANSI C code is, but that is almost unheard of.

      That's interesting, and untrue. Porting straightforward C/C++ code among those OS's is no bigh trick at all.

      But hell, by THAT standard PERL is WORA, so is Python. We sure don;t need all of Sun's Java overhead for that.

      Of course, no matter what SUN would liek you to believe, java was SUPPOSED to be WORA on the >CLIENT side as well... it just couldn't cut it - reinventing itselve as a server side tool is cute, but hardly important.

      Ken

      --
      --> Fight tyranny and repression.... read /. at -1!
    2. Re:I've had great luck with WORA with servlets by Anonymous Coward · · Score: 0

      Add anything requiring networking and have fun..

    3. Re:I've had great luck with WORA with servlets by Anonymous Coward · · Score: 0

      ROFL! Portable C/C++, now that is funny. Maybe a "hello world" but beyond that the mixture of hardware, versions, and compilers require lots of #ifdef's.

    4. Re:I've had great luck with WORA with servlets by Anonymous Coward · · Score: 0
      Client-side Java was sabotaged by being integrated by startlingly incompetent organizations (the NN and IE authors). The JRE1.2 plugin gives much better results, except that hardly any other platforms have adopted it.

      And Java, server- or client-side, is still our best chance at getting safe mobile code, which will be the first important advance in computing since the seventies.

    5. Re:I've had great luck with WORA with servlets by seaportcasino · · Score: 2

      I'll tell you, those Servlets are fantastic. I've changed OSs and Web Servers and my code just doesn't break (expect for one annoying problem, which of course turned out to be my own coding problem!)

    6. Re:I've had great luck with WORA with servlets by seaportcasino · · Score: 1

      I don't care how portable your ANSI C code is, but that is almost unheard of.

      Yeah, and with your ansi C your networking code, database code, threading code, and basically everything else worth mentioning will be left far far behind. I suppose if you were just using your computer as a big calculator that ansi c code might be ok.

    7. Re:I've had great luck with WORA with servlets by AugstWest · · Score: 2

      Client-side Java was sabotaged by being integrated by startlingly incompetent organizations (the NN and IE authors). The JRE 1.2 plugin gives much better results, except that hardly any other platforms have adopted it.

      Sun has only just released the plugin for Solaris, they originally developed it for and *on* NT. Blackdown had stated that they would release a plugin for Linux once they had a full release of 1.2.2, but that's now in a state of flux due to Sun's poor handling of the situation.

    8. Re:I've had great luck with WORA with servlets by Anonymous Coward · · Score: 0

      Hmm, I don't know your project, but being server code, it probably just takes requests, does some networking, connects to rdbm's, transforms data and sends it back. Probably also thread-based ?

      This kind of stuff has usually no kind of user interface and does not use any windows or widgets.

      So, what is the point ? Programs like this can be implemented easily in portable C/C++ code. Any experienced C+ programmer worth their money can do that. Even more so: The C++ code will probably run some 5-10 times faster than the java version.

      On the client side, you could immediately see how god damn slow Java really is. But on the server side, it is very much hidden, and you cant see how much resources your are wasting.

      And then: Do you really need WORA on the server ? Do you constantly migrate your server code from one platform to the other ?

      I don't think so. Usually, you first analyse your requirements, then you choose the server platform, and then you will buy/make your server application.

      Sure, the server might have to be upgraded later on, but you will probably just buy a more powerful version of your original mchine. I can't quite see the point of having WORA server code.

      If you look at the history of Java, it started out as dedicated language for appliances, then it was redesigned as Web language. But applets failed, and Java clients failed as well. As a consequence, Sun tried to reposition Java as a middleware and server technology, and thats where we are in the moment.

      It just looks like a desperate move to me, and I get the impression that Java is just a solution in search of a problem. We had attempts like this before (anybody remembering UCSD-Pascal, Forth and Smalltalk ?) and they all more or less failed.

      I am not quite sure whether Java will decline and fail (There are already so many programmers and projects using it, and universities are switching to it as an educational language), but I am also not sure if will be still around in 5 or 10 years.

      Greetings, Fritz

    9. Re:I've had great luck with WORA with servlets by Anonymous Coward · · Score: 0

      dear god.
      you all must write software that doesn't require any scalability if you can't see the value in being able to replace the hardware platform from underneath the v.m. it works, i've done it numerous times to achieve higher scale, and i am a believer.

      too bad we all, here on slashdot, spew from the annals of our EMPTY MINDS.

      experience it before you bash it.

      sigh.

  7. Starting Java... by ReadParse · · Score: 1
    Why was I surprised when the first thing that happened when I clicked the javalobby link was Netscape's infamous "Starting Java..."?

    I guess not everybody has given up on client-side Java.

    RP

    1. Re:Starting Java... by kijiki · · Score: 1

      Client side java rocks. For webgames: http://kijiki.resnet.gatech.edu/breakout

      It crashes Netscape/X though, for Linux, I suggest IBM's JIT or Blackdown/Sun's latest RC: "appletviewer http://kijiki.resnet.gatech.edu/breakout/play.html " and goto the link off the main page to see your highscore.

      Enjoy!

    2. Re:Starting Java... by Anonymous Coward · · Score: 0

      Ah, maybe this is not the place to ask such questions, but is there a way to make Netscape use a JRE like the IBM one you mention or Blackdown's ? Any pointers or links appreciated.

  8. Our JServ success story at Webstakes.com by nabucco · · Score: 4

    I work at Webstakes.com ( http://www.webstakes.com ) - we're a very popular site, on the Media Metrix 500 and so forth...our entire operation runs on Apache JServ and we're very happy with it. We actually migrated from a Java-based application server and this is much better. I'm the UNIX system administrator, and in the past I have worked with many commercial application servers, from Broadvision to NetDynamics, and I have to say Apache JServ blows everything else away...I love how flexible Apache is and how JServ fits into it...it makes me wonder why so many financial companies have such a love for Netscape Enterprise server or IIS

    Open source application servers are the best - I can tell you from personal experience over the past couple of years...they really blow away commercial application servers. My friend has mod_perl on Elance.com and I'm curious as to how that's working out...I know PERL is a very web-friendly language, maybe even a little more than Java.

    1. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      ...it makes me wonder why so many financial companies have such a love for Netscape Enterprise server or IIS (emphasis mine)

      It's because IIS has extremely easy integration with truly heavy duty databases. No other package will let you go from ground zero to an industrial strength database backed site in less time and training. (I mean from complete ground zero - including installing and confinguring all software needed)

    2. Re:Our JServ success story at Webstakes.com by nabucco · · Score: 1

      I'm a little confused, how is the web server involved with database integration except peripherally? Many of the large commercial application servers give you multiple options for web servers - usually Netscape Enterprise server and IIS (with a little hacking you can usually get Apache and the like, although you give up their NSAPI/ISAPI for a slower CGI).

      Apache is very easy to install - configure, make, make install. But it's still very flexible and ready for heavy duty usage as Netcraft attests to. The application server is what has to be integrated with the database, be it Oracle, SQL server or what not...when I'm digging around for Oracle drivers for my Operating System, it's always been for the application server, not the web server

    3. Re:Our JServ success story at Webstakes.com by seaportcasino · · Score: 2

      I'm using Netscape Enterprise right now. I tried an earlier version of apache JServ but didn't have much luck. Does your servlets really run as well on JServ compared to Netscape. NES is supposed to have the best/fastest implementation of servlets out there, but it is a really buggy program with a lousy interface and sometimes I swear worst configuration tool and help I've ever seen. I would LOVE to go to apache, but I'm just waiting to make sure that they've "done it right" with Servlets. Please report what you think of their implementation compared to NES. Thanks!

    4. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      Through ADO via ASP and any other ISAPI or CGI language. ADO in ASP is brain dead-easy to use for database-driven sites.

    5. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      brain dead is the key phrase. you must be a dumb fuck.

    6. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      Have you tried Apache with PHP? I found it to be very easy to use. Check out the WebMonkey tutorial for PHP and MySQL. The code will help you understand the ease of programming for "heavy duty" databases also.

      Webmonkey PHP/MySQL tutorial:
      http://www.webmonkey.com/programming/php/tutorials /tutorial4.html

      I'm supporting a legacy ASP application with a connection to Oracle. (I'm assuming we're talking about ASP.) Getting ASP and Oracle 7.x/8.x to talk together is a nightmare. For example: try using Oracle stored procedures with IN-OUT parameters or finding the right ADO/ODBC driver combination for recordsets with backward-moving cursors. I've had to try various combinations of ODBC drivers and ServicePacks. The last time I rebooted the server, I lost my database connectivity and had to re-install the Microsoft Data Access Components!

      I wouldn't consider that "easy integration"!

      Then there were those late nights around the server in pure frustration with ADO 2.0 and SQL Server 6.5 ServicePack 5... Easy integration was my last concern. How about keeping the whole thing running long enough to get some sleep?

    7. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      Have you tried Apache with PHP? I found it to be very easy to use. Check out the WebMonkey tutorial for PHP and MySQL. The code will help you understand the ease of programming for "heavy duty" databases also.

      I agree, I like Apache with PHP, however I would not consider MySQL to be an industrial strength database, on the level of Oracle or SQL Server. If you want to argue this point, you'd best find some benchmarks first.

    8. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      Now that's an intelligent comeback.

    9. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      Oh no our AC friend from Micorsoft

      "quote" Win2000 has not crashed in a week! it is dead simple to install!!! you don't need code monkeys!!! just install IIS!!! add some windows caca here and windows caca there!!! learn the stupides API in the world !!! and VOILA!!! A WEB SITE UP
      To root for the linux cause is one thing, to root for the windows cause (WTF????) sad

    10. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      No dude!!! you haven't listened to our AC friend from Microsoft!!!

      "quote" EASY SET UP!!!! FROM GROUND ZERO TO CORPORATE LEVEL IN 20 Min!!! no code monkeys needed!!! fuck code monkeys!@!! just managers and buttons here and buttons there!!!! And VOILA !!!! WEB SITE UP!!!!! "quote"

      what problem with ADO and SQL server ?? NO I DON"T SEE ANYTHING!!!!

      Microsoft is competing to remain a "stable" java middleware platform... they are missing it

    11. Re:Our JServ success story at Webstakes.com by Captain+Teflon · · Score: 1

      You have to draw a pretty long bow to say ASP is a function of the web server, and ADO certainly is not.

      I've used both extensively, and they can be productive but IMHO have nothing special over Perl:DBI, PHP, Cold Fusion or Zope as a Web development environment.

      --
      Eagles may soar, but weasels don't get sucked into jet engines.
    12. Re:Our JServ success story at Webstakes.com by Anonymous Coward · · Score: 0

      learn the stupides API in the world !!!

      Are you referring to ASP? If it's the stupides (sic) API in the world, why has it been emulated for Unix servers?

  9. Java Success Stories by Anonymous Coward · · Score: 5

    A major part of the game in introducing any new
    technology to the MIS-managers is producing a
    panoply of success stories in the "trade press".
    If you read back issues of "Information Week"
    "Datamation" etc. you will find endless gushing
    stories of successful implementations of
    (pick the fad of the last 10 years).
    What is *never* covered are the projects that
    got abandoned, canceled, or crashed and burned
    in some other way... these are politely buried
    and not talked about... the programmers fired,
    and the memory traces remain only in the minds
    of the survivors - again never talked about, and
    never included in survey tabulations...
    The only way to find about project failures is to
    talk to seasoned survivors over a beer, or
    to read anti-patterns books or occasionally
    the halloween issue of Datamation - and even
    then they never give names and places...

    1. Re:Java Success Stories by Brasidas · · Score: 1

      Yes, I try to skip reading InformationWeek. That magazine, like so many others (Application Development) is lots of fluff, little substance. One publication that does tell you about the projects which get cancelled is the Wall Street Journal - take a look there. They had an interesting article a few years back about the difficulty of building new systems at PG&E and other large companies.

  10. Yep, Java is great for server-side by Ledge+Kindred · · Score: 3
    I've been doing a LOT of really good work with things like servlets, GSP, Apache-JServ, and so on. Java has really come into its own on the server-side, thanks to things like JDBC that make database integration relatively painless. Java is starting to become The Technology of Choice.

    Which is precisely why Sun is pulling stupid stunts like pulling Java out of ECMA stadardization and trying to charge royalties for the use of the J2EE logo. Sun realizes that Java is A Big Thing now, so they want to get their cut, one way or another.

    It's the same old bait-n-switch we've grown to know and loathe from Microsoft, only with a different brand underneath.

    These little shenanigans, along with the way Sun is milking the Open Source cow with their so-called SCSL and their treatment of the Blackdown fiasco has got them on my sh*t list but good. They had better realize pretty quickly that the industry isn't going to stand anymore for the same old tricks that Microsoft's been pulling all these years and that Sun isn't anywhere near as powerful and influential as Microsoft to be able to pull them off.

    It's enough to want to make me give up Java and learn Perl... Well, ok, maybe Python... :)

    Who woulda thunk it a couple of years ago that a die-hard Linux fan who does a lot of Java and database work would today be saying, "At least there's IBM to look to for real support of Java on Linux without trying to screw us over."

    -=-=-=-=-

    --

    -=-=-=-=-
    My mom's going to kick you in the face!

    1. Re:Yep, Java is great for server-side by seaportcasino · · Score: 2

      Who woulda thunk it a couple of years ago that a die-hard Linux fan who does a lot of Java and database work would today be saying, "At least there's IBM to look to for real support of Java on Linux without trying to screw us over."

      If you actually believe that IBM cares one lick about anything but profits and keeping shareholders happy; if you actually think they wouldn't sell you, me and every other linux nut out for an extra dollar's profit at day's end; if you actually think IBM wouldn't put a hit on Bill Gates if they thought they could get back what Microsoft stole from them; if you do believe any of that, then you are believing exactly what their PR/Marketing dept wants you to believe.

    2. Re:Yep, Java is great for server-side by Anonymous Coward · · Score: 0

      That should get a score of funny...
      Imagine the PR stink they would have to deal with from ordering a hit on the worlds richest man
      LOL!

    3. Re:Yep, Java is great for server-side by Anonymous Coward · · Score: 0

      You don't have to give up Java to learn Perl or Python. I think it's almost always a good idea to learn a new language. I thought Java was awesome until I learned Python, now I get frustrated with Java because I can't do some stuff as easily.

    4. Re:Yep, Java is great for server-side by hey! · · Score: 2

      I've been doing a LOT of really good work with things like servlets

      Perhaps you can explain something to me then. Exactly what is it about Java that makes it more useful on the server side than, say, Perl would be? I like the Java language well enough, but I'm a bit mystified as to why it should suddenly be so hot on the server end, since its main claim to fame is object code portability.

      I can see why you would prefer Java to Python (speed), and Tcl (better language).




      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    5. Re:Yep, Java is great for server-side by lutsen92 · · Score: 1

      Object code portability allows me to develop on NT or Linux, and port to Sun or AS/400 (as I have done).

      Another great benefit of Java is in the compiler. Because it must be compiled, and the compiler does all the type checking, you eliminate a lot of stupid bugs.

      And of course Java is object oriented, at least better than Perl's attempt. This allows better reuse of code (IMHO).

    6. Re:Yep, Java is great for server-side by Anonymous Coward · · Score: 0

      It is true that IBM is concerned primarily for its shareholders and profits. But that doesn't invalidate their "real support of Java on Linux without trying to screw us over". IBM has different reasons for supporting Java on Linux than Sun does -- Sun wants to make money off of people licensing Java, and from increased hardware sales. IBM wants to make sure that their Java-based products will run on whatever platforms their customers want. That means they will do their best to make sure Java runs correctly and fast on Linux. They have no reason to upset the Linux/Open Source community. On the contrary, they are doing their best to work with them. Due to license agreements with Sun they can't open source their JDK, but they do what they can, e.g the Jikes Java compiler (which is still 10x faster than Sun's compiler in NT -- I haven't tried comparing it in Linux for awhile).

      Yes, IBM wants to increase profits. But they know that one of the best ways to do that is to support the Linux platform and provide the support they need to run their applications. Then they can charge a fortune for those applications and support of those applications for their customers, who are generally concerned more with the features and ease-of-use than they are with cost anyway.

    7. Re:Yep, Java is great for server-side by Anonymous Coward · · Score: 0
      I've been using java for over 3 years, and perl for nearly two.

      Think of it this way. Perl's mantra "There's more than one way to do it" is precisely the problem when sharing code among several programmers. Although perl is easier to learn, it's much more complicated. This translates to higher costs for maintaining and upgrading programs -- the largest expense today.

      Java's greatest contribution, however, is making everyone learn about object oriented programming techniques. Lots of developers are now learning and implementing design patterns, class diagrams, statechart diagrams, and generally improving our approach to designing software.

      I know all these things existed before, but their no longer relegated to architects and designers. Perhaps it's just timing, but it is happening now, and the timing couldn't be better. Web applications are getting really complicated, and the level of integrating between apps has never been greater. Reducing complexity is the only sane way to deal with this.

      I still use and love perl. Perl rocks! I'm just answering your question regarding java's use on the server.

      P.S. Want Regular Expressions implemented natively in Java? Join the JDC and add your vote here: http://develope r.java.sun.com/developer/bugParade/bugs/4072400.ht ml

    8. Re:Yep, Java is great for server-side by Captain+Teflon · · Score: 1

      Who woulda thunk it a couple of years ago that a die-hard Linux fan who does a lot of Java and database work would today be saying, "At least there's IBM to look to for real support of Java on Linux without trying to screw us over."

      Ah, IBM. I remember the 80's and those 20 page IBM invoices full of "Monthly Service Charges" for utilities, device drivers, and the like. I remember the FUD and intimidation when we told them we were going to use Netware instead of their LAN manager product (I can't even remember the name any more).

      Most of the IBM 'lifers' who enforced these policies are still there, with the same attitudes, even if they've had to swallow some pride.

      They manage to support Java without (yet) screwing up like Sun have, and make a nice JVM for Linux ... sorry, not enough for this journeyman.

      "a die-hard Linux fan who does a lot of Java and database work "? You sound to me like a shameless karma junkie.



      --
      Eagles may soar, but weasels don't get sucked into jet engines.
    9. Re:Yep, Java is great for server-side by Captain+Teflon · · Score: 1

      I don't see why Java suddenly made it necessary for everyone to start learning OO design techniques. OO languages have been around a LOT longer than Java and gained significant use. C++, Delphi, Smalltalk etc have been around for quite a while longer than Java.

      Web apps might be getting really complicated, but there were complex apps around well before the web became popular. The web hasn't changed anything in this regard.

      You have done nothing to explain why Java is more suitable for web server apps than anything else.

      --
      Eagles may soar, but weasels don't get sucked into jet engines.
  11. Java == Server Side Revolution by auntfloyd · · Score: 3

    People who say that there are no Java apps miss the point. For the non-server applications, they're pretty much right: there are very few end-user, shrink-wrap apps written in Java. Why? Because portability is not an issue for most software companies. If it runs on Win95 and NT, then it's good to go.

    However, a large number of server-side applications use Java servlets or the related JSP technology. Bought a computer on line? If it was from Compaq, HP, or a host of others (such as those listed at http://corporate.pcorder.com/customers/), then you benefited from the speed and robustness of the Java platform. Even the Ford e-commerce site, which Bill Gates so lovingly demonstrated in his Comdex keynote, is based on Java (and runs on NT).

    And don't count corporate software, either. Lotus Notes web mail runs through a Java applet, and companies like Oracle are increasing their use of Java everyday.

    The fact is, whenever you need fast development, good networking capabilites, and (I hate to say it) 'enterprise' support, Java is a good candidate. WORA is just a small part of it.

    One last thing. With the advent of GCJ, it is possible that more native software will be written in Java. This will be a huge boon because it will allow GUI apps to run natively on a large numeber of platforms without changing a line of code. Java, I think, is a good argument for having a large, all-encompassing library (GUI, networking, database, ORB, etc). If only it was so easy with everything else...
    ~~~~~~~~~
    auntfloyd

    1. Re:Java == Server Side Revolution by dyskordus · · Score: 1

      Java is wonderful on the server side, but has failed miserably on the client side.
      For a client side revolution, Write Once Run Anywhere simply doesn't work. A different approach should be taken.
      It would be wonderful if a completely and totally os-independant, standardized API was developed. The bottom would drop out of porting time, and porting cost.
      With a reduced porting cost, revenue from non-mainstream operating systems would be higher, and perhaps profitable. That means, of course more Linux apps, more Mac apps, more BeOS apps.............

      --
      "Reality is less than television."-Brian Oblivion
    2. Re:Java == Server Side Revolution by TummyX · · Score: 1


      then you benefited from the speed and robustness of the Java platform.


      ROFLMAO. Hello Mr McNealy, how's Sun stock doing these days?

      If you want to see examples of 'unscalability' etc visit Sun's java bug site.
      There are major limitations to java's network support (thread per socket connection for example) that makes it so much less scalable than traditional C/C++ or COM applications.
      It'll be interesting to see how java scales when sun get JTS going (ripoff of MTS ofcourse)...unfortunately JTS isn't free.

      What I love about java is the language, the platfrom frankly just sucks.
      What would be better (now that java is realistic only on the server side) is a cross compiler, many java apps are written one enviroment (say NT) and deployed on another (say Solaris), having a cross compiler would save all those valuable CPU cycles servers need....and it would still be easy for literally _anyone_ to write java apps cause of the simplistic language.

    3. Re:Java == Server Side Revolution by kdart · · Score: 1

      It's called POSIX.

      --

      --

      --
      The early bird catches the worm. The worm that sleeps late lives to see another day.
    4. Re:Java == Server Side Revolution by Anonymous Coward · · Score: 0

      Much less scalable? Where do you come up with that at?

    5. Re:Java == Server Side Revolution by Anonymous Coward · · Score: 0

      You suck a lot of dick, don't you?

      Mr. McNealy

    6. Re:Java == Server Side Revolution by auntfloyd · · Score: 1

      You must be kidding. There are some key features that are not part of POSIX, such as GUI support, which is a must for any application today. For command line stuff, sure, but nothing more diffucult.
      ~~~~~~~~~
      auntfloyd

  12. First you will need by Anonymous Coward · · Score: 0

    a sound card.
    is your computer on?

    1. Re:First you will need by Anonymous Coward · · Score: 0

      and sndconfig. have you installed the greatest distro there is - redhat ?

  13. A matter of speed(naive question)? by hoser · · Score: 2

    My question is this:

    Java is supposedly slow. Is this a matter of the speed of the computer? Will Java's ponderous pace become irrelevant as processors become faster? Is it something more inherent in the language???

    --


    hoser: Slashdot reader since 1987.
    1. Re:A matter of speed(naive question)? by drf · · Score: 1

      Java is inherently slow in the fact that it is an interpreted language. When you compile your source, it is turned into Java bytecode, which is converted to native code while its executed. Thus, the overhead of translating, which is generally slow.

      There are some advances around this, that people have done. Caching native code is one way, where if a function is executed repeatedly, the first one is slow, then the next run-through will be much faster. Another way is to do something perl-esque, and translate the whole application to native code before running, but this takes some time to do.

      The last way to speed it up would be a hardware coprocesser that spoke Java bytecodes natively.

    2. Re:A matter of speed(naive question)? by Anonymous Coward · · Score: 1

      Java is NOT an interpreted language: You compile to java byte-code prior to excecution: the hallmark of an interpreted language is execution of your source-code. As far as speed goes, expect a 10-20% performance penalty over native C/C++ code for server-side code. If you're using a GUI (typically client-side), the performance hit can really increase. The real benefit in java is in development time. For serious distributed computing, expect to cut your dev time in half.

    3. Re:A matter of speed(naive question)? by OnlyNou · · Score: 1
      java is slow becuase it's not a low level language as C. but that can be compensated with an Athlon 1000Mhz; you'll get plenty of java speed.

      of course, some JVMs are faster than others but sooner than later, java speed won't be that much of an issue.

      i remember when people weren't happy with perl cgi performance. C coders often complain that it's just not as fast as C, but if you don't notice the speed difference, then it doesn't matter.

      --

      "you get hit and your head goes ping" --rocky horror picture show

    4. Re:A matter of speed(naive question)? by Overt+Coward · · Score: 2
      It can be irrelevant based on your application -- if you're going to be I/O bound (like a database application) most of the time, it really doesn't make much difference if C++ is 5 times faster than Java for the less than 1% of the time the program's actually doing anything.

      Personally, I prefer something that's easy to develop and stable over trying to squeeze out every last clock cycle. Again, it depends on your application. I can crank out powerful, stable Java applets on the server side in a short amount of time (including testing), but I'd certainly avoid using Java for a GUI.

      --

    5. Re:A matter of speed(naive question)? by Overt+Coward · · Score: 1

      applets --> applications... I should learn to proofread better.

      --

    6. Re:A matter of speed(naive question)? by Anonymous Coward · · Score: 0

      You'll only know that it's slow if you run benchmarks and compare the numbers to languages that have more mature compilers. In day-to-day use, a human isn't going to notice that anything is slow. Processors are already infinitely fast; everything is I/O-bound these days.

  14. Re::) by Anonymous Coward · · Score: 0

    Here's how to properly install Linux:

    Go to http://www.openbsd.org/ and order your 2.6 CD. Wait for it to arrive, pop it into your CD drive, set your PC to boot of the CD, reboot, and follow the incredibly easy install instructions, and *BAM*, you'll have a secure, powerful, functional system much cooler than Windows ever was. And those stickers kick ass, too.

  15. Re::) by Anonymous Coward · · Score: 0

    3 hours, wow you did the quick install. You have to do the extended install (69 hrs) to get sound.
    We are ZEALOTS, we don't need no stnking sound!!!!

  16. Java is usable in the servlet arena, but... by drf · · Score: 2

    Java is usable in the servlet arena, however Java has two things that cause people like me to choose other solutions (C/C++ is what I am using, perl is another good choice, as well as Python, and plenty of other tools which I forgot to name.)

    The first problem with it is its lack of speed. On a server answering a ton of transactions, the JVM needs to have some sort of native machine code cache where Java bytecodes are stored as native code for sake of speed. What would make this a nonissue for servers would be a PCI card (preferably two models -- one 32-bit, one 64-bit wide, both able to select 33/66 Mhz depending on the main bus speed) with a good Java bytecode processor. If these were made inexpensive enough, and put on the motherboards on new SPARC boxes as coprocessers, this would solve the slowness problem.

    The second problem is the bad perception of Java. Two big whammies -- Blackdown, and the pulling out of the standards committee hit Java quite close together.

    Not to say that Java is a lost cause. When Java was the hot thing amongst computer groups, every vendor with something that runs a CPU got some sort of JVM out for it. So, the write-once, run anywhere thing does still apply. Java 1.0 was, for the most part, a toy, but with the latest iteration, it really has matured into something usable.

    Personally, I really don't know as much as I should about Java, but I have seen some very cool things done with it (www.jars.com has a good amount of examples of this, and the main application that drives www.hushmail.com is another good example.) to write it off as a toy language.

    As for Sun, its a mixed bag. They come up with some good things, and then trip on themselves. I don't want to write them off just yet.

    1. Re:Java is usable in the servlet arena, but... by trance9 · · Score: 2


      I can't believe you propose to use Python on the server, and in the next sentence you are complaining that Java is slow.

      There are lots of great things about Python, it's an amazing lanaguage, and a substantial improvement over Perl. However, speed is not one of it's attributes. Python is dog slow, and Java runs circles around it.

      Putting a bytecode interpreter on a PCI card is a bad idea as well. The problem is that you wouldn't have a processor on the card nearly as fast as the one in your PC.

      Java is only slow on the server if you compare it with C. Versus any scripting language, it's lighting fast.

      With WebMacro servlets I find that I get performance equivalent to what I get out of PERL running as an Apache module.. and WM is doing a lot of work for me.

    2. Re:Java is usable in the servlet arena, but... by Anonymous Coward · · Score: 0

      It really depends on the JVM that is used. If the JVM compiles the code before running the app or applet, then it will have a great speed improvement. If its only translated on the fly, it will run much slower.

    3. Re:Java is usable in the servlet arena, but... by mistabobdobalina · · Score: 1

      what is the future of webmacro now that jsp is out???

      --
      -- your knees hurt, don't they?
    4. Re:Java is usable in the servlet arena, but... by trance9 · · Score: 3

      WebMacro will gradually kill JSP :-) In fact, it was recently selected in a Java Report survey as one of the best three servlet products of 1999.

      JSP is not a good use of the Java langauge. It's non-standard, and requires extra junk in your webserver (whereas WM works in any pure Java environment, without requiring add ons). On top of that, it doesn't take advantage of Java's features. It looks and smells like ASP, and as a result, obscures your ability to write good clean Java code.

      If that's the kind of programming you want to do, you should look into EMBPERL. It does a much better job of mixing script codes into HTML.

      My view is that you should NEVER mix program logic and HTML together. WebMacro implements a template langauge, the idea being that all your rendering logic and HTML goes in the template--leaving your servlet as pure and simple Java code.

      JSP's model is the opposite, though they claim you can do MVC programming with it. (A claim they started pushing *after* WM was announced, by the way :-)

      With JSP you can do MVC programming, keeping your busines logic separate from your display logic, but you have to enforce it yourself. Every time you do anything everywhere you have to follow self-imposed rules. Late some tired night you'll get fed up and sick some Java into your HTML--like a cancer it'll grow, until the point in separating them is lost.

      WebMacro, or any other template system, supports the model/view/controller way of thinking architecturally. It's analogous to doing OO programming in an OO language, as opposed to in C. Separating display from logic in JSP is like doing OO programming in C--it's possible, but the language doesn't really support it.

      It is worth repeating that I created WebMacro in response to JSP. I had come from a perl/C++ background, and had made extensive use of good template systems in both langauges. Coming to Java, I naturally expected to have a good template system, so I looked at JSP. When JSP turned out not to be a template oriented system, I naturally wrote one and GPL'd it :-)

      Of course I'm biased. However, I will say that the bias caused me to write WM, and not the other way around :-)

    5. Re:Java is usable in the servlet arena, but... by GnuGrendel · · Score: 1

      The first problem with it is its lack of speed. On a server answering a ton of transactions, the JVM needs to have some sort of native machine code
      cache where Java bytecodes are stored as native code for sake of speed.


      Check out BEA Systems WebLogic server... it's a J2EE implementation with EJB, Servlets, JSP, etc... BEA are THE transaction people, and their servers are VERY scalable. After all, it's not really the speed / processor that counts (although Java performance is now approaching that of natively compiled C++) but the SCALABILITY of the system that matters, and Java makes it much easier to build scalable systems.

  17. there weren't _that_ many items at that link by poopie · · Score: 2
    If the story would have been about PERL success stories and that's all they came up with, I'd be disappointed.

    Searching FRESHMEAT for JAVA returns 378 links, and they're almost all GPL. That's more impressive to me

    anyway... I think the most impressive java app I've used is NetBeans (now owned by Sun). That was the first java app that made me really believe that significant java apps were on the way.

    Here's a list of related topics I'd like more slashdot stories on:

    ZOPE success stories

    comparison of slashdot-alike web-based discussion apps like squishdot, etc.

    compare and contrast of OPENSOURCE application servers

    1. Re:there weren't _that_ many items at that link by Anonymous Coward · · Score: 1

      "comparison of slashdot-alike web-based discussion apps like squishdot, etc"

      Not in your wildest dreams... Andover.net has no intention of pointing users away fromt heir closed-source cash-cow (Slashdot).

      BTW - source that is 10's of releases behind is no longer useful to call yourself "open source".

      &sign($AC[0]);

    2. Re:there weren't _that_ many items at that link by mistabobdobalina · · Score: 1

      FYI i posted an ask /. awhile back on opensource java app servers, spurred some pretty good discussion

      --
      -- your knees hurt, don't they?
  18. Re::) by Anonymous Coward · · Score: 0

    Who needs sound when you have 'THE VOICES' inside your head. They are all you need to hear.

  19. Java Servlets are great! by TurkishGeek · · Score: 3

    Finally an article on the server-side successes of Java. IMHO, Java servlets are the best thing that has happened to Java since its inception, but for reasons completely unknown to me, Java-bashing has taken its place next to Microsoft bashing as an official Slashdot sport. Perhaps the reason is the early failure of Java when Sun touted it as the single platform that will replace everything. Anybody else remember the Java ring and the Java OS?

    Dear fellow Java-basher Slashdotters: I know most of you have very little free time on your hands, but please set aside a couple of days to take a look at this exciting server side technology, Java servlets. It is truly write-once, run anywhere; it's a widely accepted industry standard, almost all popular databases and application servers support it, and Java is a very good OO language after all. Take a look at some nice servlet tutorials or better, O'Reilly's servlets book, download the awesome Tomcat or Apache JServ to run with your Apache Web server, get the latest JDK from Blackdown or even better, IBM's JDK, add Jikes for good measure, and explore the beautiful world of Java servlets. Sun's site completely relies on Java servlets, Yahoo uses servlets for some portions of the site, a host of smaller Web sites and e-commerce companies completely rely on servlets and/or JSP (which is based on servlet technology), (epinions.com, mercata.com come to my mind; there are lots of others)

    Whatever server-side programming technology you're using, you will like servlets. Most likely you will want to forget about CGI.pm, sell your books about Netscape's proprietary server-side JavaScript on Ebay, erase memories of hours of fiddling with ISAPI/NSAPI extensions, shred your printouts of ASP error message explanations from the Microsoft knowledge base, and lament about the time you spent posting aimlessly on every bulletin board about those pesky, undocumented Oracle functions of PHP. You will easily have time for all these when you start to use servlets.


    --

    BluetoothCentral.com
    A site for everything Bluetooth. Coming in January 2000.

    --
    Zigbee Central: A Zigbee weblog
    1. Re:Java Servlets are great! by Roundeye · · Score: 2
      The reason there is so much Java bashing on /. is that Java's client side has not been WORA yet, Sun's PR is awful and has systematically pissed off and alienated much of the Open Source contingent -- which is the bulk of the /. contingent -- particularly recently but steadily over the past year, and in spite of all this bashing there seem to be an endless stream of Sundrones willing to spew the same "but it really is WORA (so long as you're on Win32 or Solaris), and it's not so slow (if you've got a quad processor Xeon or a quad Ultra2), and Sun really isn't out to screw everyone to the wall just to make a $...".

      I myself have posted repeatedly on Java issues. My companies have lost months due to Sun and its dicking around with Java. Fortunately we had the insight to get off the Java wagon a few months ago before things got really stupid. For those who can get Java to work for them: great. For those trying to make Java work for them: good luck. For those considering Java: spend your time more wisely and find an alternative -- if you don't have reason to be sorry now I can guarantee you Sun will give you reason within the next few months.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    2. Re:Java Servlets are great! by supersnail · · Score: 1

      Java bashing?

      I think the reason Java gets such a bad press in slashdot is that it has such a good press everI personaly think it is a cute little language BUT -- an alien just arrived on the planet and reading newspapers magazines etc would conclude that the web runs on Java (on NT servers, with oracle databases). I think a high percentage of slashdotters actually work out there in the trenches and if you work in the real world of the internet/web three things become very obvious very quickly.

      --> The most important code is written in C. Not C++, not ADA, and certainly not Java.

      --> 90% of the rest is written in PERL.

      --> It runs on BSD.

      None of this is ever mentioned in most articles about the web, and, it gets annoying! The urge to put the record straight gets unbearable after a while. So once again:--

      90% of the web runs apache on BSD, which is 100% pure C code, the dynamic content, admin and management is done in PERL.

      --
      Old COBOL programmers never die. They just code in C.
    3. Re:Java Servlets are great! by Anonymous Coward · · Score: 0

      your company must employ stupid people.

    4. Re:Java Servlets are great! by Anonymous Coward · · Score: 0
      You are correct on all three counts.

      For sites that get millions of hits a day, your live interactive code is either in C, or your site is dead.

      No interpreted/byte compiled language can keep up with loads you get at one of the top-ten web sites.

    5. Re:Java Servlets are great! by aUser · · Score: 1

      His story sounds good, while yours sounds like the deep s*cking sound of a swallowing bitch.

    6. Re:Java Servlets are great! by Anonymous Coward · · Score: 0

      Are clueless people working in your company? Care to elaborate the problem?

    7. Re:Java Servlets are great! by Roundeye · · Score: 2
      Your intellect and charm amaze me.

      I'll (once again) relay one of the major problems with Sun's recent (i.e., since late 1998) Java path: client-side portability.

      When Sun announces in a press barrage in 1998 how they are dedicated to bringing Java WORA to all the major platforms, with an emphasis on Linux, repeating this emphasis every 4-6 months, but keeping platforms incompatible and releases out of sync it introduces measurable delays in design, development, testing, and deployment of Java-based client-side products.

      Abandonment of Java as a platform, even for very competent developers, designers, QA, and administrators (don't forget that part of the cost of developing large projects is the cost of setting up development/QA platforms), is non-trivial and results in lost time.

      Server-side Java's time may be here, but realistically, there have been and continue to be better server-side solutions. Once you remove the client interface it becomes simple to find useful implementation languages -- the majority of which are faster wrt to both runtime and development time than Java.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
  20. WebMacro, Java servlets, and other comments by trance9 · · Score: 4

    I developed and wrote WebMacro which is a free (GPL) Java servlet framework.

    I use Java for about half my web projects. The other half of the time I use perl. In my opinion, here are the strengths of Java for server side development:

    1-- It allows clean and clear design. Since you can declare compiler-enforced interfaces, you can easily separate out functionality in well defined chunks. This allows you to plan for the long term, hand different parts of the project to different people, and so on. This tends to be what makes me choose Java over Perl: If I want to enforce a long term design (such as re-usable constraints on busisness logic), or break the project up into several different segments, then I choose Java over Perl.

    2-- It's fast and scalable. Java is often criticized as being slow, but on the server, it's not. It's fairly fast compared to things like perl (which are usually fast enough to begin with), and add to that the threaded nature of servlets, plus the built in scalability, and you have a big performance gain over other scripted solutions. In particular the ability to automatically distribute a single servlet across multiple webservers, without modifying the servlet itself at all, is a big win. You can be sure that whatever you do will scale.

    3-- You do need to make an effort to keep your HTML and your SQL and your Java program code separate form one another. The whole reason for using Java was to get clean, well designed code, and you don't have that when you have HTML obscuring your servlet. This is what prompted me to write WebMacro, which is an HTML template system, but you could also do this with FreeMarker, or XSLT, or if you are very careful, with JSP.

    4-- Write once, run anywhere is fairly real on the servlet. I routinely develop under FreeBSD, deploy on FreeBSD, Solaris, and Linux, and I have about half the users of WebMacro running it under NT, even though I myself hardly ever use NT. And it all works.

    5-- On the downside, the free Java solutions don't appear to work very well for servlets. I have had lots of trouble with kaffe, and the free JVM's are not as fast as the non-open ones. This is too bad, and it's something I expect will change over the next while. I always try kaffe every time it comes out, but it hasn't yet been stable enough for me.

    6-- You do need an experienced designer around if you are going to use Java. Unlike perl, where your goal is to hack out something working ASAP, in Java the point of the language is to allow you to do clean design. Well you won't get clean design without an experienced designer. Without a good designer you are probably better off with "write-once" perl-code that you throw out and rewrite whenever you need to fix it. While Java allows you to do really good design, I have seen some really nasty Java code. If you aren't going to use it right.. don't use it.

    1. Re:WebMacro, Java servlets, and other comments by trance9 · · Score: 2

      BTW, WebMacro is actually an HTML template langauge. You write a template that contains some dynamic content, but without knowledge of where that content comes from. These templates look like ordinary HTML documents, with a few extra things dropped in.

      In the back end you work with ordinary Java objets, anything vaguely bean-like. You just drop these into a hashtable and WebMacro's introspector figures out how to fit what you've supplied in the hashtable together with what you've asked for in the template.

      The goal, of course, is to keep your Java servlet code clean and clear, with no HTML--and similarly to keep your HTML clean and clear, with no program code messing it up.

      There are other template solutions for Java servlets besides WebMacro. FreeMarker is one. Another way to go is to use XML with XSLT. I would advise against using JSP. JSP is great if you are familiar with ASP and you're looking for something familiar in the Java world--but I don't think it's a good use of the Java langauge. On the other hand, attracting all these ASP peope to Java is good *for* the Java langauge :-)

    2. Re:WebMacro, Java servlets, and other comments by mistabobdobalina · · Score: 1

      please elaborate on why JSP is not a good choice - seems to be getting a lot of traction...

      --
      -- your knees hurt, don't they?
    3. Re:WebMacro, Java servlets, and other comments by trance9 · · Score: 2


      Basically because in order to use JSP you have to give up most of the advantages that the Java language offers you. If you're going to do that, you would be better off using EMBPERL intead.

      If you're going to abandon the design capabilities of the Java langauge, and just use it as an embedded script language, you should consider using a different language, such as perl or python, which are really much better scripting languages than Java is.

      Java is a powerful *design* language. It's got all kinds of strengths in that area. If you're not going to benefit from those features, why use Java?

      WebMacro takes a different approach. WM assumes that you do want to do most of your programming in Java. It steps completely out of your way and allows you to implement all your program logic in standard Java. Java is an excellent, extremely powerful langauge.

      What WM does instead is provide you with a set of classes which can be used to load and execute HTML templates. These templates don't contain any program logic, though they might contain some display logic.

      What JSP is good at is attracting non-Java programmers to the Java platform. It's modelled after ASP, and ASP programmers are going to find it more familiar than if they'd made a cold leap into the Java language as a whole.

      This is good for Java. But it is not necessarily good Java. The ASP programming model isn't well suited to the Java language.

    4. Re:WebMacro, Java servlets, and other comments by speek · · Score: 1

      I'd agree JSP isn't good, but it's better than writing Java classes with a million lines like:


      String author = programProperties.get("author");
      StringBuffer output = new StringBuffer();
      output.append("<HTML>");
      output.append("<HEAD><TITLE>"+author+"'s Web Page</TITLE>");
      .....



      Ideally, I'd love to be able to do the output with Perl, and Java for all the backend database and business logic, but how would you communicate effectively between the Perl and Java? I don't want to use only primitive data types with Java....

      Maybe you know a way to do this, and I'd love for you to tell me.....

      --
      First, make it work, then make it right, then make it fast, then, make it bloated!
    5. Re:WebMacro, Java servlets, and other comments by lucas_gonze · · Score: 1

      As a result of your plugs here I went and checked out WebMacro. Your analysis of the problem is spot on and your design for the solution is elegant. Way cool.

      However I notice that the last release was May 3rd, 1999, and that it's still beta. Also, going more than 6 months between releases - particularly for such early stage software - doesn't indicate a thriving project. What's the status of current development?

      Can any WebMacro users out there comment on stability/robustness/completeness etc?

    6. Re: WebMacro, Java servlets, and other comments by NothingCleverToSay · · Score: 1

      An addition to point #2, about Java being fast enough for server side work (and begin compared as faster server-side than Perl).

      In my experiance, the server side application is usually I/O bound by access either to the Client over the network, or the access to the next tier in the server (often a Database). Most server side processing is just not as expensive as the IO to the client and the DB.

      Java gives you a language with real, enforced OO structure along with libs that make accessing a database or a client application very, very simple. It's a great, simple fit for many server-side applications.

    7. Re:WebMacro, Java servlets, and other comments by NothingCleverToSay · · Score: 1

      An addition to point #2, about Java being fast enough for server side work (and begin compared as faster server-side than Perl).

      In my experiance, the server side application is usually I/O bound by access either to the Client over the network, or the access to the next tier in the server (often a Database). Most server side processing is just not as expensive as the IO to the client and the DB.

      Java gives you a language with real, enforced OO structure along with libs that make accessing a database or a client application very, very simple. It's a great, simple fit for many server-side applications.

    8. Re:WebMacro, Java servlets, and other comments by bubblemancer · · Score: 1

      I use WebMacro and it's great. There are a lot of newer features in the developer snapshot, and I think that the snapshot is pretty stable now too. There are some more recent snapshots out (like last week). The last release is pretty reliable, but it is missing some important things that have been put into the snapshot. I think they are holding off releasing the snapshot as a release because there is a lot of new code in there.

    9. Re:WebMacro, Java servlets, and other comments by bubblemancer · · Score: 1

      Hey speek, I think that's what WebMacro does. You replace all those println() statements with a WebMacro template. Then your Java looks like this:

      Customer cust = new Customer(); // whatever
      context.put("cust", cust);
      Template t = getTemplate("whatever.wm");
      t.execute(out, context);

      And then in your template you write things like

      Hello $cust.Name you owe us $cust.Owes and your phone number is $cust.Phone

      Or whatever.

    10. Re: WebMacro, Java servlets, and other comments by aUser · · Score: 1

      You must be truly anal-oriented to enforce objects into everybody ...

      A tool doesn't need to be useful, to be helpful with the task at hand: no, no, it must shove all kinds of crap down people's throats.

      This is exactly why java s*cks like a 5-dollar prostitute. We don't need anybody to "enforce" us.

    11. Re:WebMacro, Java servlets, and other comments by speek · · Score: 1

      That does seem very cool. I looked at Web Macro very briefly today and the only concern I had was that it depended on introspection for everything, and I wondered how fast it would be. I guess the only way I'll know is to try it out....

      --
      First, make it work, then make it right, then make it fast, then, make it bloated!
  21. Server side Java works; client side just slow by Visoblast · · Score: 2
    I work for an e-commerce commpany, (Netran, that has done a lot of Java stuff. We put out a client side Java app to let people shop for groceries (grocer didn't like web browsers). The only problem was the lack of speed and memory usage on the 1.1.4 to 1.1.8 JVMs (The Hotspot stuff with 1.2.2 is much faster). It *DID* run on just about anything, including Windows, OS/2, Mac, and IRIX. Those are all the platforms we tried it on, and it worked on all of them. I have no doubt Solaris and Linux could run it, too. There are a few things the platforms do a little differently, but there is almost always a single way that works and that way is never contorted or weird; just a little different. The one thing that doesn't fit is using a slash for the directory seporator; the Mac didn't like it. In case you're wondering, I wrote most of the GUI code, and some other stuff. I delt with litteraly all the platform incompatibility issues. I worked on the project for over 2 years.

    I also got to do some server side Java. It is fast and works great. Using JSP's is much better than ASP's because of the language -- Java is a full language while the ASP stuff is for scripting. VB is just full of inconsistant syntax. Furthermore, the Java Servlet API is very well done. There are a few things that ASPs make difficult to code and JSPs make almost trivial, like a file upload over HTTP (I don't why they were insistant about not using FTP).

    Java has other nice & cool things, too, like the communications API. It works with serial and parallel ports. Like most Java API's it is very well written an easy to use.

    For a poorly done Java API, look at the InfoBus. It sucks! I made a better one, but its more basic in function (part of the reason I think its better). Its on my web page, if you're interested. I call it the dataBus. All free with LGPL, of course.

    --
    "Luncheon meats make the sawdust in your stomach explode."
    • -- Crow T. Robot
  22. jdbc:mysql:// by Anonymous Coward · · Score: 0

    i've done some work with jserv and servlets and it is likely the best way to handle database requests over the net, now how do you hook up mm.mysql to StarOIffice jdbc thing. this could be real usefull to me

  23. Does write-once makes sens on the server side? by SpanishInquisition · · Score: 1

    I mean does people change OS of their web server that often? Why would people need that feature?
    Apart from that, what is the advantage of Java over more traditionnal languages like Perl or PHP? What is that craziness all about?

    --
    Je t'aime Stéphanie
    1. Re:Does write-once makes sens on the server side? by Visoblast · · Score: 1

      E-commerce servers now often includes Windows NT and commercial UNIX's. If you only have to write it once, then all your clients who do e-commerce can use whatever platform they like without giving you huge amounts of grief in portability problems.

      --
      "Luncheon meats make the sawdust in your stomach explode."
      • -- Crow T. Robot
    2. Re:Does write-once makes sens on the server side? by Anonymous Coward · · Score: 0

      WORA does make sense. There are still many developers using Windows as authoring platform and a *nix system as production environment. Also, according to Murphy, you *will* be faced with the task of migrating your apps to another OS sooner or later (if you're a die-hard Murphy fan, you'd say sooner).

      I don't see substantial advantages over PHP or Mod_Perl though. PHP is cross-platform and can even invoke Java methods from inside a script. Indeed, since some weeks PHP can even run as Servlet engine, if you're inclined to want this.

    3. Re:Does write-once makes sens on the server side? by heffel · · Score: 1

      Well, like it or not, clients are fairly homogeneous this days (Windows clients) while servers are fairly diverse (Solaris, AIX, HP-UX, Linux, Free BSD, Windows NT, etc) so if you ask me, WORA is more important on the server side than in the client side.

      --

    4. Re:Does write-once makes sens on the server side? by SuperKendall · · Score: 2

      It's very helpful, not just for various servers yoiu might run into but it also means you can use whatever box you like to develop on.

      What it also lets you do is switch out servers with Linux servers later on if you want to - Java could be great aid to migrating more servers to Linux (or BSD).

      --
      "There is more worth loving than we have strength to love." - Brian Jay Stanley
  24. Re::) by Anonymous Coward · · Score: 0

    and god forbid you want to keep a legacy windows partition. Then you get to wrestle with disklabels and bizzare fdisks. I think Corel's Linux is probably the best choice for newbies, OpenBSD is most certainly not, despite being an excellent system.

    And the stickers really do kick ass.

  25. Re:Why _Java_? by zmooc · · Score: 0

    Why?

    --
    0x or or snor perron?!
  26. Enhydra? by Tim+Macinta · · Score: 2

    Somebody should add Enhydra to the list (I would, but I don't remember my login information for the JavaLobby). Enhydra is a very rockin' application server written in Java. It's open source too, which is always a plus.

  27. offtopic, please moderate as such by Anonymous Coward · · Score: 0

    !!

  28. Re:Why _Java_? by Anonymous Coward · · Score: 0

    Why not.

  29. how about this? by macpeep · · Score: 5

    The company I work for recently programmed an SMS (cellular phone text-messages) server complete with a fancy web based user interface and a vCal integration that allows you to synchronize your cellular phone calendar with your desktop calendar automatically with SMS's as the carrier protocol. One team had worked on this for months and months using C/C++ and Perl. The deadline came closer and the app was still packed with bugs. So a hail-Mary manouver was performed only days before the deployment date and the whole thing was re-engineered in Java with parts of the vCal integration being Visual Basic. On the deployment date, we had a ready package which was actually FAR better than the C/C++ & Perl version. It had more features, was more easily integratable with other systems, featured a pluggable SMSC (short message system center) driver architecture, had a fancy self-repairing system which did self-monitoring of the whole thing. We had a home-brew RMI based distributed debugging service that allowed us to receive stack-traces and exceptions that occured at run time, from several servers at once and view them on the web. We had about a million other equally cool things, all put together in less than one week by a handful of programmers.

    A few weeks later, there are still no major bugs reported and everything seems to be running perfectly smoothly.

    What does this prove? Absolute nothing. However, it does raise some questions about how it's idiotic to just do everything with C/C++ because it's traditionally "the right thing to do". By using "traditional" programming languages, you will often be forced to spend so much time thinking about language issues, memory allocation & leaks, complex threading issues etc. that the application logic will suffer and become a secondary priority.

    Pick the right tool for the right job. If you develop a web browser, you would probably be insane if you did it in Java (I would love to be proved wrong) because it would be so much slower. If you develop a complex server side application in C/C++ or Perl, you're nuts because there's NO WAY you will achieve the same quality in the amount of time you can achieve it in Java.

    If you diss Java because of some stupid web applets programmed by some 13 year olds who know nothing about programming, it's just very sad because Java can do so much more. Unfortunately we see lots of "write once debug everywhere" statements by people who have little or no first hand experience with Java. The experience I have with Java tells me that while the Win32 platform still has the best virtual machines, Linux is gaining FAST, mostly thanks to IBM. Linux users: don't just use Kaffe because you've heard it's the right thing. Try running Java on a Win32 platform so you see what it CAN be like. I'm quite sure you will be amazed of the speed.

    There are not many platform inconsistencies left, and if you know what you're doing, you can easily move a Java app from one platform to another without having to change any code or recompile anything. I've done this several times, even for very large and complex applications.

    If you read the Java 2 Enterprise Edition Application Programming Model specification which now has an even more complex name which escapes me at the moment, you will see how SUN has worked hard in the EJB specification to define a great component architecture that is scalable, clusterable and avoids many common causes for platform specific bugs. Please read it!

    1. Re:how about this? by DreamerFi · · Score: 1

      What does this prove? Absolute nothing.

      On the contrary. It proves you've got a damn good developer, who knows how to pick the right tool to do a succesful Hail Mary, and who has the know-how to pull it off. Good job.

      -John

    2. Re:how about this? by mihalis · · Score: 1

      If you diss Java because of some stupid web applets programmed by some 13 year olds who know nothing about programming, it's just very sad because Java can do so much more. Unfortunately we see lots of "write once debug everywhere" statements by people who have little or no first hand experience with Java.

      The first time I heard that "write once debug everywhere" comment was from the owner and founder of a web tool development company. They were very successful and eventually merged with another successful company who thought their product was great. It used Java extensively, and that was the comment from their founder, major shareholder and chief technologist.

      So I can't really deny your statements about Java, but it's not just 13 year old kids who know nothing about programming who have had, and continue to have problems with Java's portability (admittedly it's more severe on the client).

      Chris Morgan

  30. A client side Java application by gargle · · Score: 4

    A friend and I have just released a Java application. We use encryption to password protect web pages securely (plug: www.guardbot.com). The software comes in 2 parts, a Java applet decoder which performs the on-the-fly decryption of web pages, and a Java encoder which performs the encryption.

    Without the Java's write once run anywhere capability, the decoder would have been impossible to deliver succesfully (without resorting to platform specific browser plugins, which would have put off a lot of users). Writing the encoder portion of the software let us deliver the software simultaneously to any Java supporting platform - without Java, we would probably have limited our software to Windows (at least initially).

    Client side Java is not worthless, and I'd say that write once run anywhere is an extremely worthwhile goal - I'd very much like to see Sun deliver on this. As it stands, only Solaris and Windows have working Java 2 implementations, which is extremely disappointing.

  31. Java + webmacro speed issues. by fingal · · Score: 1
    I think that I have to agree with this. I don't have equivalent benchmarks running perl, but I spent some time recently playing with webmacro for a client and using the following development machine:
    • 300 AMD K6
    • 128M RAM
    • IDE HDD
    and running
    • blackdown jdk 1.1.7
    • Apache + JServ
    • Webmacro
    • MySQL
    I was getting a maximum sustainable hit-rate of 25/second with a complete data output of around 250-300 K/s. Considering the low-end spec of the machine, the fact that all the components are running on a single machine and that there are now considerably faster JVM's floating around, I reckon that it should be relatively easy to double this speed without much investment. Either way it is still definately up in the usable range.

    Interesting, but irrelevant fact: On profiling the servlets I found that the major time overhead for the complete process was in the jdbc driver (mmmysql) when it was converting byte[] --> String. Memory allocation. Booo. Anyone done any work on getting a mysql/jdbc/webmacro integration that: caches used data buffers and reuses them if possible in the jdbc driver and/or permits direct use of data[] blocks into webmacro without the String overhead?

    --

    The only Good System is a Sound System

    1. Re:Java + webmacro speed issues. by Anonymous Coward · · Score: 0

      I know EJBoss has dealt with the same byte[] ->Object[] issue with reusable pools of STreams. You might want to check them out (www.ejboss.org) and contact the lead developers.

      Tom Kempr

  32. The slow parts are: (techical) by Visoblast · · Score: 2
    First of all, Java is starting out a bit slow because the JVM (thing that runs Java byte code) is still being improved. Hotspot is a lot faster than the regular 1.2 JVM or the 1.1 JVM's. Speed will improve.

    The parts of Java that are slowest, from my experiance, are:

    • GUI
      It still needs work, and I'm not sure that JFC will improve it much. Java software that doesn't use a GUI usually isn't very slow.
    • Object creation
      Making a new object takes time. A bit much time. Minimize usage of the new operatator to maximize performance.
    • Poor programming
      Admit it -- this is the cause of most problems for almost anything.
    And yes, as computers get faster Java's speed will be less relavent. But that is true of anything. You probably don't care how long it takes for your email client to do anything, nor do you care how long your computer takes to deal with number crunching for your undergraduate college classes. That is because your computer can do these things so fast that you don't wait long, if at all. Thus, if those actions became twice as fast, you probably wouldn't care becasue you wouldn't notice.

    --
    "Luncheon meats make the sawdust in your stomach explode."
    • -- Crow T. Robot
    1. Re:The slow parts are: (techical) by caucho · · Score: 1
      Agreed. Actually, object creation is even worse, because most objects will incur a GC penalty. In the old days, C++ was routinely blasted for poor performance. Eventually it caught up.

      Poor programming seems to make more of a difference in Java performance. For example, the web-server/servlet-engine performance varies by a factor of 3 or 4 depending on the implementation (here's a simple benchmark).

      I've also seen differences of 2x or 3x for JDBC drivers. Unfortunately, I don't have benchmark numbers available.
      Scott Ferguson

      --
      Scott Ferguson
      Caucho Technology
  33. Why no private individuals use JAVA/Corba by heroine · · Score: 2

    99% of all the posts are concerning corporate projects and every business I've ever seen is doing all their work in Java/Corba so you can satisfy yourself that Java/Corba is required if you want to be employed. At the same time in the non-business world, take a look at Freshmeat and you'll see almost everything done in C and Python. So we have the corporate world using Java almost strictly and the private world using C. Why is the corporate world so allied with Java and the private world so focused on C?

    1. Re:Why no private individuals use JAVA/Corba by trance9 · · Score: 2

      This is just nasty propaganda, with hardly any truth to it.

      (1) What's this BS about corporations using Java and private individuals using C? Do you have any evidence of it? It seems like a wildly ridiculous claim at face value. My best guess is you are saying all Linux programs are written in C, whereas the websites corporations build are backed up by Java. That's confused and silly, since those are two different kinds of programs.

      (2) What happened to perl? Almost everything done on Freshmeat is NOT python. It's mostly perl and C. I think your biases are showing, as is your lack of factual data.

      (3) I am a private individual, self-employed in fact, and I use Java and Perl about equally. I even wrote and contributed a template engine for Java servlets, which you can find on freshmeat, called webmacro. It's free under the GPL, go try it out.

      Also I don't have any clue why you mentioned CORBA. CORBA certainly has had problems gaining widespread acceptance--but I don't know why you think there is any connection to Java. CORBA is just as well connected to python and C; the Java bindings came fairly late in the process (after python, for example). So while your criticism of CORBA may have a point, it isn't relevant to a discussion on Java.

    2. Re:Why no private individuals use JAVA/Corba by johnburton · · Score: 1
      I think you've exagerated the difference here to a large degree, but there is a grain of truth in what you are saying.

      I've also noticed there is far more take up of c++ amongst commercial projects whereas many open source project seem to be using ordinary c.

      --
      Sig is taking a break!
    3. Re:Why no private individuals use JAVA/Corba by Anonymous Coward · · Score: 0

      nope I work on a project called EJBoss... pure java, born right here

  34. Re::) by Anonymous Coward · · Score: 0

    ...except for all your hardware that BSDers decided was unworth of support. (Though they're finally improving, having grudgingly admitted a distro that runs would be handy.)

  35. Corel Java WP by Anonymous Coward · · Score: 0

    Can someone comment on Corel Java WP and Lotus Java eSuite?

    1. Re:Corel Java WP by ben+dovar · · Score: 1

      How about all other non-java clients apps be tossed for browser based clients. It ain't just java that sucks on the client.

      --
      -- Make 7 - Up Yours
    2. Re:Corel Java WP by Anonymous Coward · · Score: 0
      I've heard from someone who was on the Java WordPerfect team that they had a great design that (he said) ran faster in document display and editing than the native versions.

      I assume it was lack of GUI tools, printing APIs, and so on, at the time that killed the project. Plus a lack of demand, I imagine.

  36. Wait for version 3.1. by Anonymous Coward · · Score: 1

    Most things aren't ready till then. And Java looks like that too. It was changing like crazy in 1.0. It's only just stabilised with 1.2 (and they dare call it Java 2).

    What can you do with server side Java which Python , Perl, PHP can't?

    How easy is it to split a string in Java? e.g. array=split ,

    As far as I know, Java still lags behind. Don't see much point in enduring the pain dealing with a adolescent solution yet.

    Plus, another thing - when a colleague was looking at Java for database and web stuff, what put him off was every other step was "pay pay pay". e.g. database connectivity, which you can get free for Perl, Python, PHP etc. He's now doing his stuff on Perl.

    I prefer spending time actually doing stuff, rather than looking for tools, or filling out forms to buy tools. And I prefer not to have to make my own nuts and bolts, or look all over the place for decent ones.

    Cheerio,

    Link.

    1. Re:Wait for version 3.1. by TurkishGeek · · Score: 1

      Plus, another thing - when a colleague was looking at Java for database and web stuff, what put him off was every other step was "pay pay pay". e.g. database connectivity, which you can get free for Perl, Python, PHP etc. He's now doing his stuff on Perl.

      Anything that has to do with Java database connectivity comes free with the JDK, except the JDBC drivers, which are to be provided by the RDBMS vendor. My company has paid zilch for Java connectivity to our Oracle servers. Your friend was probably using MS SQL Server, but then, he deserves everything bad.

      --

      BluetoothCentral.com
      A site for everything Bluetooth. Coming in January 2000.

      --
      Zigbee Central: A Zigbee weblog
    2. Re:Wait for version 3.1. by SuperKendall · · Score: 1

      What did he have to pay for? We use Oracle JDBC drivers that are free, and I think you can get free JDBC drivers for just about anything - you can also get JDBC drivers that have a middle tier that cost a lot, but you shouldn't have to pay for any drivers if you don't want to.

      --
      "There is more worth loving than we have strength to love." - Brian Jay Stanley
  37. These benchmarks disagree... I disagre... by Analogue+Kid · · Score: 2

    I've done a bit of Java programming myself, and I sure can't say that it strikes me as particularly fast in terms of development time. Perhaps for something relatively large it's faster than C. But I have never found an app which can be more quickly developed in Java than it could with say... Perl. Java is so strongly typed that it takes forever to parse data (which is a big deal for making web content draw from databases). Also, I've found that not only C, but even purely interpreted languages such as Sed or Perl yield better execution speeds as well.

    Don't take my word for it, though. In Kernigan and Pike's classic, The Practice of Programming (C 1999), there's a pretty decent comparison. In the design and implimentation chapter they implement a Markov Chain algorithm as a decent test of perfomance/speed of development comparison between several languages. Here are the results:

    PentiumII400MHz ----- Lines of source code
    C ----- 0.30sec --------------- 150
    Java --- 9.2 ------------------ 105
    C++ --- 1.5 ------------------- 70
    Awk ---2.1 ------------------- 20
    Perl --- 1.0 ------------------- 18

    Looking at the results above, Java doesn't look like much of a winner at anything. It comes in dead last in execution speed, and edges out only C (the performance winner) in development speed (based upon lines of code). Perl on the other hand, is a contender. As I see it, Java's only true strength is its propaganda machine.

    --
    I'm a gnu world man.
    1. Re:These benchmarks disagree... I disagre... by johnburton · · Score: 1
      I have to say that I'm somewhat suspicious of these results. I'd expect java to be slowered by at least a factor two or three than equivilent c++ code but not this much slower.

      What is causing it to be so slow?

      It be very suspicious about using lines of code as a measurement of development speed. You can write those 18 lines of perl quickly but it's really hard to understand and maintain even when it's well written. It's a nice language for quick 'hacks' but I wouldn't want to maintain a large system in it. Java is probably the easiest language from this point of view followed by c++ then C. Awk and perl are good at what they do but they are not for writting anything more complext than this.

      --
      Sig is taking a break!
    2. Re:These benchmarks disagree... I disagre... by stimuli · · Score: 1

      As much as I love to bash Java, these results are meaningless. What you have there is a comparison of a particular group of compilers (and in Java's case, a particular JVM); you don't have a comparison of languages.

    3. Re:These benchmarks disagree... I disagre... by TWR · · Score: 1
      This is completely useless information. For one thing, we don't know which JDK K&P used (and different JVMs can have orders of magnitude different performance on the same hardware). We don't know which OS is running. Most importantly, we don't have the &*^&$^% source code! How can we judge the quality of the results without any information on the data?

      I'd also like to point out that in the Real World, people don't write programs that implement Markov chaining. They write programs that suck data out of databases, display data on-screen, and communicate over networks. If Java is a poor performer on this one test, it doesn't make it a poor performer on real-world applications. ByteMarks, anyone?

      -jon

      --

      Remember Amalek.

    4. Re:These benchmarks disagree... I disagre... by Anonymous Coward · · Score: 0

      All of what you request is provided in the book, including source.

  38. Java != WORA by Ice+Tiger · · Score: 1

    Because Java is not Open Source you can only run the servlet on whatever platform sun deems you to have. So even if you had a JVM that could with a recompile run on any of the Linux hardware platforms, tough because Sun deem that Linux is x86 and nothing more.

    As for those of you that say making Java a GPL product would fork it to death, then why has this not happened for example with the Linux kernel? Think about it. If Java was GPL it might have been using CORBA from the start instead of RMI and it might bind to OpenGL instead of it's own Java3D. In fact you might have Open OS's intigrating Java into themselves in such a way that the VM becomes part of the kernel.

    A GPL Java with Sun acting as it's Linus would probably be more in goal with the actual language design criteria than it's closed source form is now. There are many platforms which would be excellent for servlets, which could have become the glue for exchanging data from platform to platform but unfortunatly this is not the case right now as the limited JVM ports impeed this.

    --
    "Because we are not employing at entry level, offshoring will kill our industry stone dead."
    1. Re:Java != WORA by Maurice · · Score: 1

      Java3D uses OpenGL.

    2. Re:Java != WORA by Mornelithe · · Score: 1
      why has this not happened for example with the Linux kernel

      Does the Linux kernel have people that would want to fork it? I know that MS would love to fork Java, but I don't really see any advantage in them forking Linux. That's why it hasn't happened; it isn't the same situation.

      If Java was GPL it might have been using CORBA from the start instead of RMI and it might bind to OpenGL instead of it's own Java3D

      Well, I'm not big on either of these two things, but I'll comment on what I can. RMI is Java only. Therefore, it's more Java-centric, and probably simpler to use from Java. CORBA is for doing what RMI does in conjunction with other languages, which probably means it has to be somewhat more complicated (again, I'm not sure, but this is what I would speculate as being true based on what I know). So if you're going to be using all Java, then it might be easier to use RMI.

      Second, I remember reading a book that mentioned OpenGL bindings for Java. I think it was called Magician or something, and it was free too. But don't take my word for it.

      As for limited JVM ports... Traditionally, Sun's version was supposed to be merely a reference implementation, and people who were more in touch with a particular system were supposed to write the JVMs for that system. So the BSD people would write their JVM and Apple would write the Mac VM, and etc. For another example, MS was supposed to write the Windows JVM, but we all know how that turned out. So Sun now has to do Solaris and Windows, and people want Sun to make VMs for all 100 different platforms. It's not supposed to work that way. If you want a VM on BSD or the OS that you made after spending 6 months in your basement or whatever, then get the people who made the OS to make the VM. That's what's supposed to happen.

      As for the openness, Java continues to get more open. If I recall correctly, fairly soon, Sun will make the "Standard Edition" of Java royalty free, so you can download the code and use it however you want for free. The only catch is that you have to prove that your version is compatible when you distribute it. So if you want, you can download the source and port a JVM to Basement OS or whatever. This sounds a lot like the Linus-Sun you suggest, except that all the changes don't go back into Sun's implementation of Java.

      Sorry this is so long.

      --

      I've come for the woman, and your head.

  39. Java is the BEST!!! by Schnake · · Score: 0
    Java is the best thing to happen to computing. Not the JavaVM, but Java the language. It is the refined version of C combined with SmallTalk. If Microsoft did try to exploit it, we would end up with it being the dominant platform after Visual Basic. Forget Visual C++, it would not exist, when MSJava could be made to do twice the code in half the time, and still be extremely readable, and extremely object oriented. And its speed would be as fast as a C application, because there would be direct to x86 code compilation.

    Now, the Linux guys are stingy, because Java was never a big thing on Linux, no vendor would support it! The pure-C guys are stingy, because they would rather toil over hours of code in order to be one level above direct control of the machine.

    And furthermore, Sun is doing great making Java as proprietary as possible. Sun has the speed, and enough hatred of Microsoft, to keep pushing Java to become a very full-featured platform, and even maintain their write-once-run-anywhere promise. A standards body is the death of any technology, because they're slow! Sun ofcourse has the perfect model for letting Java grow, it controls how, everybody else suggests... Consumers demand, Sun listens and decides.

  40. I have used PHP/Perl/ColdFusion.. Java Rocks!!! by Pengo · · Score: 1


    I don't think that I will ever go back to anything else. I -love- JSP/Servletes. I have been able to increase my development time significantly and the performance is not (in my perception) lower than Perl or PHP.

    Oracle has made a HUGE commitment to the java world with its Oracle8i server and Java Stored Procedure integration. (Hell of a lot better than PL/SQL!!).

    With big players like IBM/Oracle pushing the backend, I would hardly say that Java is DEAD. Even if sun doesn't release the API to a standards commitie, someone will standardize it. I don't *fully* understand the problem with sun being a steward over the API _for now_?


    I agree that what they did to Blackdown was a bit lame, but welcome to the corporate world.

    In the end, I can use Tomcat or Jrun (at no cost) and it allows me to do my job quickly and very low cost. I am working on a large and complex side project, and right now the development machine is sitting on a Compaq Pentium 90 with 96 megs of ram. After the JSP Pages are compiled and sitting in Ram, the thing goes surprisingly zippy.


    If performance is an upper end issue, you can load balance the application server in a cluster.

    You can start development on a compaq pentium 90 running linux, and move it to a 64 cpu SGI machine if that tickles your fancy!

    I believe that Java offers the most flexible solution for my needs, but I do have a choice. I don't understand the Java bashing on Slashdot, I really enjoy the stability and managability that it gives me.

  41. Java on the server solves a Unixflaw by Otis_INF · · Score: 1

    I think java on the server is so successful in Unix land because it solves a serious flaw in OS design: the availability of Binairy Objects on OS level. When you build an e-commerce system you can choose between (besides the HTML :)): a) writing it all in C/C++ or other binairy compiling language (not many do that) b)a scripting language or c)Java. Choosing a) has the drawback that however you probably can use objects within C++ or object pascal, it's hard to share these objects between pages in your e-commerce system. Choosing the scripting language gives you the sharable objects (if you use PHP for example) but these objects are living in an interpreted language environment. When your system needs speed because of the high load, it's not that recommended. Choosing Java on the server brings you an optimized binairy world, with binairy objects using CORBA. Because of the usage of a JIT it's faster than scripting languages plus the binairy objects available with CORBA bring more advantages than the scripting languages do: the sharable objects are binairy and optimized for execution by the JIT. Advantages, it's hard to say, people at NT with IIS are having for years: binairy, speedy COM objects used in ASP scripts on the server. Java on the server bridges this gap, but only with CORBA.

    --
    Never underestimate the relief of true separation of Religion and State.
  42. yaY for java by Anonymous Coward · · Score: 1

    i wonder what would happen if somebody tried to catalog all of the C success stories on the javalobby sight? probably crash the thing :P...

    i'm getting a bit sick of all this deer-in-the-headlights hype over java. first java was the great applet language. once that failed, people took the write-once run-anywhere philosophy and decided that java was going to take over the client. now that java has been proved fairly useless on the client (how many applications that we use are written in java?), people start the java-on-the-server (?!) bandwagon. *please*, if we are running it on a *server* we know the architecture, we can use something called a "compiler" (btw, C code compiles on a hell of a lot more platforms than java ever will). if we are writing a server app, we better know when the memory gets allocated and freed, and we better have good design and methodology. java will never replace good engineering and sound design. give me my faster C / C++ / Perl / Python "servlets" anyday over Sun's proprietary hyped java garbage.

    3% branding fee anyone?

    1. Re:yaY for java by ben+dovar · · Score: 1

      Perl & Python & C++ Ha ha, java's got those beat - I guess then you are used to really sucky C performance as well.

      --
      -- Make 7 - Up Yours
  43. How about a meaningful comparison??? by Anonymous Coward · · Score: 0
    Why don't you develop a multi-threaded, distributed piece of code in Perl and Java.

    Let me know how many lines of code that takes you.

    Or in C. Add a third column called "Core dumps".

  44. Have you used mod_perl? by Paul+Crowley · · Score: 2

    I'd love to have a go with this, though I don't know if Kaffe/Classpath/Apache currently does it. Have you had a play with Apache's mod_perl, though? That's the technology that drives Slashdot itself - integration of a Perl interpreter with the webserver, that allows damn fine perfomance and scads of flexibility.
    --

  45. Like between you and "Analogue Kid"? by Anonymous Coward · · Score: 0

    It looks to me like he made a pretty clear argument... even if he can't spell 'implement' the same way twice. ;)

    I've seen the implementations of the Markov Chains, too. What's your bitch with them? Both C and Perl have been used for much larger "multi-threaded, distributed pieces of code." Perl still beats Java hands down in both areas (though Java's execution time has improved 2%-3% since the writing of The Practice of Programming). C of course cleans up in execution speed, but is hell to develop. But what in the name of all things rational are you talking about with a column for core dumps!? Kernigan and Pike write better code than that. The core dumps column would just be 0's.

    Are you implying that C and Perl are useless for anything big? Why do you have to make an inflamitory post just because you don't like what you hear!!? You're argument's senseless, you're a dickhead, and you're wrong!!!

  46. Uh, like no or something by Anonymous Coward · · Score: 0
    No. What I'm saying is that for developing stable, multi-threaded, network or distributed code, Java's development time kills C or Perl.

    Perl's socket implementation is crap. It's doesn't recover very well from network interruptions.

    C, while extremely fast, is a bear to code threads and tedious for networking.

    Don't get me wrong. I love perl. At my last job, that's about all I used for projects large and small.

    Now I'm doing tons of disributed multithreaded code. Java has really cut down on dev time.

    Okay. Go ahead and call me some more names. It makes your posts more convincing.

    1. Re:Uh, like no or something by SoftwareJanitor · · Score: 2

      C, while extremely fast, is a bear to code threads

      Eh? While I would agree that Java makes threads really simple, I wouldn't say that threads are necessarily that hard to deal with in C, at least not POSIX threads. Now if you are talking Win32, then you are right, those are a bear. The real hassle with C is that you have to code threaded code totally differently on *nix and Win32, while in Java you can just move byte code for a threaded app between those two without even recompiling and it will work (at least I have been able to do that).

      and tedious for networking.

      If you write directly to the Berkeley Sockets interface, that may be true, however just about everyone I know quickly develops (or buys/borrows) their own set of libraries and/or C++ wrapper classes which greatly simplify network programming. Again, the hassle is usually if you want to write a portable networking app, Win32 has unfortunately greatly diverged from the standard sockets interface, so you are back to lots of ugly ifdefs or some other way to handle the differences while with Java you can usually just move the byte code across and it will work.

    2. Re:Uh, like no or something by Captain+Teflon · · Score: 1

      Perl's socket implementation is crap.

      Java's socket implementation is crap. It doesn't handle writes to a socket server using non-blocking I/O at all. No analog to select().

      Some dork at Sun wrote something on java.sun.com which says you "can stop blocking on sockets by using separate threads", which is NOT the same as non-blocking socket I/O. now every loser on comp.java.programmer floods you with "use a separate thread" if you raise the subject. One twit even told me what I was trying to do was invalid because the Java language didn't cover it.

      Non-blocking socket I/O can be very useful and greatly simplify programming for certain socket apps, but no, Java don't do it.

      You can do this in Perl, Delphi, C++ (Unix/Win32) but not in Java.

      Yes, you have to do error handling in Perl. You should be doing it in Java as well.

      --
      Eagles may soar, but weasels don't get sucked into jet engines.
  47. native code compilers? by browser_war_pow · · Score: 1

    Didn't microsoft and symantec each create one for win32? I heard that there is going to be a gnu one in the future. Java would gain more respect if the JVM would give the user the option to compile to native code so it runs almost like a native app the next go around

  48. Where java has not yet begun to shine. by bons · · Score: 1
    The main problems with java have been speed (or lack thereof) and portability (the fact that many people do not want it).

    Let's look at any discussion of frames, graphics, the Opera Browser, or other aspect of web design. People code for their perceived top 95% (Netscape & IE 5.0+ running on Windows). We're used to everyone who uses Opera, Linus, Mac, or NoFrames just getting the shaft. We don't like and and we protest, but we are no longer surprised.

    Java is only accepted as a serious application choice when there is a need to run on more (not all) machine types. (Let's be real, if you claim Java is viewed by everyone you've just screwed over those Lynx users on dumb terminals. They're still out there.)

    With the new processors coming out (Alpha vs Intel) it will be interesting to see if the compiler market supports both processors equally. If they do not it will either mean a death for one of the processors or an increased demand for Java.

    Currently, in my opinion, the forgotten market of choice would be education. Since schools and universities tend to have a wide spectrum of machine types available and since speed is not normally a factor in educational software, then Java fit's the bill perfectly.

    Currently I'm working on two alife (artificial life) applets. Java is fast enough for alife (where speed is desireable) on Windows and portable enough that I can be sure other people will be able to use and study these applets. If I was to do this work in C, it would make a decent thesis, but it would be limited to people who A: like to download unknown .exe files, and b: like to read college papers. (Wait. that would be nobody...)

  49. My, aren't we a bit touchy? by Anonymous Coward · · Score: 0

    I suppose the only meaningful comparisons would be those that speak the glory of java hmm?

  50. I agree by Anonymous Coward · · Score: 0

    My companies servlets run mostly without incident on both Solaris and Windows. We mostly run into problem with JDK classes that make native calls. Often one will work properly on Windows but not on Solaris. I have been told that weird as it sounds the reference JVM is developed on NT so the work to port it to Solaris introduces bugs. You think they would develop on Solaris.

  51. We need a new moderation category...Insulting! by Anonymous Coward · · Score: 0

    This guy makes a decent point, but geez! Not only does he personally attack one guy but he even has to nit-pick at the spelling of the one he's defending. Sigh. Free speech is ugly sometimes.

  52. It's not that Java is slow... by ben+dovar · · Score: 1

    It that it is easier to hide sloppy algorithms in C. Not that I have anything against C.

    --
    -- Make 7 - Up Yours
  53. "Write once, run anywhere" _achieved_ by _Java_??? by Florian · · Score: 1
    You wrote:
    "Perhaps WORA [write once, run anywhere] really has been achieved, at least for server apps."
    Even if WORA is true for Java on servers, Java has certainly not achieved it. Please remember Perl, please don't forget Python (which IMHO is at least as complete, consistent and clean as Java for building serious applications). Funny that one has to mention this on Slashdot!
    --
    gopher://cramer.plaintext.cc http://cramer.plaintext.cc:70
  54. Good news! More support than you thought! by Analogue+Kid · · Score: 1

    Actually Java support has extended past just solaris and Windows. Sun has released the JDK1.2.2 for Linux, get it here! And when you're done, snag the new JBuilder Foundation! They're both really stable, and really good. I've benchmarked a chess program on them, and it's comperable with the Windows version. The compiled code is identical, Jbuilder has all the same features, and the JRE is actually executing about 5% faster than it does when I boot to Windows. Not that it's particularly fast compared to native binaries... but still it's good to see.

    -enjoy!

    --
    I'm a gnu world man.
  55. Why Java is worth considering by jimfrost · · Score: 3
    What does this prove? Absolute nothing. However, it does raise some questions about how it's idiotic to just do everything with C/C++ because it's traditionally "the right thing to do". By using "traditional" programming languages, you will often be forced to spend so much time thinking about language issues, memory allocation & leaks, complex threading issues etc. that the application logic will suffer and become a secondary priority.

    I've worked extensively in C, C++, and Java. Given my choice I will take Java virtually every time.

    The reason why comes down to pure productivity. On average (we're talking about over the course of years) I'm 300% more productive in Java than C++. In some cases (particularly networking code) that number is more like 1500%.

    Just think of what things you can do if you can write your application three or more times as fast as the other guy. You have time to write it, rewrite it, and optimize it before he's even done the first time.

    And that, my friends, translates into huge market advantage.

    Now, lots of people say that the reason Java is more productive is because you don't spend your time tracking down memory issues. That's not the case for me, at least not in large part; it's really not that hard to write a clean program in C++, and memory leak issues still exist in Java (which sells a lot of Optimize-It licenses, lemme tell you). Rather, Java is a lot more stringent in enforcing interfaces than is C++, to say nothing of C.

    Consider, for instance, that Java enforces handling or passing of exceptions. In C++ you can silently ignore them, usually resulting in bugs or reliability problems that don't show up until late in the development cycle (or, worse, in the field). In Java you have to explicitly deal with exceptions; you are forced to make a conscious decision as to what to do every time you use an interface that throws an exception. What that means In The Real World is much more robust code on the first effort -- if it fails, it usually fails gracefully.

    There are actually some problems related to this. In beta test programs, for instance, it is a lot harder to get people to report problems because they usually manifest themselves as a feature that doesn't always seem to work rather than a complete application crash. On the other hand the application can notice the problem and report it nicely rather than just disappearing or dumping core. These kinds of problems I can live with.

    There are other development advantages. Java is dynamically linked at runtime. This makes it slower to start up than a C or C++ application but it means that there is no link phase to deal with at each compile/edit/debug cycle. On a large C++ project I used to wait as much as fifteen minutes per link; with Java that time is always zero. That translates into many more cycles in the same timeframe, and that translates into product going out the door faster. (I must note that I used to work on a C/C++ debugger with an incremental linker and it had many of these same advantages. It was, however, rather expensive.)

    So: we have a case here were random heap crashes can't happen, where interface enforcement is stringent enough that you get more reliable stuff together on the first try, and where you can run through a compile/edit/debug cycle a lot faster. There is a hell of a lot to like there.

    There are some downsides though.

    The compilers still suck -- at least all of the common ones. Oh, projects like Jikes are yielding compilers that build code fast, but none of them build good code. They don't even do simple peephole optimizations, to say nothing of what you get in your typical C++ compiler. It's like going back and looking at code produced by 70s C compilers. Apparently the idea is that the JIT system takes care of that -- but JIT systems are severely limited in how much time they can spend compiling the code, plus they don't have anywhere near as much semantic information. The end result is worse code. This was true of C++ for quite some time too, of course, and is expected to get better, but for the moment you get to optimize a lot of things by hand.

    JVM stability has been something of an issue. Big programs that push the environment hard (like, say, a web application that's handling tens of millions of hits per day, which is what I do with Java) tend to find the dirty corners that don't show up in your typical "hello world" applet. Things like limitations on the number of classes and methods you can have in your application (low tens of thousands prior to JDK 1.2), heap lock contention overhead as the thread count scales beyond a hundred or so, and other things have pushed us towards designs that are less convenient to build (although arguably much more scalable and fault tolerant).

    Some people speak of JDBC being really nice. It's a good idea, but practically speaking very few of the JDBC drivers are particularly reliable, cross-compatibility leaves a lot to be desired, and performance is often not so hot. You have to spend more time on optimization. Luckily you have more time to spend on optimization.

    So Java has its problems, but in my experience everything has its problems. Java's problems can be worked around with architecture and optimization and productivity improvements are so good that you have the time to do it. The end result is often a better product out the door faster.

    Now, for all you guys who say that Java just isn't fast enough, several of the largest sites on the web run Java-based applications (you almost certainly have used some of them without even knowing it). And they do it on a lot less hardware, and less expensive hardware, than any of the competition manages with C/C++. This is in direct contract to the popular opinion that Java is slow.

    There's nothing stopping someone from writing the same kind of thing in C/C++ other than time. We've had the time to write, optimize, rewrite, and optimize again several times over in the time span it has taken most of the competition to just make their product stable. Unsurprisingly this results in a faster and more stable product even when we've had to work around problems that the other guy wouldn't have had to deal with.

    Java isn't for everything. You'd be insane to write drivers or operating systems in it, and runtime environments are really way too big for most embedded applications today. But when it works it's great, and it is working on a whole lot of servers out there on the 'net. You don't hear about them because nobody talks about the stuff that works, only the stuff that doesn't (like, say, eBay).

    jim frost
    jimf@frostbytes.com

    --
    jim frost
    jimf@frostbytes.com
  56. Re:Java and Smalltalk by Anonymous Coward · · Score: 0

    Well, first of all Smalltalk should not be
    written with capitalil `T'.

    Second, Java has nothing to do to Smalltalk. The differences are very important not to be confused:

    1. Smalltalk uses symbols and this makes it very
    close to Lisp and Scheme.
    2. Smalltalk calls methods my their `name', not their index in some kind of method tables.
    This also makes it closer to Scheme and Lisp,
    and also to Objective C. Well Objective C was
    made after Smalltalk.
    3. Smalltalk resolves types at runtime. Again, like Lisp, Scheme and Objective C (I mean,
    object part of Objective C)
    4. Smalltalk uses REAL CLOSURES. This is very rare
    feature. I know only Scheme supports them
    truly. Nevetherless, Java do not support them

    So, I would change word SmallTalk in your message
    to C++ :))) How much of the best will java
    have after that? HAHA

  57. "Starting Java..." was a BIG Netscape mistake by Anonymous Coward · · Score: 0
    The real problem with client-side Java was Netscape's annoying "Starting Java..." thing. IE loads up a virtual machine context when it first starts, and it still starts up faster than Netscape. They have the advantage being tied to the OS, still, I suppose. They can start it up whenever they want. Still, web pages with applets pop up right away.

    Anyway, I suppose my point is that Netscape made applets way less pretty than they should have been, and I hope Mozilla's default setup does better. (I'm quite the Mozilla hopeful, actually.)

  58. It is strange! Here's my best guess. by Analogue+Kid · · Score: 1

    Well I haven't seen anything for which Java can run within that factor of C++'s speed. Actually the C++ implementations (for that specific benchmark) have improved more than the Java ones! Java made great strides between version 1.1 and 1.2, and I'm sure it's compilers will continue to improve for much longer than C++. But I doubt it will ever catch up. If you do know of anything for which Java gets even 1/3 of C's performance, I'd be interested to see. Everything I've ever seen has been painfully slower, even simple networking things like ICQ! Have you seen how sluggish the java version is? It's unusable on my PII-300!

    Here are my guesses as to what makes Java so much slower:


    First off, there's quite a bit more overhead- we all knew that.

    Second, the compilers have a bit tougher task, and they aren't as mature.

    Third, Java is interpreted. You compile it, but just as with say... Perl, you need an interpreter.

    Now the fourth reason I've thought of took a bit more digging. I've found that the performance of Java gets much closer to that of a lower level language when its apps are run on a system with a huge cache. Why? I'd bet that with everything done in OO, the inheritance is thrashing the ever living hell out of the cache. For every "generation" of inheritance, that's one more jump to an arbitrarily far spot in memory. That's actually the same problem that has kept game developers from using C++ for playstation games. C++ doesn't have nearly the problem that Java has with this, but the PSX only has a 4k cache! Perhaps as our computers become an order of magnitude more capable, this problem will abate somewhat.

    As for lines of code being a poor measure of development speed, I agree. However, in my own personal experience (working on a BIG web based system for an ISP's billing software) most things can be developed more quickly with Perl. It seemed pretty cryptic for a while, but I don't think that it's that much less readable once you're familiar with the common idioms for whatever task is being done (it seems they're always similar). I guess the main difficulty with Perl might be that you can choose to make unmaintainable code, ie don't #use strict, etc... Right now Apache/Mod Perl/CGI/Oracle seems to be working pretty well, but who knows? Java servlets are certainly much more appealing than Perl would be were it not for Mod Perl. But I think it'll be a long time before C/C++ is no longer rules the realms of gaming, and operating systems.

    --
    I'm a gnu world man.
    1. Re:It is strange! Here's my best guess. by johnburton · · Score: 1
      Most of the work I've done it java has been fairly "thin" client work connecting over a network to a server and displaying results in a fairly simple graphical form in real time as they update. This is probably ideas for java in some ways as the network code probably is IO bound in any language, and the graphics code translated into drawing lots of rectangles mostly which are probably calling the same native code in both cases anyway. I find that a similar client uses about twice as much cpu time in java than in C++ but I agree this is probably an unusual case.

      The caching problem you describe is a fair point. However a virtual function call generally replaces an ordinary conditional jump and so a smart enough compiler could arrange for the code to be arranged properly to help with the cache problem. It just a quality of implementation issue. I guess compilers don't do this because it's too hard so it's a real valid point.

      I suspect that the java virtual machine takes enough of the cache memory up itself to make any measurements on the java code meaningless.

      I agree with your opinion about games and operating systems. Games will always be looking for top speed and java isn't sufficiently "better" than c or c++ to make it worth the slowdown in run time performance. I'm guessing that some games, I'm thinking of things like civilization where speed is important but not critical could be written in java without the performance being too much of an issue. I can't see any particular reason why you'd want to do so though.

      I'm finding that I use java quite a lot for quick test programs now. It's quicker to write and build java code than c++ code but it's sufficiently similar to c++ that the ideas can be reused when it's time to write 'real' code.

      --
      Sig is taking a break!
  59. It's only about 4xslower by Anonymous Coward · · Score: 0

    You said you expected java would be at least 2 or 3 x slower than C++. It only came out about 4 times slower. Why does that make you suspicious?

  60. Everything's Free for Java by Anonymous Coward · · Score: 0
    what put him off was every other step was "pay pay pay"

    Wow, I've helped set up from scratch a system with FreeBSD, Apache, Perl, Java, JServ, GNUJSP, PostgreSQL, JOnAS, and Cocoon.

    In terms of Java, that means a Java VM, a servlet engine, a JSP engine, database connectivity, XSL processing, and even Enterprise JavaBeans.

    And I paid $0 out of pocket.

  61. Java is a tool. Use as such. by Anonymous Coward · · Score: 0

    Java is just like any other tool out there on the market. You have to look at its merits and its flaws and decide wether it fits into the solution you are trying to provide. Granted Sun has touted that Java is the end all be all for programming which it is not.

    As for its use as a server-side scripting language, I think it is a very powerful tool. I've been doing e-commerce applications for almost 3 years now. Perl is awesome. Personally, I find the variety of libraries and regex capabilities that come with it make the task of designing web applications extremely easy. The problem that I have found is that Perl is loosely structured (which does have its benefits) and as applications get really big the language can become difficult to work with as you add more and more features to your applications. Java, as far as a language goes, is very structured and IMO very solid in design (remember I'm talking language not AWT + Swing, et. al. libraries) Not to mention the added capabilities that are built into the servlet interface like the session management coupled with things like JDBC (yes, I know you can do the same with Perl DBI lib's) and the GNU regex library and you have a pretty solid e-commerce application development tool.

    Drawbacks (for some) are that to run servlets you need to be running Apache JServ, Sun's JavaWebServer (bad idea), or Netscape Commerce server. I don't think there are any others, but if somebody knows different, please enlighten me.

    But as I stated at the top, servlets aren't the solution for everyone, see if it fits what you are doing and if it doesn't find an alternative, don't necessarilly label the product as crap.

    1. Re:Java is a tool. Use as such. by toriver · · Score: 1
      Drawbacks (for some) are that to run servlets you need to be running Apache JServ, Sun's JavaWebServer (bad idea), or Netscape Commerce server. I don't think there are any others, but if somebody knows different, please enlighten me.

      Um, all you need is something that listens on a port, parses arguments and invokes the right method in the right class.

      For instance, if you have JBuilder Pro or Enterprise and use the "New Servlet" wizard, it will generate a mini-server for you, called ServletRunner or somesuch.

    2. Re:Java is a tool. Use as such. by TurkishGeek · · Score: 1
      Drawbacks (for some) are that to run servlets you need to be running Apache JServ, Sun's JavaWebServer (bad idea), or Netscape Commerce server. I don't think there are any others, but if somebody knows different, please enlighten me.

      There are servlet engines for almost all popular Web servers on the market. Examples are:
      • JRun, which runs on IIS, Netscape, Apache , WebSTAR, and O'Reilly's WebSite.
      • ServletExec, which runs on almost all Mac Web servers, IIS, PWS, Apache and Netscape.



      --

      BluetoothCentral.com
      A site for everything Bluetooth. Coming in January 2000.
      --
      Zigbee Central: A Zigbee weblog
  62. DOES it bother anyone that JAVA doesn't work? by Anonymous Coward · · Score: 0

    I have been to SOOO many pages where I get the happy little window that says, "Error: X is undefined" or some other JAVA-based error. Does anyone else get bothered by this? What is to be done? guaranteed no JAVA errors.

    1. Re:DOES it bother anyone that JAVA doesn't work? by toriver · · Score: 1

      That sounds like a Javascript error message. What on Earth - apart from four letters - does it have to do with Java?

  63. I hope not... by Anonymous Coward · · Score: 0

    ...being as I'm spending my entire Christmas-New Year break beginning to learn it.

  64. Swing widgets by aUser · · Score: 1

    The only thing I like about Java, is the incredibly nice Swing widgets. Every time I look at the SwingSet demo, I fall in love with them. Unfortunately, they are so slow.

    Further, I resent the rest of the Java language. Slow like Basic and as complex as C++, it combines every reason not to use it.

    Nonetheless, there should be a way to save the Swing set out of the Java cesspool. Does anybody know of a way to use the Swing widgets with python?

    1. Re:Swing widgets by Nabuchodonosor · · Score: 2

      "Does anybody know of a way to use the Swing widgets with python?"

      Yeah, use JPython ;) www.jpython.org

      If you want to use them with scheme, use Kawa (www.gnu.org/software/kawa)

      If you want yo use them with tcl, use Jacl (I dont remember the url).

      :b

      I'm still waiting for JPerl, or sumthing like that :b.

      --
      ---> Did you know Linux stands for Linux Is Not UniX ?
  65. Yeah, yeah, making money is evil... by deusx · · Score: 2

    WTF are you talking about?

    Yes, Andover acquired Slashdot, but where have you seen them barring links exiting the site? THAT'S WHAT THE WHOLE FREAKING SITE **IS**. Have the story links gone away? Have the Slashboxes gone away?

    Besides, what does Andover care whether you use the Slash system or not? As for Slash being closed-source, I think that's a it unfair. CmdrTaco is lazy:

    Someday I'll post a new version, but honestly its a lower priority to me than it ought to be.
    I'm to busy ironing out kinks and adding features to take a couple days and create a distributable tar ball. It'll happen, but
    not tomorrow. I'm already working pretty much every waking second of the day.


    But SlashDot is neither completely closed source nor open source. ANd I think that's because it's tough running a site like this and running a collaborative open source project all at once.

    I'm just sick and tired of people slamming companies who make money.

  66. Hot Java Browser by harmonica · · Score: 2

    If you develop a web browser, you would probably be insane if you did it in Java (I would love to be proved wrong) because it would be so much slower.

    Well, there is HotJava, a web browser developed by Sun completely in Java (1.1). Get it here.

    However, I never got it to run as non-admin under NT (but I don't really care ;-)) and there is constant flickering when pages are rendered. If they could remove that... The pages I visit most often look good.

  67. JAVA, CORBA, XML by Anonymous Coward · · Score: 0
    I've had very complete successes with JAVA, CORBA, and, more recently, XML. Java is a great language, I can develop on NT, Solaris, HP-UX and run it on NT, Solaris, and HP-UX without any problems. I can run my apps on Linux and FreeBSD too, just no customer wants these platforms. I build middle-tier services and I LOVE JAVA.

    In my current contract capacity, we use Java exclusively in the middle tier. From database access to the translation of EDI to XML, we use Java and CORBA. My project brings in MILLIONS of $$$$$$$$. We have a budget in the 10-MILLION $ range. And we use Java. We are a SUCCESS. Most of the developers are mainframers converted to Java programmers and they have produced excellent code. Some growing problems, of course, like threading etc, but overall Java is an easy language to pick up and learn. Myself I come from C++ and C and Perl and LOVE JAVA more than any of the previous languages.

    Those that claim java is dead or can't scale or isn't successful are just talking out of the close-minded ass.

    1. Re:JAVA, CORBA, XML by bobm · · Score: 1

      The problem is that it's hard to believe an AC when they say that anything that can't be backed up. Perhaps of an example or real name would help.

      btw: we tried a java client and it failed due to being too early too soon. AWT just didn't cut it and the kicker was that we were win based for the whole project. I think swing might be better but the client load times are still too long.

    2. Re:JAVA, CORBA, XML by Anonymous Coward · · Score: 0

      Bank of America, Electronic Commerce 2000 Project, Charlotte, NC, was recently (~October 21) released to the press. Press releases could be found on Yahoo and Excite.

  68. Hot Java Browser -- On Solaris by devphil · · Score: 2


    Always worked pretty well for me under Solaris. I especially liked the little colored "threads" that showed the multiple connections: if a data connection was still open, I would wait, but once enough of the page was loaded that all the remaining connections were the "image" color, then I could safely click "Stop". No bigass images sucking down my bandwidth, and I know that all the HTML/Java/Javascript/etc has arrived. :-)

    I gave it up because it can't do forms and pop-up boxes worth CRAP -- even when communicating with Sun's own site to download security reports! As a Sun sysadmin, I /need/ those to work... back to Netscrape.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  69. Java B&D vs. Python by gaj · · Score: 1

    My gripe about Java isn't speed. It isn't the platform. These are implementation details.

    My gripe about Java is that the language is *awkward*. It has all the B&D of C++. For a *really* large project this might be of use, but for my money I'll take consensus over language limitations every time.

    Python strikes me as the current best of breed for general purpose programming languages. It has the necessary features for writing both large and small apps in a *very* unobtrusive package. The language just plain gets the hell out of your way and lets you get on with solving the problem.

    It also seems to be near the top for WORA. I've written apps that run unchanged on Linux, Win95/98/NT, Solaris and AIX.

    The only issue is WORA GUI, and I don't think that problem has been solved for *any* language yet. Tk comes close, though, and Python's interface to Tk rocks.

    If Java would just get the hell out of my way it wouldn't be so bad.


    --
    If your map and the terrain differ,
    trust the terrain.

  70. Funny, I would have said the opposite. by devphil · · Score: 2

    Pick the right tool for the right job.

    I agree completely! I beat my co-developers over the head with this saying all the time. But...

    If you develop a web browser, you would probably be insane if you did it in Java (I would love to be proved wrong) because it would be so much slower. If you develop a complex server side application in C/C++ or Perl, you're nuts because there's NO WAY you will achieve the same quality in the amount of time you can achieve it in Java.

    This is kind of funny...

    My approach is to use, say, C++ as the server-side language, because of the richer feature space and the quality of code. I use Java as the client-side GUI because it's trivial to build GUIs in Java, and because the code speed is not as important -- most of the time the human is still the slowest thing in the loop.

    I should add, however, that I don't use Java to write web applets (it's not that I use other languages for that, it's that I don't write web applets at all). I use Java to generate a complete GUI application, and then use an ahead-of-time compiler to create optimized binaries for the platforms that I know are going to use it. (See, for example, Per Bothner's paper on treating Java as just another language.)

    This just goes to show how programmers can have exactly opposing views, and both be right. :-)

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  71. Java Horror Story by sled · · Score: 1

    Ironically, I found this article today that discusses Java from a, uhm, different perspective ;)

    1. Re:Java Horror Story by aUser · · Score: 1

      Java unmasked ...

      Finally. At last.

      I've been wondering for years now ... was I the only one who thought the emperor was wearing no clothes?

  72. If you want to see fast Java by Anonymous Coward · · Score: 0

    Linux users: don't just use Kaffe because you've heard it's the right thing. Try running Java on a Win32 platform so you see what it CAN be like. I'm quite sure you will be amazed of the speed.

    And if the Win32 performance still doesn't impress you and you want to see the most extreme case, run your Java app under OS/2.

  73. Java misconceptions by smackthud · · Score: 1

    "java is slow" Not really. Downloading an applet into possibly the worst JVM (Netscape's) is slow. Try using a network platform like Speiros (www.cyrusintersoft.com) to run your client side java. Your opinion will probably change. (and you'll probably be really pissed at netscape for ruining everyones perception of java) "Java is only good for Server side applications (servlets)" Again, I disagree. I've been working with hundreds of java applications (and applets) from many sources (commercial, GPL, private), and have found that in nearly all cases, slowness results from bad code, not "java" or the jvm. I don't mean that there are bad coders, simply that many java programmers have really never had any decent guidance how to code properly with JAVA. That is Sun's fault IMHO. "WORA is limited to servlets" Client side java is very alive and well, and despite many developers lack of multi-platform development experience, JAVA itself is the ultimate for great client side portability. For example I run the same editor (Jedit) on 3 platforms: Solaris, NT, Linux (RH6.1) using Speiros as the delivery vehicle. In addition to Jedit, I also have a spreadsheet, FTP, IRC, SSH, MAIL, and a handful of other useful tools. None of these applications suffer from the maladys that JAVA proportedly inflicts. Many of the problems that people find with JAVA are simply a result of Sun's mishandling of the platform. Why do people think that servlets are the only success with Java? Simple. That's how people are making money off Java today, including Sun. To see what else is possible check out: http://www.GJT.org http://www.cyrusintersoft.com

  74. Who needs Java? by Anonymous Coward · · Score: 0

    There are other, productive, yet FREE programming languages out there. Take the platform independent MOZART for example: www.mozart-oz.org Mozart-OZ is the most powerful high level programming language around. Of course, it is also the youngest.

  75. Performance Limitations of the Java Core Libraries by Anonymous Coward · · Score: 0
  76. Thanks for pointing that out... Perl and Python by Camel+Pilot · · Score: 1

    I recently ported a Perl based Order Manager server app, consisting of 2.7k LOC, from a UNIX to a win98 machine.

    I installed Apache on the Win98 machine and several required modules such as Time::HiRes, and CGI.pm. Then changed 3 hardcoded url statements in the code and replaced the #!/usr/local/perl to #!c:/tools/perl in each file and was done.

    That's pretty close to WORA IMHO.

  77. languages and OSs certainly do need to be open by Anonymous Coward · · Score: 0
    i don't really care if quake5 is open, but you better be damn sure i want the source code to the tools i'm basing my paycheck on.

    talk to your local VB programmer to see what life is like when your tools are closed.

  78. Python compiles to Java bytecodes!! by Anonymous Coward · · Score: 0

    You get the best of both worlds - write your WORA code in Python!

  79. Need more info on GCJ by Anonymous Coward · · Score: 0
    Any success stories with this tool? I'm a FreeBSD user, and currently the gcc version doesn't support gcj and I'm hesistant to upgrade gcc on my own, out-of-step with the "blessed" 2.7.2 FreeBSD version.

  80. Java Servlets increase your development time? by cpeterso · · Score: 2

    I -love- JSP/Servletes. I have been able to increase my development time significantly and the performance is not (in my perception) lower than Perl or PHP.

    So Java Servlets are responsible for the increase in your development time?

    1. Re:Java Servlets increase your development time? by Pengo · · Score: 1

      So Java Servlets are responsible for the increase in your development time?

      Absolutely. The fact that I can write my code in a actually developer environment, seperate the logic from the templates and make it much easier for our graphics designer to encorporate dynamic pages.. without a doubt. (I guess to say that Servlets themselves have saved me time is false, it's the tools that support them!)

      Cheers!

    2. Re:Java Servlets increase your development time? by Captain+Teflon · · Score: 1

      I think the point he was making was that a good programming environment should decrease your development time, not increase it.

      Presumably this was an idiomatic slip on your part. Not being catty, you weren't the first and won't be the last.

      --
      Eagles may soar, but weasels don't get sucked into jet engines.
  81. an observation regarding Java projects by Anonymous Coward · · Score: 0

    If you redesign ANY existing system (completed or not) from scratch you have the benefit of seeing and improving upon the deficiencies of the previous system. Often Java is the language of the system re-write, and gets undue credit for being a superior language as result. The same system could have been rewritten in virtually any language and you would realize the same benefits, having already narrowing down and refining the requirements of the (often unsuccessful) first iteration. Try to keep things in perspective. These server-side projects are using Java in the same fashion as any other conventional language. If the truth be told, whether it is compiled, interpreted or JITted, no-one really cares as long as it acheives the desired goal. To try to suggest that Java makes people think more clearly is silly. If the programmer did not have the discipline in the first place, the program will fail in any event.

    1. Re:an observation regarding Java projects by greenrd · · Score: 1
      To try to suggest that Java makes people think more clearly is silly.

      Well, that's not completely beyond the bounds of possibility - exceptions, more clean OO, less worrying about freeing memory etc. Don't you think that assemblers might have helped programers to think more clearly than when they had to code in hex - or Pascal might have helped programmers to think more clearly than if they were using a language where the only control structure was GOTO, for example?

    2. Re:an observation regarding Java projects by Anonymous Coward · · Score: 0

      Don't get me started with Java exceptions - the most overused construct in all the Java world. They break program flow and in 90% of cases a simple error return code would have sufficed and would be 10X more efficient. OO can be applied in any language - take the GNOME project applying OO principles to their C code. As for garbage collection, you also have memory leaks to contend with in Java, albeit of a different sort - hanging onto object references too long resulting in a logical memory leak because the object can never be collected. How is not explicitly freeing memory different than setting a java object reference to null? It has the same effect. In both cases you still have memory leaks, except in Java you are blissfully unaware of it until your program runs out of memory - and you blame the JVM for _your_ programming error. I personally prefer to manage object memory explicitly since I have far greater control in memory-constrained environments. Also for once in my life I'd like to hear a serious critique of non-Java languages without the Java enthusiasts resorting to "why don't you program in assembler or hex?". This gets pretty boring after a while. Java is just a language. It has some good points, it has some bad points. It lacks many of my favorite features from other programming languages that were deemed to be "too complicated" for the masses. I find this to be insulting. I would rather have the right to choose for myself which features I find to be useful or not in a language.

  82. For the same reason Java itself is written in C. by Anonymous Coward · · Score: 0

    For maximum portability. Not all platforms (especially memory-constrained environments) support Java. In C you have no such constraints - legal, ethical or programmatic.

  83. Java helps Linux by caucho · · Score: 1
    I've seen servlet users change their deployment machines fairly frequently. Several develop on NT/IIS or even Win98/PWS (the horror), but deploy on Linux or Solaris.

    One of the reasons that some ASP users are changing to JSP is so they'll have more flexibility in deployment servers (performance is also better). It's hell to be stuck with NT. For example, Cobalt RaQs running Linux are very nice at the low end. Or if you really need to go with the big iron, you can buy a big Sun box.

    So, really, Java and JSP/Servlets are helping migrate users from closed NT shops to using Linux on the server side.
    Scott Ferguson

    --
    Scott Ferguson
    Caucho Technology
  84. JRun for JSP on NT under IIS by jake_the_blue_spruce · · Score: 1

    On winNT/IIS we use JRun and have great success. On Linux, apache Jserv rocks (they're upcoming XML-Java stuff is very exciting).

    --
    "There's so much left to know/ and I'm on the road to find out." -Cat Stevens
  85. This is soooo .edu by Anonymous Coward · · Score: 0

    So the kid goes to college learns an algorythm or two and benches it...

    When will you learn, STL and "generic algorythms" are NOT programming, they are nice brain excercises.

    I never went to college, I learned C++ on my own and java as well. If you had put a feet outside the .edu domain, you would know that for distributed apps that include the network the latency of calls so that a few milliseconds here and a few milliseconds there I DON"T CARE!!! I AM NOT WRITING GAMES!!!!!!!!!!!!!!!!!!!!!

    SO let me spell it out for you, my .edu friend, The "only true strength of Java" is the MASSIVE collection of high level APIs that enable me to do web programming as fast as I can (and trust me I am probably a better C++/java programmer than you will ever be). Only only language talks distributed objects as seemlessly as java... gimme RMI/ gimme CORBA/java components GIMME EJB!!!!!! stop looking at what your grandfather was looking at!!!! this is good for school stuff but won't cut it one minute outside. Repeat after me "high level API"

    1. Re:This is soooo .edu by aUser · · Score: 1

      Go back to school, you brainless cunt.

  86. Best lang is one that models YOUR mind by Tablizer · · Score: 1

    I have concluded that there is no single best language for web or anything else. The important thing is that the language and paradigm models the *developer's* mind. OO does *not* better model the real world, so what *does* it intend to model?

    Personally I miss languages with built-in collections processing not tied to RAM. Perl sucks because it assumes everything is about parsing and skinny, crippled tables; and Java sucks for many reasOOns. However, that is just a subjective opinion.

    - wait'n for a real lang

  87. The APIs are great by Anonymous Coward · · Score: 0

    old wheel new code

  88. Don't forget Smalltalk by Anonymous Coward · · Score: 0

    I've been coding in Squeak lately. I do most of my coding on a Mac, but I run the app on IRIX, Win95, and WinNT. The Smalltalks have had real WORA for years, as well as a mature class library. Any language that compiles to an interpreted bytecode should be WORA. It's just the nature of the beast. I'm amazed that Sun screwed it up so badly that people now doubt WORA is possible.

  89. does SSL work with Apache and JServ? by Anonymous Coward · · Score: 0

    How do you get commercial grade encryption (128 bit+) into Apache/JServ?

    1. Re:does SSL work with Apache and JServ? by nabucco · · Score: 1

      The best way to do this that I know of is to compile mod_ssl into the Apache mix, along with JServ.

      Legally, this can be done internationally. As far as within the U.S., I think some RSA patent is expiring this year and this will soon be legal to do in the U.S. There are other methods of putting 128-bit encryption into Apache (Apache-SSL etc.), but I'm not familiar about all of their legal implications.

  90. EJBoss by Anonymous Coward · · Score: 0

    These guys are catching up fast

  91. Why can't slashdotters spell? by Anonymous Coward · · Score: 0

    While I sometimes enjoy reading slashdot comments (when they aren't just a list of immature flames), I feel that many posters need to get a life outside of computers. This is most evident in the lack of spelling and grammatical skills of the posters. Read something besides slashdot and get a broader perspective on both life and computers. You might even find that it will make you a better programmer, too.

    1. Re:Why can't slashdotters spell? by Anonymous Coward · · Score: 0

      suk my sclohng

  92. "Java is a pile of crap" by MrBooga · · Score: 1
    One of the Sun Java programmers once asked me, "So, what do you think of Java?" My response was, "It's a pile of crap."

    I've been very frustrated with Java ever since it came out. It was born of excellent design and implemented some extremely valuable technology (VMs and GCs). But it was rushed at the end and the result was beauty encrusted with graffiti and hollow paper mache. So, I gave it some time ...

    Five years have passed. Some of the graffiti has been removed, but there is still a hollow tone to the base structure. It has been developing strongly in one direction while failing to deliver in other important areas.

    Java delivers an excellent development language. It's no surprise that time-to-market sensitive apps have embraced Java. It's really good for that kind of thing: back-end, state-machine based, and atomic operations. Servlet programming is almost exclusively the only success story mentioned. That's a boon to webapp developers, but it does nothing for the other 95% of us.

    Java's failures are numerous:
    Portability - The resources my company has saved programming with Java are consumed by QA. Each new platform is a significant expense. Our most recent release had to be staggered because there wasn't enough time to QA all the Java on all the platforms. Java VM vendors are largely to blame for this problem; we experience innumerable GUI portability problems (more below) and several nearly undebuggable oddities surrounding threads, file descriptors, and processes. And there are still vendors that lack a 1.2 JVM.
    Performance - It's much better than in 1.0, but still has enormous foot print problems. I see the time expended on Java performance work as equal to any other environment. Except that it's worse because of the lack of tools. If you stay away from GUI stuff and reduce your object "churn", you can get pretty good throughput. A JIT helps, but increases your foot print and reduces portability (from experience, JITs bring their own odd bugs, different on each platform).
    AWT/Swing - The GUI frameworks for Java are simply crap. It is impossible to develop a large scale GUI app that meets industry standards for performance and usability. Someone noted that Oracle8i has an all Java DB manager. As a marketing bullet it works, but fails utterly in practice. It's slow as a dog. Just try to navigate 100s of schema definitions. You and your machine will be paging like mad: you through your CD collection for that Oracle8 or 7 CD, while your machine pages the 80+MB footprint of the DB server and manager. And that's without installing any of your own DB tables or apps. --- Most of our company had to get RAM upgrades to run the new Swing based release of our software (from 64 to 128MB). Even so, the QA guys mutter and grumble daily as their machines grind away trying to bring up new panels and windows. How will our customers react? --- My comments about portability and performance apply most strongly to AWT/Swing. AWT was truly horrific. Many bugs were fixed during the 1.1 development, but many still existed. We had to hand code replacement widgets for several that were broken in AWT. Or do special per-platform and per-JVM bug work-around hacks. This was possible only because we have one guy that is brilliant at this kind of thing. It's no wonder there are no successful Java GUI apps. The bug parade is reduced with Swing, but at an extreme cost to performance. The minimum Swing footprint on Solaris is 12MB. Our large Swing based app weighs in between 30 and 60MB. An equivalent app on Windows with MFC is 8-12MB and is 10+ times faster.

    There you have it, straight from the trenches. My company's greatest Java successes have been with the server-side code. This code is fairly thin and generally simple. Time-to-market is important in this area, so Java is the best solution. But our customers that need high performance stick to C/C++.

    [Some what off-my-own-topic] One writer noted that the faster development cycle provides him with more time for performance work. My experience has been that a faster development cycle simply brings ship/deployment closer. The market goals for ship/deployment do not change; it's needed as soon as possible. So as soon as first ship is conceivable (minimum acceptable quality and features) is when it happens. That may come sooner in a Java based product, but the quality level ends up being the same. Or worse if it's a Java GUI app.

    Improved server-side webapp development is contributing to the Internet commerce boom. This is no small accomplishment. Java will continue to succeed in this area. But will it be self-restricting? I see little investment in improving Java's client-side capabilities or fixing portability and scalability problems.

    Background - My company has written and shipped 100s of thousands of lines of Java code. Most of it GUI code. I participated in only a small portion of this development. The requirements for my part of the product do not mesh with what Java offers, so I use C++.

  93. Re:MySQL is not heavy duty. by Anonymous Coward · · Score: 0

    I was the one who posted the PHP-MySQL tutorial. (My user info isn't showing up perhaps the posting script has a Y2K problem. :-)= kidding...) What we have here is a simple misunderstanding.

    I didn't mean that MySQL was an a heavy duty database. (It lacks transactions for one thing...) I meant that the tutorial explained how easy it was to write code to access a database using Apache and PHP.

  94. So that's why Java coders are being paid less by Anonymous Coward · · Score: 0
    I've noticed that, for contractors in Silicon Valley, the rates are actually going DOWN!

    I found this absolutely astounding, given the really tight labor market.

    Heh. If you're planning on making your living doing this, you might want to re-think your career.

    But personally, I'm delighted, as my rates went WAY up this year - and I'm wondering if I'm undercharging still.

    Keep specializing in Java! I love it!

    1. Re:So that's why Java coders are being paid less by Anonymous Coward · · Score: 0

      ok what ARE you talking about i made close to $350 this year

  95. Java replacing all scripting languages by stephensiu · · Score: 1

    Java is (will be) successful in 2 areas. 1) Eventually replacing most script languages. JSP is really ASP using Java instead of JavaScript/VBScript. The convergence will come as more specialized packages come out for Java. 2) Eventually become the adcamemic language of choice. It is so easy to use it to teach OO. It will replace Pascal, Ada, Mod3, ...

    Java will remain a script-type language. Script languages can do a lot these days but it is hard to replace C/C++ for high performance applications. There are a few problems with its speed. Java is hard to optimize beyoud tuning algorithms. It is not as easy to know what exactly the JVM is doing (now with JIT and HotSpot) to the bytecode. It is still valuable to look at assembler at times to know how to tune C/C++ code. It is also hard to tune memory usage which turned out to be the bottle neck for many high performance apps. A good garbage collector is hard to write and even with one it still will never beat good alloc/free or even new/delete.

    It is also simple minded to think that OS/Runtime and language can be totally decoupled and still perform well. OS designers have a set of languages in mind and language designers have some OS specific features in mind. To make Java as fast as C, you will need a Java-specific OS or Java chip.

  96. Template processing in Perl by Anonymous Coward · · Score: 0

    Just an aside. This is easily done with Perl. In fact you can read in a template .html file and eval it with something like.

    $info_str = read_file("template.html")

    $eval_str = "print \"$info_str \" ; " ;
    eval $eval_str;


    Then any variables embedded in your html template are replaced with variables that exist in your script. If they do not exist then they disappear in the output.

    Note: You might want to be careful and be sure that no user supplied input will find its way into a eval'd variable. If unsure write a simple switch reg exp and use symbolic references for variable replacement instead.

    I agree with the webmacro guy that removal of html within your code is paramount for flexibility and maintainability.

  97. fud... by Pengo · · Score: 1

    As for those of you that say making Java a GPL product would fork it to death, then why has this not happened for example with the Linux kernel? Think about it. If Java was GPL it might have been using CORBA from the start instead of RMI and it might bind to OpenGL instead of it's own Java3D. In fact you might have Open OS's intigrating Java into themselves in such a way that the VM becomes part of the kernel.


    Dude, you can use OpenGL and Corba??
    You really should give Java a chance if you haven't, I believe it would surprise you. I have only been working with it at work for about 3-4 months, but I have fallen in love with it. Probably my favorite language. (By far my favorite for Internet backend applications..)

  98. Question regarding JSP vs. WebMacro by Anonymous Coward · · Score: 0
    Thanks for the informative information regarding the MVC approach to servlet design. As a long time java programmer -- but new to servlets -- I am starving for good ideas/advice in this area.

    My question is regarding your warnings about JSP. I not sure I understand the design differences between JSP's and the WebMacro approach. Is it that the latter is simpler to use than java?

    I haven't used JSP's yet, so please forgive me if I'm missing something obvious.

    BTW, another article along the same lines is Design Java servlets with the Delegation Event Model.

  99. Thats garbage, pure and simple by Anonymous Coward · · Score: 0
    Once you work in programming for a while you'll realize that there isn't ANY single tool that "makes all other obselete".

    Java is a good tool for server-side development where code reuse and maintainability are more important than performance, but there are many areas where it simply won't make a dent, for example, text-handling; until some whiz-bang future version of HTTP replaces HTML text streams with binary data, perl is still the best way to process text, and hence HTML. I can show you regular expressions that you would be hard pressed to fit into ten lines of Java.

    Added to which, Pascal and Ada aren't considered "scripting" languages...in fact, outside of Delphi, Pascal simply isn't considered.

  100. perl supports compile-time checking by Anonymous Coward · · Score: 0
    perl supports compile time and run time checks.

    why do I even bother? maybe 10% of the people in here have a enough of a clue to be even posting comments.

  101. Please moderate this up ! by Anonymous Coward · · Score: 1

    You are hearing these words from a Java sceptic. I have been developing in ANSI C and Assembler (6502/Z80/x86) for six years, in C++ for 2.5 years and started recently using Perl and PHP. My previous employer has send me to a 14-days Java training (at SUN), so I know a little bit about the language, but I have not yet implemented any real-world applications.

    During the last two years, I considered learning and migrating to Java, but the poor quality of both class libraries and any given JVM as well as the failure of Java client side applications and applets shrugged me off.

    The recent migration of Java to the server side gave me the impression of being a very desperate retreat, and it looked like a last chance for a language/solution searching for a problem.

    However, some postings in this thread, and especially your rather convincing piece of text, make me reconsider my thoughts. From quite a lot of projects I have learned that programmer productivity is maybe the most important and also the most expensive aspect of SW development. Many problems and delays can also be traced back to poor encapsulation and direct usage of global variables/data structures or class variables. This is the point where "clean" OO-Languages might help. It should also be considered that shortage of man power leads often to employment of not very talented and/or experienced developers who are simply overtaxed writing clean and stable C/C++ code.

    Java is definitely at least a magnitude slower than well designed C++ code. But trading this loss of speed against a (huge ?) decrease of development time and an increase of stability makes a lot of sense. It is often much cheaper to spend an additional 100k $ on faster hardware if you can cut development time by only a couple of weeks, especially if your application also gains stability and portability.

    I appreciate that you directly adress some of Java's current problems. But you also made clear that the edit/compile/link/run cycle of Java is much faster. This (sometimes lengthy) cycle can be a very important and often underevaluated reason for low productivity.

    To cut it short: It got the impression that it might be too early to write Java completely off. I will get an IDE, probably JBuilder, (Yes kids, IDEs are much better than stone-age tools like emacs/make !) and start doing some server side development during the next weeks. Hope this will rock !

    Jürgen Friedrich
    AGFA Gevaert AG
    Research & Development, Simulations
  102. Yes, WORA useless on servers by Anonymous Coward · · Score: 0
    The WORA folks generally overestimate how often real projects switch up their hardware.

    Its nice that Java is portable, but lets face it, Perl and Python are just as portable in any way that counts. This isn't anything new.

  103. Perl by Anonymous Coward · · Score: 0

    I've done that many times with Perl, Perl/TK

  104. Re::) by Anonymous Coward · · Score: 0

    BSDers think is worthy of support? My network card is supported by only *one* free OS. Guess which?

    Linux? Nope.
    FreeBSD? Surely you jest

    It's OpenBSD. Guess which one I use?

  105. Re:weak Java Horror Story . by Brasidas · · Score: 1
    Huh. Some horror story. I was expecting stories of big software failures etc, but just a meandering mish-mash of complaints, more against the software industry as a whole than against Java. A few examples:

    So people put ads in papers looking for experienced J2EE people when J2EE is hardly defined. Er, this is a criticism against the ad poster, not Java. And since when is this solely a Java problem? Got 6 years C++ exp. but only 6 mos. of COM? Sorry, buddy - we need real COM exp (even though the spec is how old..?)

    Then there's an odd comment that since IT managers are skeptical of Linux because it relies on beta software, they should also be afraid of Java. I'm not sure what to make of this comment - it seems to confuse beta software with the idea of the moving target of a quickly changing standard. Yet in a previous paragraph he states that the J2EE spec was standardized already. Anyway, agree that the software industry moves *very* quickly, but since when is only revolving around Sun?

    Read the second to last paragraph: all about cross platform differences, changing and poorly documented spec, market hype, problems because of a general platform for everyone that's good for no one.

    I don't know about you, but Windows Everywhere came to mind, Windows 3.1, NT, 2000, CE. Probably Mr. McAllister could've dusted off an old article complaining about Microsoft, ran a 'find/replace' with Java, tossed in some J2EE, and voila, a new article..

  106. Jacl by Mornelithe · · Score: 1

    According to my bookmarks, Jacl is at www.scriptics.com/products/java/, for anyone who is concerned about it that is.

    --

    I've come for the woman, and your head.

  107. Stand Alone apps by monk · · Score: 1

    My company rolled out a brand new system a year ago that's feeding about 1 million to a million and a half cattle every day. It's written in Java. It runs on laptops running windows 95 or 98, servers running Linux, stand-alone, peer-to-peer and in wireless X client configurations. And you don't get any more mission critical than calling feed for cattle.

    It also includes scriptable feed step-up programs using JPython and 3D graphs of consumption.

    We haven't had any cross-platform issues beyond keeping our CLASSPATH set. I've done big C projects and OO C++ systems and I've never seen as clean an OO implementation as Java/RMI allows.

    I don't like everything in the language, but I think it's the best OOP language right now.

    To tell you how much thought went into this and how far this is from being a "fad." This system replaces our original systems which have been in service calling feed for most of the cattle industry since '89. That system is writen in Fortran and runs on DOS.

    Tell me the one again about how this would have been a better product written in 3 dialects of C++ with a CORBA ORB and a Jethro's "syntaxes is us" template library.

    ko ko kurji

    --
    [-- Trust the Monkey --]
  108. I KNEW IT! by Mawbid · · Score: 2
    When I read your post, I just knew I'd come across something that did what you want. Something that translates data structures between languages. Something with a 4-letter acronym where the two middle letters were the same. Xdds? no. Sddx? no. Damnit! I couldn't remember what it was called.

    Now, two days later, I'm looking for something entirely different and my search leads me to a glossary page. That wasn't what I was looking for so I hit back, but for an instant just before the page was erased, I scrolled down and saw it in the corner of my eye:

    WDDX


    --

    --
    Fuck the system? Nah, you might catch something.