The book then branches out into different approaches for incorporating Ajax, which include:
Integrating Ajax into Java ServerPages (JSP) applications
Using Ajax with Struts
Integrating Ajax into Java ServerFaces (JSF) applications
Ajax gives web developers the ability to build applications that are more interactive, more dynamic, more exciting and enjoyable for your users. If you're a Java developer and haven't tried Ajax, but would like to get started, this book is essential. Your users will be grateful.
Steven Olson has been a software developer for 20 years, starting in 1984 with ForTran, Pascal, Basic, and, later, C at a company called Signetics. In 1991, he went to work for Novell, writing C. He began dabbling in Java, and in 1995 was one of the first to join the Java development group at Novell. Since then, he has consulted or worked directly for eight other companies writing primarily in Java. Currently, he works for logoworks.com, where his programming adventures continue.
The animal on the cover of Ajax on Java is a cotton-top tamarin (Saguinus oedipus), a small-bodied monkey characterized by the fan of long, white hair on its head. Tamarins are divided into three groups based on facial hair. The cotton-top is marked by thin hair on its black-skinned face such that its face appears naked. This puts it squarely into the bare-face group, as opposed to the hairy-face or mottled-face group. Tamarins have claw-like nails resembling those of a squirrel rather than flat nails like other primates, which they use to cling, run, and leap through trees. They can do this with great ease due to their size: cotton-tops weigh less than one pound and reach only nine inches in height.
Cotton-top tamarins are found in a small area of northwest Colombia. Their range is bound by the Cauca and Magdalena Rivers and the Atlantic coast; however, they are currently found only in parks and reserves throughout this area. A group of tamarins maintains a fixed territory within its home range, which it chooses based on fruit availability. Other sources of nourishment for the tamarin include insects, plant exudates, nectar, and occasionally reptiles and amphibians. Most groups appear to be monogamous, with only one reproductively active male and female. Cotton-tops, like other members of their subfamily (callitrichines), primarily give birth to non-identical twins. As its scientific name indicates, the male tamarin seems to have an Oedipus complex, yet the mother does not allow this relationship to be consummated.
Not started on Chapter 3 Creating the servlet yet but well not impressed so far. The link to the code www.oreilly.com/catalog/9780596101879 does not work but if it did it might resolve discrepancies in the text. You are given code that will not work until after chapter 3 (but not told this and of course you have to type it in to find out) and then a commentary on the 'callback' function which uses completely different code. I did read the errata before I started, in 6 years did no one else pick this up?
Bottom Line No, I would not recommend this to a friend
Bottom Line No, I would not recommend this to a friend
The book does have some errors but if you have already have a solid foundation of the underlying building blocks of an AJAX solution, those errors will be quite obvious to you. Treat the errors as exercises that test your understanding of the concepts.
I like this book because of the code. I learn best by doing and my mantra is 'see one, do one, teach one.' This book has taken that approach of practical application. Granted, some of the code had to be massaged to work in my admittedly eccentric environment, but overall I was very pleased with the results. This book is not for the weekend warrior or novice. When you pick up this deceptively thin volume, get ready to work. As you work through all of the examples, you can really begin to get a feel for what Ajax can do for you in a Java environment. If you want no code and an easy read, go elsewhere! If you want lots of examples and plenty to keep you busy while you learn, forge on! Kudos to the author for his straightforward approach.
Thanks to the authors for such a way of condensing so much and presenting the topics with the clarity that this book offers. I am new to Ajax but neither new to Java nor Struts. The book provided me with all the basic concepts I needed to understand Ajax, and went beyond that. I have other books on Ajax, none of them so concise and powerful like this. Thanks again.
Sad to say, this book is little more than a code dump, and the code does not run without debugging.
There are no explanations of technologies and concepts that surround Ajax, therefore, given the state of the code, there is not a lot of reason to work through the book. In fact, this is the first computer book that I returned to the seller, simply because I found so little reason to keep it on my bookshelf.
The writing in the introductory chapter gives promise, but as the book progresses the code quickly becomes dense and the organization and writing becomes unacceptably thin. I expected more from O'Reilly.
I finally threw up my hands and surrendered... defeated by the author's rush to publication.
A Brief Review: Ajax on Java: A Good Hands on approach to Ajax using Java and OSS tools.
By Michael A. Davis
Comments about oreilly Ajax on Java:
Steve has done a great job of stacking well known open source tools together in order to implement Ajax enable applications. The step by step instructions often include some of the gotchas you can run up against in implementation.
Ajax on Java is clearly written and rife with examples ready to use. If you are new to Ajax this is a great way to learn it using Java and open source tools.
Ajax on Java is not a Java tutorial and is probably aimed at the intermediate to advanced Java web programmer. Not to worry - any good beginning Java resource can guide you through anything in Steve's book that might be new to you.