Java Extreme Programming Cookbook

  Author:    Eric M. Burke, Brian M. Coyner
  ISBN:    0596003870
  Sales Rank:    296107
  Published:    2003-03-01
  Publisher:    O'Reilly Media, Inc.
  # Pages:    352
  Binding:    Paperback
  Avg. Rating:    5.0 based on 12 reviews
  Used Offers:    21 from $7.78
  Amazon Price:    $23.07
  (Data above last updated:  2008-10-05 06:10:51 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Java Extreme Programming Cookbook
  
Extreme Programming does not mean programming naked while rollerblading down the side of the Grand Canyon. It does mean a new approach to software development that is both radical and common-sense. Unlike many software development methodologies, XP has been accepted quickly because its core practices--particularly code sharing, test-first development, and continuous integration--resonated immediately with software developers everywhere. Instead of impressing developers with a body of theory, XP got programmers to say, "Yeah, that's how I'd like to work." Oddly enough, although most developers turn to Extreme Programming methods in order to code real, hands-on, and extensible projects quickly ("Code comes first"), most books on Extreme Programming insist on focusing on the theory and not the practice. Not the Java Extreme Programming Cookbook. Brimming with over 100 "recipes" for getting down to business and actually doing XP, the Java Extreme Programming Cookbook doesn't try to "sell" you on XP; it succinctly documents the most important features of popular open source tools for XP in Java--including Ant, Junit, HttpUnit, Cactus, Tomcat, XDoclet--and then digs right in, providing recipes for implementing the tools in real-world environments. Each recipe offers solutions that help you put an extreme programming environment together: then provides code for automating the build process and testing. Although the time saved using any one of these solutions will more than pay for the book, Java Extreme Programming Cookbook offers more than just a collection of cut-and-paste code. Each recipe also includes explanations of how and why the approach works, so you can adapt the techniques to similar situations. One of the biggest challenges facing developers today is sorting through the wide variety of tools available form various source and figuring out how to them effectively. The recipes in Java Extreme Programming Cookbook showcase how to use the most important features of these XP tools. Many of these tools are geared towards unit testing, while others are invaluable for continuous integration; with these practical examples, you'll be able to choose the most effective tools to accomplish your goals, then implement them in a cohesive development environment quickly. If you want to set up a test-driven development environment that allows you to focus on writing testable code--now--this book will prove invaluable.
                  Reader Reviews 1 - 13 of 13                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
08-27-05 5 0\1
(Hide Review...)  All around great book!
Reviewer Permalink
I'll keep this short, since I don't think I can say anything not already said. But I just felt like sharing that I loved this book.
(Review Data Last Updated: 2007-04-12 18:03:12 EST)
08-26-05 5 0\1
(Hide Review...)  All around great book!
Reviewer Permalink
I'll keep this short, since I don't think I can say anything not already said. But I just felt like sharing that I loved this book.
(Review Data Last Updated: 2007-04-11 10:21:45 EST)
02-27-04 4 7\8
(Hide Review...)  Great technology how-to, but not a cookbook
Reviewer Permalink
This is an interesting work because while it does have the cookbook format it isn't really a cookbook. The book starts with an introduction to the XP methodology (which is concise and great), and then has chapters on a number of tools (Ant, JUnit, HTTPUnit, XDoclet, Tomcat, etc.). Each of these technology chapters has a number of 'recipes' which are in fact how-to segments about commonly used tasks around these technologies. Now these sections are great and I think anyone looking at these technologies should consider this book a quick and concise way to learn the fundamentals.

That being said the book fails somewhat, and thus the four stars, because it isn't organized in the problem/solution manner of the cookbooks. Most of the chapters are about testing but these are organized around the tool and not the problem. I would have preferred a section on web development that combined information on Tomcat and Ant, and one on web testing that talked about HTTPUnit, JUnit and Ant. In that way the book addresses problem areas without relying on the reader to understand the tool that would address his problem in addition to understanding his problem at hand.

My gripe is not so critical. The content in the book still remains very valuable and if you are looking for a concise how-to in these Java technologies you should have a look at this book.

(Review Data Last Updated: 2007-06-25 19:41:06 EST)
01-08-04 5 3\4
(Hide Review...)  More about the tools you need for Extreme Programming...
Reviewer Permalink
If you are starting out in the Extreme Programming (XP) methodology, you will quickly learn the importance of running continual builds and unit tests of your code. And if that process isn't easy and automated, realistically it won't get done. Fortunately, there are a number of open source tools out there that are commonly used to take care of this. The Java Extreme Programming Cookbook will help you understand what those tools are, how they are used, and how to solve some of your common problems with those tools.

This isn't a tutorial on XP. Instead, it concentrates on the tools you need to make XP work for you and become part of your normal development process. In some ways, a more accurate title for this book would be the Java Extreme Programming Tools Cookbook. The format provides a nice basic introduction to each tool, where you can download it from (as well as where to find the complete documentation), and then a number of problem/solution scenarios from basic install to more complex automation tools.

For instance, let's take one of the tools; JUnit. JUnit is a tool that does unit testing on your code. You define a test class as well as test cases that should either pass or fail. Once you have your test class and test cases set up, you can quickly test your code after making changes to make sure that all the results are still accurate. In XP methodology, you actually write your test cases first, and then write the code to make them pass. In that way, your testing drives your coding. This book will give you the overall information on what JUnit is, how to install it, and how to run it. You then run into a number of situations, such as running tests concurrently, repeating tests, testing naming conventions, and organizing tests into test suites. Using the problem/solution layout of the Cookbook series, it's very easy to get the base information you need to stay productive.

If you are brand new to XP or the tool set, you might be a little lost since it's not a "step-by-step" how-to of each tool. It assumes you either have a small amount of working knowledge, or that you'll supplement your knowledge with the tool's documentation. Still, you can't look up what you don't know, and this book made me aware of some tools I didn't know existed. An experienced user of these tools might also gain a few tricks that they didn't know about, and it might be worth it for those tricks alone.

For Websphere developers, you might find that a couple of these tools aren't necessary. For instance, Websphere Studio does your build for you, so Ant isn't as critical as it would be if you were running a J2EE server such as Tomcat. Also, JUnit integrates directly into Websphere Studio, so it's very easy to run that tool in your environment. Even so, having this book will help you expand your horizons.

Conclusion
If you are a Java developer using the XP methodology, get this book to learn the tools you need to make your build and testing process flow correctly. Even if you don't practice XP, the automated build and testing tools will help you to write better code.

(Review Data Last Updated: 2007-06-25 19:41:06 EST)
11-29-03 5 4\5
(Hide Review...)  Immediately Useful
Reviewer Permalink
I found this book immediately useful. I say immediately because the recipes presented in this book are succinct and to the point. It has already helped me in several consulting assignments.

You don't have to be a die hard believer in all aspects of XP to find this book useful either. If you're a Java developer and you believe in unit testing, this book is worthwhile. It will help you sort through the various tools out there and find the best one for your situation. It will also give you clear explanations and examples of good techniques.

(Review Data Last Updated: 2007-06-25 19:41:06 EST)
11-28-03 5 4\5
(Hide Review...)  Immediately Useful
Reviewer Permalink
I found this book immediately useful. I say immediately because the recipes presented in this book are succinct and to the point. It has already helped me in several consulting assignments.

You don't have to be a die hard believer in all aspects of XP to find this book useful either. If you're a Java developer and you believe in unit testing, this book is worthwhile. It will help you sort through the various tools out there and find the best one for your situation. It will also give you clear explanations and examples of good techniques.

(Review Data Last Updated: 2007-02-20 14:10:43 EST)
10-23-03 4 7\7
(Hide Review...)  Great book if you remember to use it
Reviewer Permalink
This book covers a very similar selection of tools and techniques to "Java Tools for Extreme Programming" by Hightower and Lesiecki, and in a broadly similar way. Both use the currently fashionable idea of Extreme Programming (XP) to attract readers to a collection of short pieces about a bunch of useful tools for Java programming.

The XP stuff is covered quickly at the start, the meat of the book is in the "recipes", which walk you through configuring and using tools such as Ant, JUnit, Cactus etc. to build, unit-test and manage the development of a Java project.

The tools and tips the authors have chosen to include are a good representation of current practice, but I have a few reservations about the organization and structure of the book. My biggest worry is whether the target reader is actually likely to find many solutions. The authors seem to assume that everyone will pore over the several pages of "contents" at the front of the book every time they hit an obstacle, but in my experience they are just as likely to flip through pages or head for the index at the back, neither of which works particularly well. Worse than that, they may never think to look in the book in the first place - the "Extreme Programming" in the title may help it sell, but it's not something that jumps to mind when you are struggling to get Ant to deploy a web application to Tomcat.

That said, I'm glad I've got it, and some of the recipes now have little sticky notes to try and remind me that it's often an unexpectedly good place to look for Java development tips.

(Review Data Last Updated: 2007-06-25 19:41:06 EST)
10-22-03 4 7\7
(Hide Review...)  Great book if you remember to use it
Reviewer Permalink
This book covers a very similar selection of tools and techniques to "Java Tools for Extreme Programming" by Hightower and Lesiecki, and in a broadly similar way. Both use the currently fashionable idea of Extreme Programming (XP) to attract readers to a collection of short pieces about a bunch of useful tools for Java programming.

The XP stuff is covered quickly at the start, the meat of the book is in the "recipes", which walk you through configuring and using tools such as Ant, JUnit, Cactus etc. to build, unit-test and manage the development of a Java project.

The tools and tips the authors have chosen to include are a good representation of current practice, but I have a few reservations about the organization and structure of the book. My biggest worry is whether the target reader is actually likely to find many solutions. The authors seem to assume that everyone will pore over the several pages of "contents" at the front of the book every time they hit an obstacle, but in my experience they are just as likely to flip through pages or head for the index at the back, neither of which works particularly well. Worse than that, they may never think to look in the book in the first place - the "Extreme Programming" in the title may help it sell, but it's not something that jumps to mind when you are struggling to get Ant to deploy a web application to Tomcat.

That said, I'm glad I've got it, and some of the recipes now have little sticky notes to try and remind me that it's often an unexpectedly good place to look for Java development tips.

(Review Data Last Updated: 2007-02-20 14:10:43 EST)
08-09-03 4 5\6
(Hide Review...)  Solid information, compactly presented
Reviewer Permalink
This book contains a set of "recipes" for common, important, non-trivial uses of a bunch of (free!) Java tools. The recipies are combinations of "how to" information and best practice recommendations.

The thing that sticks out most in my mind about the book is that while I already had most of the knowledge contained in it (I've used most of the tools in J2EE projects in the past), that knowledge took a lot of time to figure out along the way. This book like this could have saved me substantial time in setting up a project using these tools.

Extreme Programming appears in the title, but you don't need to be using that methodology to benefit from the contents; nearly all of it is applicable to any project following good software development practices.

I recommend this book very much to anyone wanting to add these tools (Ant, JUnit, Cactus, XDoclet, etc.) to their project.

(Review Data Last Updated: 2007-06-25 19:41:06 EST)
07-03-03 5 2\3
(Hide Review...)  A Treasure Box
Reviewer Permalink
The recipes presented by Burke & Coyner are to the point. After reading through the first 8 chapters, I haven't met a recipe I couldn't immediately see use for in my recent projects.
(Review Data Last Updated: 2006-07-07 10:52:45 EST)
06-30-03 5 4\4
(Hide Review...)  good reference
Reviewer Permalink
Instead of digging through the documentation of your open-source tool, take a look at this book. The first two chapters give an overview of extreme programming (XP), but the rest of the chapters are focused on the tools of XP. Each of the chapters on the tools begin with a brief description of the tool (and I mean brief). The rest of the chapter is sub divided into sections. Within each section, a problem that one might encounter with the tool is introduced, then a solution is proposed and discussion of the solutions follows (with an example).

The tools covered are Ant, Junit, HttpUnit, Mock Objects, Cactus, JunitPerf and Xdoclet. Tomcat and JBoss are addressed in a chapter together. Because of the brevity and focus of the book, probably not everything that you want to know about a tool is mentioned. After you already know why and when to use a tool, this book can help with the how.

The book is a good reference tool and could save someone a lot of time, but look elsewhere for more in-depth explanations.

(Review Data Last Updated: 2006-07-07 10:52:45 EST)
06-25-03 5 3\3
(Hide Review...)  Great way to jump in the XP pool and get wet.
Reviewer Permalink
I like books which get to the point with practical examples and easy to follow explanations of complicated technology. I had dabbled with JUnit and Ant, but wanted to take the next step: test-first development.

The authors obviously have a strong belief in testing. Here is a list from a companion article from the publisher's web site

"Top 12 Reasons to Write Unit Tests"
1. Tests Reduce Bugs in New Features
2. Tests Reduce Bugs in Existing Features
3. Tests Are Good Documentation
4. Tests Reduce the Cost of Change
5. Tests Improve Design
6. Tests Allow Refactoring
7. Tests Constrain Features
8. Tests Defend Against Other Programmers
9. Testing Is Fun
10. Testing Forces You to Slow Down and Think
11. Testing Makes Development Faster
12. Tests Reduce Fear

Any of these ring true with you? They did with me too. I immediately bought the book. I initially wanted to learn about Mock Object's to help build test rigging for a complicated environment at work. After my success, I thought the book would end up on the bookshelf, but, because the book is so approachable and easy to read I found myself exploring other topics (in my case XDoclets and the discussion on XP in general). Check it out. It's a really great (and hands-on) introduction to this technology!

(Review Data Last Updated: 2006-07-07 10:52:46 EST)
06-22-03 5 3\3
(Hide Review...)  Great guide to extreme programming tools
Reviewer Permalink
The Java Extreme Programming Cookbook by Eric Burke and Brian Coyner features more than 100 recipes for using extreme programming tools. The tools covered are the build tool Ant, various testing tools, like JUnit, HttpUnit, Cactus and JunitPerf, and XDoclet. Included is also a chapter about deploying projects to Tomcat and JBoss.
As always with O'Reilly cookbooks the recipies you will find in this book are of great quality and go straight to the point. Even if you already are an extreme programming devotee (and who isn't ;-) you will find a lot of interesting tips.
Especially interesting is the chapter about Cactus. You need to test server side Java code? This chapter gives you a jumpstart introduction to it. You will learn how to set up and configure Cactus and how to write Cactus tests to test session tracking, servlet filters or JSPs.
This book offers a lot of great solutions and should not be missing in any bookshelf.
(Review Data Last Updated: 2006-07-07 10:52:46 EST)
  
                  Reader Reviews 1 - 13 of 13                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)