Skip to Content
Web Performance Tuning, 2nd Edition
book

Web Performance Tuning, 2nd Edition

by Patrick Killelea
March 2002
Intermediate to advanced
482 pages
16h 11m
English
O'Reilly Media, Inc.
Content preview from Web Performance Tuning, 2nd Edition

Chapter 21. Java

Java has become the standard language for writing server-side applications, and for good reason. Let’s take a look at Java performance and the Web.

Java Will Never Be Good Enough for GUI Applications

Netscape tried to rewrite its browser in pure Java and failed. Corel tried to rewrite Word Perfect in Java and failed. The HotJava browser was unbearably slow. Most Java Development Environments are not written in Java. In fact, there are no successful commercial Java GUI applications as far as I know. The variability of clients is too great to allow enough optimization, and virtual machines (VMs) are too big to be quickly loaded and started on demand. This does not mean that there were no successes with Java on the client side. For example, there are applets that display continuously updated stock quotes that are quite useful and effective, but this is because they are very small.

Note that the DOM extensions to HTML now make most things you can do in Java possible from a non-Java browser, such as fractional downloads, 3-D graphics, column sorting, etc. In summary, if you can possibly use HTML in a browser for your GUI, is would be unwise to write an applet or application to do the same thing at greater expense and lower performance. In fact, Java is no longer a standard component of the Netscape and IE browsers.

Java Is Good Enough for the Server Side

On the other hand, Java has been a great success with corporations doing server-side development on cheap Linux or ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Performance Tuning

Web Performance Tuning

Patrick Killelea
Special Edition Using® Crystal Reports® 10

Special Edition Using® Crystal Reports® 10

Neil FitzGerald, Ryan Marples, Naisan Geula, Bob Coates, James Edkins, Michael Voloshko, Joe Estes, Kathryn Hunt, Steve Lucas, Roger Sanborn
ScreenOS Cookbook

ScreenOS Cookbook

Stefan Brunner, Vik Davar, David Delcourt, Ken Draper, Joe Kelly, Sunil Wadhwa

Publisher Resources

ISBN: 059600172XErrata Page