• Complain

Eric M. Burke - Java Extreme Programming Cookbook

Here you can read online Eric M. Burke - Java Extreme Programming Cookbook full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2003, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Eric M. Burke Java Extreme Programming Cookbook

Java Extreme Programming Cookbook: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Java Extreme Programming Cookbook" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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, thats how Id 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 doesnt 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, youll 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.

Eric M. Burke: author's other books


Who wrote Java Extreme Programming Cookbook? Find out the surname, the name of the author of the book and a list of all author's works by series.

Java Extreme Programming Cookbook — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Java Extreme Programming Cookbook" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Dedication

For Jennifer, Aidan, and Tanner

Eric M. Burke

For Mom and Dad

Brian M. Coyner

[]
[]
buildfiles
Tomcat
unit testing
[See web applications]
arguments
assert methods
attributes
authentication
[]
block tags (XDoclet)
build directory
Ant
tags
targets
builds
[]
classpaths
coding
configuration
content tags (XDoclet)
conventions
cookies
[]
databases
definitions
dependencies
deployment
deployment descriptors
development
approaches
directories
[See mock objects]
[]
EJBs (Enterprise JavaBeans)
environment variables
[See also exception handling]
exception handling
[See XP]
[]
forms (HTML)
[]
[See XDoclet]
[]
HTML
forms
[]
installation
interfaces
[]
JAR files
JDBC code
JSPs (Java Server Pages)
methods
test cases
JUnitPerfDoclet
[]
[]
[See buildfiles]
methods
assert
testing
mock objects
JDBC code
[]
naming conventions
[]
[See mock objects]
open source tools
[]
parameters
passwords
[See also classpath]
performance
principles
principles of XP
printing
properties
system
[]
[]
reports
[]
servers
simplicity
source code
Ant buildfiles
web applications
Swing
syntax
system properties
[]
[]
tables
tags
Ant buildfile
Tomcat
tasks
test cases
[See test cases]
test suites
[See also JUnit; unit testing]
methods
[See principles]
Manager application
web applications
[See also open source tools]
[See also unit testing]
[]
[See UML]
Ant
JUnit
usernames
[]
version control
[]
WAR files
[See also Cactus]
web pages
web sites
WebForm class
[]
XDoclet
EJB files
EJB interfaces
template files
xdoclet.xml files
XML files
XP (Extreme Programming)
1.1 Java and XP

XP is a set of . The four XP principleshave nothing to do with programming languages and tools. Althoughthis book shows a set of Java tools that work nicely with XP, you arenot limited to Java and these tools. XP is a language-independentsoftware development approach.

[1] Check out http://www.agilealliance.com to learn moreabout agile processes.

While XP works with any language, we believe it works well with Java fora few reasons. Most important is the speed with which Java compiles.XP relies on test-first development in which programmers write testsfor code before they write the code. For each new feature, you shouldwrite a test and then watch the test run and fail. You should thenadd the feature, compile, and watch the test run successfully. Thisimplies that you must write a little code, compile, and run the testsfrequently, perhaps dozens of times each day. Because Java compilesquickly, it is well suited to the test-first approach.

The second reason Java is a good choice for XP development isJava's wealth of tools supporting unit testing andcontinuous integration. JUnit,the premier build toolfor Java, makes continuous integration possible even when workingwith large development teams. You will also find more specializedtesting tools such as Cactus and HttpUnit for server-side testing.

Java's power and simplicity also make it a goodlanguage when writing code using XP. Many features of the toolsoutlined in this book, such as Ant tasks and JUnit'stest suites, are built upon Java's reflectioncapability. Java's relatively easy syntax makes iteasier to maintain code written by other team members, which isimportant for XP's concepts of pair programming,refactoring, and collective code ownership.

1.2 Tools and Philosophies

Creating greatsoftwareis an art. If you ask a dozen programmers to solve a particularproblem, you are likely to get a dozen radically different solutions.If you observe how these programmers reach their solutions, you willnote that each programmer has her own favorite set of tools. Oneprogrammer may start by designing the application architecture usinga UML CASE tool. Another may use wizards included with a fancy IDE,while another is perfectly content to use Emacs or vi.

Differences in opinion also manifest themselves at the team andcompany level. Some companies feel most comfortable with enterpriseclass commercial tools, while others are perfectly happy to buildtheir development environment using a variety of open source tools.XP works regardless of which tools you choose, provided that yourtools support continuous integration and automated unit testing.These concepts are detailed in the next chapter.

Picture 1

We are very skeptical of the term"enterprise class." Thistends to be a marketing ploy, and actually means"the features you really need,"such as integrated support for free tools like JUnit, Ant, and CVS.

1.2.1 The IDE Philosophy

Many

[2] XDoclet allows you to generate any kind of code and thus workswith any application server.

This book does not cover commercial development environments andtools. Instead, we show how you can use free tools to build your owndevelopment environment and support XP practices. Perhaps in a signof things to come, more and more commercial development environmentsnow provide direct support for the open source tools covered in thisbook. With free IDEs like Eclipse and Netbeans growing in popularityand functionality, you will soon be hard-pressed to justify spendingthousands of dollars per developer for functionality you can get forfree.

[3] Both authors use IntelliJ IDEA, a commercialIDE available at http://www.intellij.com. Although it costsaround $400, we feel its refactoring support easily adds enoughproductivity to justify the cost.

1.2.2 Minimum Tool Requirements

Regardless of whether you choose to use open source or commercialtools, XP works most effectively when your tool selection supportsthe concepts mentioned at the beginning of this chapter. These threeconcepts are automation, regression testing, and consistency amongdevelopers.

1.2.2.1 Automation

XP requiresautomation. In an XP project,programmers are constantly pairing up with one another and working oncode from any given part of the application. The system is coded insmall steps, with many builds occurring each day. You simply cannotbe successful if each programmer must remember a series of manualsteps in order to compile, deploy, and test different parts of theapplication.

People often talk about "one-buttontesting" in XP, meaning that you should be able toclick a single buttonor type a simple command like ant junit inorder to compile everything, deploy to the app server, and run alltests.

Automation also applies to repetitive, mundane coding tasks. Youincrease your chances of success by identifying repeating patternsand then writing or using tools to automatically generate code.Automation reduces chances for human error and makes coding moreenjoyable because you don't have to spend so muchtime on the boring stuff.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Java Extreme Programming Cookbook»

Look at similar books to Java Extreme Programming Cookbook. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Java Extreme Programming Cookbook»

Discussion, reviews of the book Java Extreme Programming Cookbook and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.