Java Sucks

Java SucksThough Java can create interfaces that go way beyond the capability of HTML, CGI, and JavaScript. And though the language is extremely powerful and portable, Java still has serious restrictions.

Of particular concern are the security restrictions built into Java such as the fact that Java programs (Java applet specifically) cannot easily write files to the local harddrive or get data from servers other than the ones they came from. While this may make the public more confident about the language (an important thing and perhaps worth the limitations it causes), it makes Java programs fairly useless for the average developer who absolutely needs such capabilities to create full featured applications.

Further, Java programs with a lot of logic take longer to download. If you went to the Gamelan site linked above and tried to run some example Java apps, you certainly found that you had to wait quite a bit for them to download.

Similarly, because the programs run on the client's machine, they do not have access to resources on the server. Thus, a Java program cannot even query simple flat-file databases located remotely without a proxy (some other program working as a helper on the server).

Finally, Java is still a new language. As such, it is plagued by all the bugs, inconsistency and incompatibilities that any new language is faced with. Though Java boasts platform independence, in reality, programs run differently from platform to platform...if they work at all. Further, though programs might be platform independent, they are not browser independent. Each browser, in fact each operating system, has its own buggy virtual machine that produces different output for the same program. Thus, when you distribute a Java program, you can never be sure exactly how it will run, or if it will be run at all.

Though the restrictions of Java are being addressed slowly, the picture looks bleak in the short term (next couple of years) for the Internet developer. Although, code signatures, and other security fixes are arriving, they will still cause complications for the average web developer with regards to centrally storing information and trusting it. Security will be a continuing thorn in our sides.

But even still, if all of the well-publicized inconveniences of Java were solved tomorrow, there would still be issues preventing the average web developer from writing all their web apps with Java. For example, not everyone has a database to program against or can afford the cost of JDBC (Java database connectivity) proxy servers. In fact, it is safe to say that "most" web developers do not have those tools to work with. Typically, Internet Service Providers do not allow customers to run servers of any kind through their account, let alone complicated database servers. Thus, in order to perform database management functions essential to many applications, the average web developer will still need to work with flat files on the server hardware...and this means CGI.

There are also issues preventing the spoiled "intranet" developer from using Java as well. For example, the JDBC standard will not necessarily help in a corporate environment in which some sort of proxy to a real database server may still be needed that can communicate across a firewall with a web server. Not only will Java be blocked by a firewall, but it cannot use standard encryption standards to provide secure, encrypted transactions.

In short, though Java is a profound addition to our toolbox, it is not the answer to all our woes.


Related Articles

  • Platform Independent Client-Side Applications with Java
    That very umph comes with Java. Java was originally developed at Sun Microsystems in 1991 to provide a platform-independent programming language and operating system for consumer electronics (TV sets, toasters and VCRs)...
  • Conclusion: Stocking your Toolbox
    As any good technician knows, there is no such thing as a best tool. The best tool is dependent on a whole host of factors from the type of task at hand to the personality of the marketing director. The best tool is a fantasy. Instead, every web developer should have at her disposal a wide a.....
  • RSS Feed Secrets: Using RSS Feeds For Search Engine Spider Food - Part 1
    This is part one of a two part series. In this part you will learn a little about RSS feeds and how to put an RSS feed on your website or blog using just a simple Java Script. If you would like to see this article in its entirety please visit the link in the authors bio.
  • Take Advantage of Simple JavaScript Optimization
    Coding, anyone? Let Kay Zetkin show you how to reduce redundancies and increase productivity using JavaScript optimization.
  • PHP Introduction
    A short and simple introduction to
  • SEO Blunders - Four Mistakes to Avoid
    There are lots of articles giving you top tips about SEO. Ive actually written a few myself.
  • Great Homepages Really "Suck"
    Where would we be today without vacuums? Think about it: The vacuum is a brilliant invention. It sucks up your household dirt and puts it exactly where you want it to go - off your floor and into that little bag. A successful homepage acts exactly like a digital vacuum - it sucks users in, a.....
  • 3 Reasons To Include AdSense On Content Sites
    The AdSense concept is really simple. The webmaster inserts a java script provided by Google AdSense into their websites. Each time the page is accessed, the java script will pull in advertisements from the AdSense program.
  • Navigation Tricks
    This is the a method that we prefer to use, typically we will use this on all of our pages in one form or another. I feel that it is superior to image maps and JAVA for a few reasons: Low maintainence. Everybody pretty much can figure out what they mean. By using the ALT description- it works ...
  • Using Flash And Java To Create Pop-Ups
    With Flash it is quite common to have a customized pop up window to hold your flash movie. This is almost always done using HTML and JavaScript. Well, what about having buttons in your flash movies that will open customized pop up windows? In this tutorial I am going to show you how to incorpora...

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.