Skip to content
Paperback Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1) Book

ISBN: 0201704293

ISBN13: 9780201704297

Server-Side Programming Techniques (Java(TM) Performance and Scalability, Volume 1)

Written for the working programmer who wants to get more speed out of Java, Java Performance and Scalability, Volume 1 bundles several dozen tips for faster and smaller Java code. Backed up by... This description may be from another edition of this product.

Selected

Format: Paperback

Condition: Acceptable

$3.99
Save $30.96!
List Price $34.95

1 Available

Customer Reviews

5 ratings

An excellent, easy read that I could apply immediately.

This book covers the basics of improving the performance of server side java programs by writing different java statements. I like the fact that it had just the answers, not excessive amounts of padding. I especially liked the chapter on taking an existing, well written java program that was a web server, and optimising it in several stages. The stages were consistent with the optimisations discussed in the preceding chapters which helped put it those chapters into context nicely. The optimisations turned a good web server written in Java into a much faster one, which was good to see.I describe this as a "basic" book on optimisation because the chapter on RMI was rather light, presumably because of the 80:20 rule wereby the biggest gains can be had with the simplest of coding changes. Going into more detail would have made the book thicker so perhaps it was best it was left as it was. There is perhaps an opportunity for someone to write an "advanced" version at some later stage.I'd recommend this book to someone who is an experienced java programmer who wants to make their java programs run quicker. I certainly found it useful in my own java programs.

The solution when you have the need for speed

Amidst all the hype and hoopla surrounding Java these last few years, there has been one constant criticism that has always been raised, namely performance. No matter how cool and cutting edge the technology, at some point the code must execute correctly and at an acceptable rate of speed. These problems are to many the last acceptable reason for not adopting the language for their development projects. As the author so effectively points out, some basic knowledge of what is going on behind the scenes can make an enormous difference in the speed of execution. Sometimes, simple changes can double the speed of the program and there are many such examples of improvements even better than that in the book. What I really liked were the simple bar charts clearly describing the performance consequences of the changes. The trend in the development of programming languages over the last several years has been to optimize the speed of code development by encapsulating complex computations inside simple method calls. While this is certainly sensible, at times the gain in programmer productivity is at the expense of program efficiency. In pointing this out and suggesting remedies, the author demonstrates his good sense, although I do have some slight disagreements with some of the positions. No one can possibly disagree with the 80/20 rule where 20 percent of the code is executed 80 percent of the time so that you should concentrate optimization efforts on that section of the code. However, his contention that the remainder should be ignored should have been qualified. There is a substantial range in the amount of time the various sections of the remaining 80 percent of the code are executed. Given this, as well as the fact that some optimizations yield a factor of 10 or more increase in speed, it is very possible for the optimization of some of those sections to be cost effective. The other point is that optimizing should wait until the code is created and proven inefficient before it is done. This is certainly reasonable, as increases in efficiency are often bought at the expense of code generalization. My slight point of difference is that the methods of optimization should be learned and considered throughout the development cycle. For once an inefficient system is built, it can prove very difficult to make the required optimizations. That point is most clearly demonstrated in the presented example of the simple optimization of having a web server compute a new date periodically. This date is then used until the designated time unit expires rather than compute a new one for every request. A common problem with web sites is that improperly constructed ones do not scale well, which has led to many well-publicized failures. If optimizations like this are understood and incorporated into the basic design, then the performance under unanticipated stresses could remain tolerable. I have long had a reputation as an

A must for Advanced Developers.

Books on how to write code in Java are ten-a-penny now. Until a new version of java comes out, we don't really need anymore. What we do need though, are more books like this.If anyone using Java across a network, using either servlets or EJBs, there is a dearth of information. There are a couple of excellent goods on how to get going but little opportunity to broaden the scope once the basics of these technologies have been covered.This book is a very welcome addition to the Java Server-side bibliography. The information on optimisation and increasing efficiency of communication contains a lot I haven't come across elsewhere.For anyone who already has a copy of (for example) 'Inside Servlets' or 'Mastering EJBs', this is an extremely useful volume for consolidating the skills gained from them.Java has an often justified reputation for being slow but often it is the result of its not being applied in the best way. The demonstrations of how to optimise code (and to quantify those benefits) make this book an invaluble weapon for advanced and serious developers.

A must

This book presents several performance tunnig tips to real word java programs and programmers. Chapter covering Servlets performance is a must read for every servlet developer.

Professional Java programmers must read this book

I was very skeptical when I picked up this book, because most authors on Java performance don't seem to have actually tested their theories. Dov Bulka, however, has included charts demonstrating actual performance gains. He's also shown how some kinds of purported optimizations _don't_ have a measurable effect, which is an excellent way of knowing what to avoid.The author never compromises software engineering or program correctness in the pursuit of performance. His suggestions are practical and applicable to a wide variety of programs. The book is also well-written, clear, and a joy to read.As the subtitle says, it's primarily about server-side processing. It's not going to tell you how to scroll tables faster, nor is it going to tell you to use a quicksort instead of a bubble sort. Still, every Java programmer should know how this author goes about working with Java performance, because it's a great framework for making improvements.The book claims to be volume 1. I'm really looking forward to volume 2.
Copyright © 2022 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell My Personal Information | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured